Hi, I am trying to do a dynamic select box.
Therefore, I create an ArrayList, containing Beans with my properties.
Then I want to create a select box with one of those properties.
What works is to simply print the mo value of my ArrayList:
logic:iterate id=AemGroupBean collection=%=werkeList%
]
de Kopie:
Thema:iterate tag and html:option
a getMo().
-Original Message-
From: Marcus Biel [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, October 15, 2002 4:13 PM
To: [EMAIL PROTECTED]
Subject: iterate tag and html:option
Hi, I am trying to do a dynamic select box.
Therefore, I create an ArrayList, containing Beans with my properties
Yes, this was just a typo. :-
Would be much easier then! ;-)
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Sorry, can't follow you exactly.
What's that???
type={the class that aem represents with complete package ex.
'com.mypack.AEM'}
and:
1. AemGroupBean is not the Form, AemGroupBean is just one of thousand
beans containing one data record each.
2. AemGroupBean hasn't got a getWerkeList() but is
]
de Kopie:
Thema:Re: Antwort: iterate tag and
html:option
I also found this solution:
html:select property=werkAuswahl
html:options collection=werkeList property=mo/
/html:select
But it throws the error:
Cannot find bean under name org.apache.struts.taglib.html.BEAN
(Same Error Wendy got)
marcus
--
To unsubscribe, e-mail: mailto:[EMAIL
:
Thema:Re: Antwort: iterate tag
and html:option
15.10.02 13:29
Bitte antworten
an Struts Users
Mailing List
Yes, this was just a typo. :-
Would be much easier
8 matches
Mail list logo