Yes, it should work .any way are you using something similar to below,

<html:select property="prop1" name="YourForm" styleClass="yourstyleClass"
        
style="width:100">
        <html:options collection="propFortheCollection" property="id"
        
labelProperty="name" />
</html:select>

where user changes the "propFortheCollection" ..

Regards,
Mano

-----Original Message-----
From: Endre Nagy [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 16, 2006 6:31 AM
To: user@struts.apache.org
Subject: Is the setter for an OptionsCollection's property invoked by the
framework

Greetings

I am using the Struts HTML library in a jsp. 

Specifically I am making use of a html:optionsCollection.

The client alters the content of the collection.

I therefore implement a setter for the property that is associated with the
collection within the Form class.

The struts framework does NOT appear to invoke the setter of the property in
the form class after the client posts the page.

Is this expected behaviour or am I doing something silly

Regards

Endre 

---------------------------------------------------------------------
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