Hello,

Just moved from Weblogic 8.1 SP4, SUN RI 1.1 tomahawk 1.1.1. to WebLogic 81.
SP4, myfaces 1.5 and tomahawk 1.1.6.
Gained some functionality but also lost some functionality :(
I am using a tabbed pane ,  and in each pane I have an independent jsf, as
it follows : 

---------------------HOME TABBED PANES-----------------------
 <t:panelTabbedPane
                          styleClass="tabbedPane"
                  serverSideTabSwitch="false"
                  activeTabStyleClass="activeTab"
                  inactiveTabStyleClass="inactiveTab"
                  disabledTabStyleClass="disabledTab"
                  activeSubStyleClass="activeSub"
                  inactiveSubStyleClass="inactiveSub"
                  tabContentStyleClass="tabContent"
                                                        bgcolor="#CCFFFF" >
        
                <t:panelTab id="tab1" label="General" rendered="true">
                <f:subview id="GeneralSubwiew">                                 
                                <jsp:include page="adminGeneral.jsp"/>
                  </f:subview>
                </t:panelTab>
.... 
and so on for the rest of the tabs.
-------------------------------------------------------------

Here's a short snap of the an included jsf : 

---------------------------JSF PAGE INCLUDED IN  A
PANE----------------------
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t" %>
 
 <t:htmlTag value="adminGeneral">
 <body bgcolor="#ffffff">
 
                <h:form id="devices">
                
                <h:panelGrid styleClass="tableColapse"  columns="5"
columnClasses="tdBorder" >
                        <h:column ><h:outputText value="    
"></h:outputText></h:column>
.....
ending with
        </h:form>
</body>
</t:htmlTag>
--------------------------------------------------------------------------

Biggest issue is that my tabbing mechanism does not remember the pane
position. As soon as I click a 
button or a link(action or action Listener) the method behind is executed
but I am redirected each time
to my first pane. Whatever action I do, at reload i get the first pane . :(
Searched the forum , and there was a sugestion on using facelets.... but I'm
afraid weblogic 8.1 
is not ready for this. I have a wild guess I am missing a setting or
somthing...
Anyone got ideeas?

A hint could be a Javascript error that I have at the reload of each page: 

Error: f has no properties

pointing towards this function

function clearFormHiddenParams_tab1_GeneralSubwiew_devices(currFormName)
        {
                var f = document.forms['tab1:GeneralSubwiew:devices'];
                
f.elements['tab1:GeneralSubwiew:devices:_link_hidden_'].value='';
                f.elements['tab1:GeneralSubwiew:devices:_idcl'].value='';
                f.target='';
        }
        
To my this doesn't say to much....

Regards, 
Radu Milos

-- 
View this message in context: 
http://www.nabble.com/Tabbedpane-forgets-selected-pane-tf4378844.html#a12481754
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to