webtier@glassfish.java.net

Re: [webtier] Component ID+ValueExpression

From: Lincoln Baxter, III <lincolnbaxter_at_gmail.com>
Date: Mon, 03 Aug 2009 09:55:41 -0400

You'd have to bind the table to a backing bean, cast it to a
UIDataTable, then call dataTable.getRowData().getRowId() in the backing
bean -- there's currently no way to do it in the view itself.

--Lincoln

On Mon, 2009-08-03 at 05:24 -0700, webtier_at_javadesktop.org wrote:

> Hi,
>
> My question has not been answered, so i give it another try.
>
> Is there a specific reason, why mojarra does not support ValueExpression based ID-s?
>
> Imagine, that i have a datatable, and at every row there is a SelectOne component.
> How can i identify them from each other? I want to set to them specific id-s, based on my model.
>
> For example: category_select_1, category_select_2, category_select_3
> [Message sent by forum member 'gabox01' (gabox01)]
>
> http://forums.java.net/jive/thread.jspa?messageID=358597
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: webtier-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: webtier-help_at_glassfish.dev.java.net
>