dev@woodstock.java.net

Re: table internalVirtualForm

From: Steven Bell <bell.steven_at_gmail.com>
Date: Thu, 25 Oct 2007 09:14:45 -0700

I saw that in the tlds. I was just hoping not to need to manage that table
in a backing bean.

Just two follow up questions.

1. I know I can do something along the lines of:

<table binding="{#someBean.myTable}" />

But is there a way to define the table in the jsp and still make it
available in the bean to set that field before it's rendered?

2. Just out of curiosity is there a reason this was not exposed at the tag
level, or maybe it's just not exposed at the tag level yet?

On 10/25/07, Dan Labrecque < Dan.Labrecque_at_sun.com> wrote:
>
> We do not expose this at the tag level, but you can access the API using
> a binding.
>
> // Set table component.
> public void setTable(Table table) {
> this.table = table;
>
> // This binding is used only for the internal virtual form
> example.
> table.setInternalVirtualForm(true);
> }
>
> Dan
>
> Steven Bell wrote:
>
> Hello,
>
> I see in the tlddocs that table has a method to set internalVirtualForm to
> true. However it only seems to be available in the java side of things.
> For a table I'm defining in a jsp is there any way to set this value?
>
> --
> Regards,
>
> Steven Bell
>
>
>


-- 
Regards,
Steven Bell