Re: A blank option in a dropdown list populated from a database

2013-03-01 Thread esper
as soon as I've submitted the message I've found the answer. I just used the "blankLabel" option. duh! -- View this message in context: http://tapestry.1045711.n5.nabble.com/A-blank-option-in-a-dropdown-list-populated-from-a-database-tp5720293p5720300.html Sent from the Tapestry - User mailing

Re: A blank option in a dropdown list populated from a database

2013-03-01 Thread esper
Great, thanks for the response. but that leads me to another question. The specification says: "The value for the blank option is always the empty string, the label may be the blank string;" I wonder if that could be set to anything else? cheers -- View this message in context: http://tapest

Re: A blank option in a dropdown list populated from a database

2013-03-01 Thread Geoff Callender
The Select component has a parameter "blankOption" with a default value of AUTO: http://tapestry.apache.org/5.3.6/apidocs/index.html?org/apache/tapestry5/corelib/components/Select.html and the meaning of AUTO is here: http://tapestry.apache.org/5.3.6/apidocs/org/apache/tapestry