Hi, you could put (in the tml) a zone in each combo.
Then in the onSelected event put the necessary code to update the other
combos.
<t:form t:id="formularioselect">
<select t:type="select" t:id="select_1"
model="model" encoder="encoder" value="value"
t:zone="selectZone" />
</t:form>
<div t:type="zone" t:id="selectZone" class="selectform" >
<t:form t:id="formularioselect2" >
<select t:type="select" t:id="select_2"
model="mdoel2" encoder="encoder2" value="value2"
t:zone="selectX"/>
</t:form>
</div>
Then on the .java put your code in :
public Object onValueChanged(Object o){
Get the first object, put data in the second one
}
Regards
--
View this message in context:
http://tapestry.1045711.n5.nabble.com/Dynamic-combo-box-Tapestry-5-2-2-tp3379129p3379148.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]