You'll need to encode your arguments as a url query string and append
them to the path. But if 'current' is the current request, you can
get a whole Maypole request object for it inside
/camera/select_snapshot from $ARGS{request}->{parent}
d.
On 21 Sep 2004 at 8:29, Brian Glass wrote:
> I'm using Maypole::Component (in conjunction with HTML::Mason) and
> wondering if there is any way to pass a value to a component call.
> Something like:
>
> <% $request->component( "/camera/select_snapshot", current =>
> "http://localhost/person/get_snapshot/1" ) %>
>
> Unfortunately the value passed for "current" never seems to get there.
>
> _______________________________________________
> maypole mailing list
> maypole at lists.netthink.co.uk
> http://lists.netthink.co.uk/listinfo/maypole
-- Dr. David R. Baird Riverside Content Management Systems http://www.riverside-cms.co.uk_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:56 GMT