struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@lexmark.com
Subject Re: Select box in logic:iterate
Date Thu, 25 Apr 2002 16:15:06 GMT


I do this.  Do you want to create the options from your beans, or are they like
"yes" and "no"?

To create them from beans, you will need a collection of beans, each of which
has the properties for the text fields, a property for the *selected* option,
and a collection for the options.

Then you just iterate through and set the name of the select box to the selected
option, and use the collections for the options tag.

Cheers,

Dave





Raghavendra Anahosur <ranahosur%yahoo.com@interlock.lexmark.com> on 04/25/2002
02:29:02 AM

Please respond to "Struts Users Mailing List"
      <struts-user%jakarta.apache.org@interlock.lexmark.com>

To:   struts-user%jakarta.apache.org@interlock.lexmark.com
cc:    (bcc: David Hay/Lex/Lexmark)
Subject:  Select box in logic:iterate



Hi,

I want create a screen whose rows will be dynamically
generated and each row contains text boxes and select
boxes. I am facing problem in writing the property
attribute for select box within the logic:iterate.
Could someone tell me where I can get help from?
Thanks in advance,
Raghu.

__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/

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








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


Mime
View raw message