Ah, so you were. Same applies.

On 31/12/2012, at 12:24 AM, John wrote:

> I was talking about blankOption, but I'll try with the prop prefix.
>  ----- Original Message ----- 
>  From: Geoff Callender 
>  To: Tapestry users 
>  Sent: Sunday, December 30, 2012 12:16 PM
>  Subject: Re: select blankOption
> 
> 
>  The default prefix is "literal". Use "prop", eg. 
> blankLabel="prop:yourProperty".
> 
>  See Binding Expressions in 
> http://tapestry.apache.org/component-parameters.html .
> 
>  Cheers,
> 
>  Geoff
> 
>  On 30/12/2012, at 11:07 PM, John wrote:
> 
>> I would like to choose dynamically whether to display the blank option in my 
>> select component.
>> 
>> I am using it to display an ALL value and don't want to show this if the 
>> select has only 1 option.
>> 
>> Unfortunately the docs say that the blankOption is a literal and not a 
>> property. Is there any way to change that easily?
>> 
>> Maybe it's easiest just to add a new option with the name and value I want?
>> 
>> John
> 
> 
>  ---------------------------------------------------------------------
>  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