OK Fine - I am not asking for the args to be seen in body.html. I want them in index.html but they are lost. Clearly the mason framework knows the path of the chain bc it correctly calls all the components - just not with the args...
On 1/17/07, brett gardner <[EMAIL PROTECTED]> wrote: > Thats because "/include/body.html" is not in the chain. You called it > manually by doing > > <& /include/body.html &> > > the chain is > > /autohandler -> /index.html > > Mark Elrod wrote: > > This may work around the issue but it seems silly to have to manually > > remember to pass the %ARGS to every single possible branch in the > > autohandler chain > > > > On 1/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > >>> I access a page /index.html?foo=bar which has args like: > >>> > >>> <%args> > >>> $foo > >>> </%args> > >>> > >>> and I have an /autohandler that does this: > >>> > >>> <& /include/body.html &> > >>> > >>> and then inside /include/body.html do this: > >>> > >>> $m->call_next; > >>> > >>> The /index.html page does not see the args and I get: > >>> > >>> Error: no value sent for required parameter 'foo' > >>> > >>> If I replace the component call <& /include/body.html &> in > >>> autohandler with a direct call to $m->call_next; then it works. > >>> > >> You should also be able to get your desired results by passing your > >> arguments explicitly; instead of > >> <& /include/body.html &> > >> use > >> <& /include/body.html, %ARGS &> > >> > >> -J > >> > >> > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Mason-users mailing list > > Mason-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/mason-users > > > > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mason-users mailing list Mason-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mason-users