[richfaces-issues] [JBoss JIRA] (RF-11669) rich:tapPanel binding to backing bean get a memory corruption during refresh (F5)
Brian Leathem (Updated) (JIRA)
jira-events at lists.jboss.org
Mon Nov 14 13:21:41 EST 2011
[ https://issues.jboss.org/browse/RF-11669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RF-11669:
-------------------------------
Priority: Major (was: Critical)
Steps to Reproduce:
1) Create a form such as below and bind the tabPanel to a backing bean:
{code}
<h:form id="tabbedForm">
<rich:tabPanel id="desktopTabPanel" switchType="ajax" headerPosition="top" headerLocation="center" binding="#{desktopTabBean.desktopTabPanel}">
<rich:tab id="tab-workitems" name="tab-workitems" header="#{msg['desktop.tab.workitems']}">
<!-- -->
<!-- WORKITEMS TAB -->
<!-- -->
</rich:tab>
<rich:tab id="tab-search" name="tab-search" header="#{msg['desktop.tab.search']}">
<!-- -->
<!-- SEARCH TAB -->
<!-- -->
</rich:tab>
</rich:tabPanel>
</h:form>
{code}
2) Create the backing bean such as:
{code}
import org.richfaces.component.UITabPanel;
@Named("desktopTabBean")
@SessionScoped
public class DesktopTabBean implements Serializable {
private static final long serialVersionUID = 201L;
private UITabPanel desktopTabPanel;
public UITabPanel getDesktopTabPanel() {
return desktopTabPanel;
}
public void setDesktopTabPanel(UITabPanel desktopTabPanel) {
this.desktopTabPanel = desktopTabPanel;
}
}
{code}
3) Display the page and them press F5 under firefox.
4) Following characters appear on the page instead of the tabPanel: «↓»
Title are rendered but without any style - just the text.
was:
1) Create a form such as below and bind the tabPanel to a backing bean:
<h:form id="tabbedForm">
<rich:tabPanel id="desktopTabPanel" switchType="ajax" headerPosition="top" headerLocation="center" binding="#{desktopTabBean.desktopTabPanel}">
<rich:tab id="tab-workitems" name="tab-workitems" header="#{msg['desktop.tab.workitems']}">
<!-- -->
<!-- WORKITEMS TAB -->
<!-- -->
</rich:tab>
<rich:tab id="tab-search" name="tab-search" header="#{msg['desktop.tab.search']}">
<!-- -->
<!-- SEARCH TAB -->
<!-- -->
</rich:tab>
</rich:tabPanel>
</h:form>
2) Create the backing bean such as:
import org.richfaces.component.UITabPanel;
@Named("desktopTabBean")
@SessionScoped
public class DesktopTabBean implements Serializable {
private static final long serialVersionUID = 201L;
private UITabPanel desktopTabPanel;
public UITabPanel getDesktopTabPanel() {
return desktopTabPanel;
}
public void setDesktopTabPanel(UITabPanel desktopTabPanel) {
this.desktopTabPanel = desktopTabPanel;
}
}
3) Display the page and them press F5 under firefox.
4) Following characters appear on the page instead of the tabPanel: «↓»
Title are rendered but without any style - just the text.
Component/s: component-panels-layout-themes
(was: component)
> rich:tapPanel binding to backing bean get a memory corruption during refresh (F5)
> ----------------------------------------------------------------------------------
>
> Key: RF-11669
> URL: https://issues.jboss.org/browse/RF-11669
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.0.0.Final
> Environment: Websphere 8 - RAD 8 - JSF Mojorra 2.1.3 - Spring 3.0.6 Final - Use @Inject @Named @SessionScoped as annotations - Firefox 7.0.1 - Windows 7 (6.1 sp1)
> Reporter: Jean ANDRE
> Attachments: TabPanel-After-F5.jpg, TabPanel-before-F5.jpg
>
>
> Make a simple form with a tabPanel - TabPanel is binded to a backing bean - The first display is correct but doing F5 cause a tab appearance very bad. Tab disappears but the content is still there but not all the time.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list