This sounds like it's an issue of not having an ActionContext. I'm not
sure yet what the best solution is, though ;-)

> -----Original Message-----
> From: Toby Hede [mailto:[EMAIL PROTECTED] 
> Sent: Sunday, June 08, 2003 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [OS-webwork] WW2 - accessing request parameters
> 
> 
> ok, getting there slowly by slowly.
> 
> i cannot access request parameters unless i feed control directly 
> through an action, which defeats the purpose of using the 
> 'action' tag 
> by itself to 'pull' the action. i am trying to create a form 
> to edit a 
> db item - i am pulling the content in from the db when the page loads 
> and populate the form.
> 
> running through an action is OK, i guess, but why is this the 
> case? ... 
> i am sure that in the old webwork one could access request parameters 
> through tags without having to explicity call an action.
> 
> or i am making this up?
> 
> could be the case ... its 2am on the queen's bday holiday and 
> i should 
> have better things to do :).
> 
> 
> 
> Toby Hede wrote:
> > how does one access request parameters in the new WW2 expression
> > language? i am trying to pass a reuest parameter to an 
> action using the 
> > action tag.
> > 
> > i have the following where id is a query string parameter 
> and db.read 
> > is
> > an action that reads the database using the id.
> > 
> >   <ww:action name="db.read" id="reader">
> >     <ww:param name="id" value="@/#/$/?id"/>
> >   </ww:action>
> > 
> > 
> > 
> > 
> > -------------------------------------------------------
> > This SF.net email is sponsored by:  Etnus, makers of TotalView, The 
> > best thread debugger on the planet. Designed with thread debugging 
> > features you've never dreamed of, try TotalView 6 free at 
> > www.etnus.com. _______________________________________________
> > Opensymphony-webwork mailing list 
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> > 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:  Etnus, makers of 
> TotalView, The best thread debugger on the planet. Designed 
> with thread debugging features you've never dreamed of, try 
> TotalView 6 free at www.etnus.com. 
> _______________________________________________
> Opensymphony-webwork mailing list 
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
> 


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to