Hello,
I use MyFaces and Tomahawk 1.1.4.
When I try to use PanelTabbedPane of Tomahawk, I found it caches it's
children.
The backing bean's scope is "REQUEST".
When I click the tabbed page, it works fine.
But, if click the same page with difference parameters, it just shows the
data which is shown in the first click.
All the components which have values to print on the browser are created and
in the backing bean's constructor method.
And I use "binding" for the components.
I checked browser cache, but no browser cache works. I tested with <%= new
Date() %> and the date is always changed whenever I click the page.
I checked other components take the values correctly with Eclipse debugger,
it's ok.
But, the generated HTML is always the same as the html which is generated
when I first click(request) the page.
What's happening here?
==== managed bean settings
<managed-bean>
<managed-bean-name>activityInformationBean</managed-bean-name>
<managed-bean-class>org.blah.blah.ActivityInformationBean
</managed-bean-class>
<managed-bean-scope>request</managed-bean-scope>
</managed-bean>
=== JSP
<f:view>
<h:form id="frmActivityInformation" rendered="true">
<f:loadBundle basename="org.blah.blah.MessageBundle" var="magBundle" />
<table cellspacing="0" cellpadding="0" border="0" width="100%"
style="padding-left:10px;">
<tr>
<td>
<t:panelTabbedPane bgcolor="#f8f8f8" width="100%"
rendered="true" >
<t:panelTab id="tabActivityInformation"
label="#{rscBundle['label_activity_information_title']}" rendered="true" >
<h:panelGrid rendered="true" id="grdActivity"
columns="4" border="0" styleClass="" headerClass="standardTable_Header"
footerClass="standardTable_Header"
rowClasses="standardTable_Row1,standardTable_Row2"
columnClasses="standardTable_Column,standardTable_Column,standardTable_Column"
width="100%">
<h:outputText id ="txtActivityModelID"
rendered="true" binding="#{activityInformationBean.txtActivityModelID}" />
.............
Thanks,