What does the generated HTML source look like?

Frank Schaare wrote:

Sorry, i wrote that example right out of your mind.
<html:optionsCollection/> is nested inside the <html:select>

that is not my problem.
Jeff Beal schrieb:

The <html:select/> renders an HTML <select/> element.
The <html:option/> renders a single <option/> element
The <html:optionsCollection/> renders several <option/> elements.

<html:option/> should not contain <html:optionsCollection/>, both should be included inside of an <html:select/> tag:

<html:select>
 <html:option>...</html:option>
 <html:optionsCollection/>
</html:select>

-- Jeff

Frank Schaare wrote:

<html:option name='actionForm' property='whatever' value=''>please select ...
<html:optionsCollection name='fomularBean' property='states'/>
</html:option>


Now, i deployed my app in Tomcat 4.1.30 (Linux) and all my selects are useless ! All values are rendered in the first option like:
please select ...GermanyFranceUSAItaly etc.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to