add(new FormComponent("staticselect", new PropertyModel(this,
"countryname")) {});

<select wicket:id="staticselect"><option ....

ought to do it

-igor

On 6/20/07, Toscano <[EMAIL PROTECTED]> wrote:


Hello,

I'm working in a very big project with Wicket, but we have a huge form
with
more than 20 dropdown lists whose content is loaded from database. This
makes the form loading very slow.
Most of these dropdown lists will not change, so there is no need of
loading
them from database. For example, we have a "Countries" dropdown.

Instead of using

<select wicket:id="countries"/>

Can we just put directly the values into the html page?

<select id="countries">
<option value="1">Albania</option>
<option value="2">Australia</option>
..
</select>


If I put wicket:id, Wicket will replace the options. If I use standard
html
id="countries", can I retrieve the value from Wicket? How can I do that?

Thank you very much for your help and time,
Oskar



--
View this message in context:
http://www.nabble.com/Use-HTML-controls-directly-with-no-wicket%3Aid-tf3956238.html#a11225889
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to