Re: t:Select

2009-01-20 Thread luther.baker

Is there also a way to apply unique CSS to this first option as well?

-Luther




Thiago HP wrote:
> 
> Em Mon, 19 Jan 2009 21:23:45 -0300, luther.baker   
> escreveu:
> 
>> Now concerning, the first or *blank*value - I'd like to replace it with  
>> some text like "... choose one".
> 
> Try the blankLabel parameter:  
> http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Select.html.
> 
>> So, if using , is there a way I can add an  
>> option ... and make sure it shows up at the top of the select element?
> 
> Or put enumValue-blanklabel in your app.properties.
> 
> To make sure it appers, set the parameter blankOption="always".
> 
> -- 
> Thiago H. de Paula Figueiredo
> Independent Java consultant, developer, and instructor
> http://www.arsmachina.com.br/thiago
> 
> -
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t%3ASelect-tp21554690p21565137.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



t:Select

2009-01-19 Thread luther.baker

I would like to display an html select drop down based on an enum ... works
perfectly.

Now concerning, the first or *blank*value - I'd like to replace it with some
text like "... choose one".

So, if using , is there a way I can add an option
... and make sure it shows up at the top of the select element?

Thanks,

-Luther

-- 
View this message in context: 
http://www.nabble.com/t%3ASelect-tp21554690p21554690.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



Re: [T5] Is is possible to add Delete and Cancel buttons to BeanEditForm Component?

2008-12-15 Thread luther.baker

You can also add parameters to the t:beaneditform.

something like ...



  


  



or



  Cancel
  Delete



Generally, you can put most anything you'd like within the t:parameter tags.

-Luther




Marcelo Lotif-2 wrote:
> 
> You can use the BeanEditor component and wrap it with a form. At the
> bottom,
> you can add as many submit buttons as you want.
> I heard somewhere in this list that the beaneditform component is nothing
> more than this.
> 
> On Mon, Dec 15, 2008 at 2:19 PM, mraible  wrote:
> 
>>
>> Is it possible to add Delete and Cancel buttons to the 
>> component? If so, how?
>>
>> Thanks,
>>
>> Matt
>> --
>> View this message in context:
>> http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-Cancel-buttons-to-BeanEditForm-Component--tp21017894p21017894.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
>>
>>
> 
> 
> -- 
> Atenciosamente,
> 
> Marcelo Lotif
> Programador Java e Tapestry
> FIEC - Federação das Indústrias do Estado do Ceará
> (85) 3421-5910
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--Is-is-possible-to-add-Delete-and-Cancel-buttons-to-BeanEditForm-Component--tp21017894p21019843.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