Hi,

I am populating a select model using OptionModelImpl. 

The problem is when the page loads, the item with value=0 is getting the
focus automatically.  I want the focus to stay on the first item in the
list.  Why is this happening?

for (Iterator<Long> it =idNames.keySet().iterator(); it.hasNext(); ) {
        Long id = it.next();
        optionModelList.add(new OptionModelImpl(idNames.get(id), id));
}

Any ideas?
-- 
View this message in context: 
http://tapestry.1045711.n5.nabble.com/select-model-focus-goes-to-item-with-value-0-tp3291510p3291510.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to