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/tapestry5/corelib/data/BlankOption.html

Thanks for pointing out that this isn't apparent. I'll add some mention of it 
to the JumpStart example.

Geoff

On 01/03/2013, at 7:57 PM, esper wrote:

> Hi all,
> 
> How to insert a blank option or a "select all" option into tapestry t:select
> control populated through tapestry selection model?
> 
> The examples from a jumpstart page seem to have a blank field which is never
> set explicitly so I just assumed Tapestry handles it by default?! I don't
> get the blank field so I wonder how that could be done?
> 
> cheers 
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/A-blank-option-in-a-dropdown-list-populated-from-a-database-tp5720293.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
> 


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

Reply via email to