If you're trying to display lists of data, I don't think action
_chaining_ is the best choice. The possible choices are:

1) provide a static method that returns the value, and then use the
expression "@[EMAIL PROTECTED]()" in your ww:select tag

OR

2) use the <ww:action/> or <ww:bean/> tags, and then refer to the data
in there. For example:

<ww:action name="'DateGen'" id="dg"/>
<ww:select ... list="#dg.dates"/>

The above example calls DateGen.execute() followed by DateGen.getDates()

-Pat

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Francisco Hernandez
Sent: Friday, November 21, 2003 9:27 AM
To: [EMAIL PROTECTED]
Subject: [OS-webwork] example of chaining actions together to provide
lookup lists

i want to use a action chain to provide lists of data (like a list of 
countrys/states/etc for use in a select) to my actions.

its described here but theres no example i can understand,

http://wiki.opensymphony.com/space/Webwork+-+Why+would+I+use+Action+Chai
ning%3F




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to