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

Matt Disney mdisney at ecdev.fedex.com
Mon Sep 17 18:11:06 EDT 2001


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




More information about the rt-users mailing list