You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Angelo Chen <an...@yahoo.com.hk> on 2007/10/24 12:02:09 UTC
T5: using Select with ajax
Hi,
I have a Select for the list of states in a form:
<input t:type="select" t:id="state" model="''" />
the model is empty because it will be populated in an Ajax call. When the
form is rendered, it has following:
<select id="state" name="state" type="text"><option value=""></select>
Is there a way that I can insert <option selected="selected" value="NY">New
York</select> in the class before it's rendered?
or there is any other solution to this kind of problem?
Thanks.
--
View this message in context: http://www.nabble.com/T5%3A-using-Select-with-ajax-tf4683404.html#a13382785
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org