RE: overwrite first element in select

2008-05-08 Thread Blower, Andy
Look at the blankLabel and blankOption attributes for the select component. (http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry/corelib/components/Select.html) There are good examples in the Tapestry 5 jumpstart. (http://files.doublenegative.com.au/jumpstart/) > -Or

Re: overwrite first element in select

2008-05-08 Thread Adam Zimowski
You can do this when you create select model. For example, in my application I have a drop down of catagories fetched by a DAO, with first element being "-- Please Select": @Cached public SelectModel getCategoriesModel() { Schemed schema = _catalog.computeOdsSchema