We have a form outline that is defined in the autohandler. ARGS are passed
through the autohandlers. One module, called View_Loop.html, calls another
module like this:
<A
href="Loop_Attributes/View_Image.html?shot_id=<%$shot_id%>&request_i
d=<%$request_id%>&gimbal_id=<%$gimbal%>&normalize=<%$normalize%>&colorize=<%
$col
orize%>&overlay=<%$overlay%>&shot_start_date=<%$shot_start_str%>&shot_end_da
te=<
%$shot_end_str%>">
View Full Size
</A>
The problem becomes, if I try to modify the form elements on the
View_Image.html page, they won't update, and the URL doesn't change. If I
change the URL, then the change will take effect. If we go to
Loop_Attributes/View_Image.html directly, the form works fine. So there
must be something sticky in the autohandler, I think. The autohandler looks
like this:
<FORM NAME=thisForm method=POST>
% my ($dbh_arc, $dbh_iccs, $dbh_oi) =
$m->comp("$web_base/templates/dbhandles",
db_swimlane=>$db_swimlane);
<TABLE BORDER=1 CELLPADDING=5 WIDTH="100%">
<TR>
% if ($ARGS{printFriendly} == 0) {
<!-- left row. Displays secondary menu options -->
<TD VALIGN=TOP BGCOLOR="#EEEEEE" >
<& "$web_base/templates/mainmenu", web_base=>"$web_base", %ARGS &>
</TD>
<TD WIDTH="100%">
<CENTER>
% } else {
<TD COLSPAN=2>
% }
<& SELF:print &>
<!-- workarea. Displays page content -->
<% $m->call_next(%ARGS, default_confidence=>$default_confidence,
default_data_type=>$default_data_type,
dbh_arc=>$dbh_a
rc,dbh_iccs=>$dbh_iccs, db_swimlane=>$db_swimlane) %>
</TD>
</TR>
</TABLE>
<input type=hidden name='printFriendly' value=0>
</FORM>
I do kind of want the ARGS to pass through, but something is sticky in this
case, which we don't like.
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users