[rt-users] Simple Mason Question (maybe): Arguments

Jesse Vincent jesse at bestpractical.com
Mon Sep 17 21:15:06 EDT 2001


how about <%$ARGS{'Queue'}%>    ? ;)

On Mon, Sep 17, 2001 at 05:11:06PM -0500, Matt Disney wrote:
> All,
> 
> This is really a mason question I believe, but I haven't yet been
> able to work it out... even with referring to the mason docs.
> 
> I have a very short test RT mason page, below is the code:
> #######
> <& /Elements/Header, Title => " Test Page " &>
> 
> % if ($ARGS{'Queue'})
> % {
> Queue: <? $ARGS{'Queue'} ?> 
> % } else {
> No Queue
> %}
> 
> <& /Elements/Footer &>
> ########
> 
> I am trying to grab arguments from a POST or GET. If I include 
> "?Queue=VALUE" on the URL (http://.../NoAuth/test.html?Queue=2)
> the if tests positive for the Queue argument but then displays
> no value for the argument itself.
> 
> Is there something simple I'm missing?
> 
> Any help would be appreciated.
> 
> Thanks in advance (and sorry to be a bother!),
> 
> Matt Disney
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list