Skip to main content

[webtier] JSF DataTable nesting question, possible to get inner table binding?

1 reply [Last post]
Anonymous

Hey all,

I asked this question here:
http://forums.sun.com/thread.jspa?messageID=10567634

But I thought I would try the mailing list as well.

I'm trying to nest tables several levels deep, and on some of the inner
tables, I have action methods which need to take some action on their
respective data.

Is there a way that I can bind the inner tables to a bean, or get a
reference to them in order to extract the row that was clicked
(h:commandLink)?

My desire comes from the fact that I don't want to use an f:param and
re-load the row from the database if it's already been loaded the first
time.

Thanks very much,
Lincoln
[att1.html]

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Ryan Lubke

Lincoln Baxter, III wrote:
> Hey all,
>
> I asked this question here:
> http://forums.sun.com/thread.jspa?messageID=10567634
>
> But I thought I would try the mailing list as well.
>
> I'm trying to nest tables several levels deep, and on some of the
> inner tables, I have action methods which need to take some action on
> their respective data.
>
> Is there a way that I can bind the inner tables to a bean, or get a
> reference to them in order to extract the row that was clicked
> (h:commandLink)?
>
> My desire comes from the fact that I don't want to use an f:param and
> re-load the row from the database if it's already been loaded the
> first time.
>
> Thanks very much,
> Lincoln
Looks like this question was answered in the forums thread you've
referenced.

---------------------------------------------------------------------
To unsubscribe, e-mail: webtier-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: webtier-help@glassfish.dev.java.net