users@woodstock.java.net

Re: Tabset Question

From: Paul Fussell <Paul.Fussell_at_Sun.COM>
Date: Fri, 27 Jul 2007 11:27:10 -0700
If  you're using the NetBeans IDE, this information and other useful stuff is available in the help topic for the Tab Set component--just select the component on your page in the Visual Designer and click F1.

--Paul

At 08:50 AM 7/27/2007, Lark Fitzgerald wrote:
What you describe should only happen if you forget to set the tabSet to immediate also.  Here is a general guideline

TabSet is immediate, tabs are not, tabs 1 and 2 have required fields
validation error is thrown and picked up by message group. user can switch tabs.

Tabs are immediate, tabset is not, 1 & 2 have required fields.
user is unable to switch between tabs on a tabSet. This scenario is not supported.

Tabset and tabs are immediate, tabs 1 and 2 have required fields
Validation error is not thrown or picked up by message group. user can switch tabs

Neither Tab, nor tabSet is immediate, tab 1 and 2 have required fields
Validation error is thrown, and user can not swich tabs until resolved.

lark

Justin Cobb wrote:
If i set the immediate property on the tab, it doesnt let me switch back to that tab in the page. The address bar shows that it is switching to that tab, but it does not render itself.
----- Original Message -----
From: Lark Fitzgerald
To: users@woodstock.dev.java.net
Sent: Thursday, July 26, 2007 2:16 PM
Subject: Re: Tabset Question

Justin Cobb wrote:
Hi, I am new to the woodstock project. I have a quick question, that will probably be easy to answer. I am trying to use the Tabset component for my general site navigation. In each of the tabs I want to be able to store an iframe or some other link to another page, so I dont have to store all of my pages in the main class. I also need it to save the state of the iframe inside the tab. I am evaluating this against ruby on rails, and have gotten it to work on there fine. The idea is to have some iframes with input fields within, and then have the switching between tabs not reload the contents. Is there any way to do this.
 
Again, sorry if this doesnt make much sense. I am still trying to wrap my head around the concept.
 
Thanks
I'm pretty sure that you need to set the tab, and each of its child tabs immediate property = true.  That should do what you want.
hth,
lark