Hans,

 

I’m new to myfaces and not sure how to “change panelTabbedPane to server side”.

Can you please explain how to do this?

 

Thank You,

Rodney

 


From: Hans Sowa [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 09, 2005 3:23 AM
To: 'MyFaces Discussion'
Subject: AW: TabbedPanel state

 

Hi

 

There is no problem with your Listener. The problem is that your panelTabbedPane works client side and the listener doesn’t work for client side panelTabbedPane. Change your panelTabbedPane to server side and your listener will work.

 

 

 

mfg Hans Sowa

PROCON DATA Datenverarbeitung Ges.m.b.H.
mailto:[EMAIL PROTECTED]
http://www.procon.co.at

 

-----Ursprüngliche Nachricht-----
Von: Louis Burroughs [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 08. November 2005 20:47
An: MyFaces Discussion
Betreff: TabbedPanel state

 


I am trying to save the state of my tabbed panel, but for some reason my tabChageListener is not catching the tab change event.  My ProjectPanelListener implements TabChangeListener and I looked for a place in my faces-config to register my listener to no avail.  Can someone tell me where I went wrong here or if there is a better way to maintain the state of my tabbed pane?          

                                <t:panelTabbedPane selectedIndex="#{project.selectedTab}" >
                                                <t:panelTab title="Info" label="Project Info">
                                                        <jsp:include page="project.jsp" />
                                                </t:panelTab>
                                                <t:panelTab title="Databases" label="Databases">
                                                        <jsp:include page="db_view.jsp" />
                                                </t:panelTab>
                                                <t:panelTab title="Notes" label="Notes">
                                                        <jsp:include page="notes.jsp" />
                                                </t:panelTab>
                                                <t:panelTab title="Issues" label="Issues">
                                                        <jsp:include page="issues.jsp" />
                                                </t:panelTab>
                                                <t:panelTab title="Junctions" label="Junctions">
                                                        <jsp:include page="junctions.jsp" />
                                                </t:panelTab>
                                                <t:tabChangeListener type="com.xxx.ptw.ui.ProjectPanelListener" />
                                        </t:panelTabbedPane>




Louis M. Burroughs III

Reply via email to