struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Nesbitt <scottnesb...@yahoo.com>
Subject S2: Simple way to pass data
Date Wed, 11 Apr 2007 14:28:54 GMT

In my app I have need menu items at the top of every
page that are links do other pages.  I also need a
common date and dropdown selection on most pages.  My
challenge is how to componentize the date/dropdown
selection so it can be re-used on each page, and then
get the data passed to the action class.

I would prefer not to have two ways to get data from
the screen to my action class: 

1) pass parameters from rewriting the href link

2) auto-populating the variables when a button in the
form is clicked

I do not know how to have a common way to do this, but
hopefully I have overlooked something simple.

Does anybody have suggestions or pointers?

Thank you,

Scott


       
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message