You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Mike Kienenberger <mk...@gmail.com> on 2006/02/03 18:51:38 UTC
Re: TabbedPane question: update backing beans when changing tabs
In the future, you need to ask your questions on the myfaces-user mailing list.
I'll cc my response to users@myfaces.apache.org.
Unfortunately, I'm not really that knowledgeable about using
tabbedpane. My usage of it is very basic at this point.
You might be able to do this with a jsp include if you're using raw
jsp, maybe with an aliasBean component.
I don't use jsp, though. Under facelets, I'd use a ui:include.
Hopefully someone else on the mailing list can help you.
On 2/3/06, Hassnain Badami <hb...@prytaniagroup.com> wrote:
>
>
> Hi
> I was going through the mail-archive for my faces and was impressed by your
> command on tabbedpane. I have a query and I shall be highly obliged if you
> can respond.
>
> I am using tomahawk paneltabbedpane with panel tabs.
> My code has the form
>
> contents of portfoliosummary.jsp
>
> <t:panelTabbedPane selectedIndex="0" width="100%">
> <t:panelTab
> label="#{messages['portfolio_summary']}">
> ----some JSF components----
> </t:panelTab>
> <t:panelTab
> label="#{messages['portfolio_detail']}"/>
> <t:panelTab
> label="#{messages['portfolio_statistics']}"/>
> </t:panelTabbedPane>
>
>
> What I want to achieve is that on clicking the
> portfolio_detail panel I could request some other
> resource for example a JSP page(portfoliodetail.jsp)
> This would mean that clicking on any of my panel Tabs
> would load a different jsp for me. Is there any
> possible way to do that? Are there any alternatives to achieve it?
>
>
>
>
>
>
>
> Best Regards
>
>
>
> Hassnain Badami
>
>
>
> ---
> This e-mail may contain confidential and/or privileged information. If you
> are not the
> intended recipient (or have received this e-mail in error) please notify
> the sender
> immediately and destroy this e-mail. Any unauthorised copying, disclosure
> or distribution
> of the material in this e-mail is strictly forbidden. The Prytania Group
> has taken every
> reasonable precaution to ensure that any attachment to this e-mail has been
> swept for
> viruses. However, we cannot accept liability for any damage sustained as a
> result of
> software viruses and would advise that you carry out your own virus checks
> before
> opening any attachment.
>