users@woodstock.java.net

Re: Tabset Question

From: Bill Edwards - Sun BOS Software <Bill.Edwards_at_Sun.COM>
Date: Fri, 27 Jul 2007 09:21:07 -0400

Not sure Breadcrumbs will help much; it executes its hyperlinks in
immediate mode, so
no page state will be saved. You could potentially change the
hyperlinks in the breadcrumb
via an object binding in the backing bean, however. This might give
you some flavor of
dynamic navigation.

I'm not sure what "dynamic navigation" means, however. I assume it
means you cannot
use the static navigation rules in the faces-config.xml file? The
Lockhart console does
dynamic navigation in its login pages sequence (in that case, the JAAS
LoginModule
callback objects determine the "next" page to navigate to; so the login
never knows
until runtime what page is next). In the LH console case, we overrode
the Faces
navigation with our own. At least in this scheme, you still do page
submits (thus
can save page state before navigating to the next page).

Jayashri Visvanathan wrote:
> I am not sure if this would help for your use case but have you tried
> the BreadCrumbs component ? Using this component you can create links
> programatically or bind an array of pages.
> thanks
> -Jayashri
>
> Justin Cobb wrote:
>
>> Hi Jayashri ,
>>
>> Thanks for the response. I need to add dynamic navigation within my
>> page. So adding links and so on dynamically. I could do this with a
>> list or table, but I have not found a navigation component that will
>> save the state of the page when navigating to other pages. Is this
>> possible?
>>
>> Thanks,
>> Justin
>>
>>
>> ----- Original Message ----- From: "Jayashri Visvanathan"
>> <Jayashri.Visvanathan_at_Sun.COM>
>> To: <users_at_woodstock.dev.java.net>
>> Sent: Thursday, July 26, 2007 4:20 PM
>> Subject: Re: Tabset Question
>>
>>
>>> hi Justin,
>>> From the limited knowledge I have on the Tabset component, the
>>> current implementation is not meant to be used for navigation
>>> purposes. This component extends EditableValueHolder, so it will go
>>> through the typical JSF lifecycle an input component goes through
>>> and the page will get re rendered.
>>>
>>> thanks
>>> -jayashri
>>>
>>> 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 <mailto:Lark.Fitzgerald_at_Sun.COM>
>>>> *To:* users_at_woodstock.dev.java.net
>>>> <mailto:users_at_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
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
>> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>