[richfaces-issues] [JBoss JIRA] Created: (RF-1051) tabPanel doesn't switch if it immediate and if error occure in the another component
Anton Belevich (JIRA)
jira-events at lists.jboss.org
Tue Oct 2 06:59:03 EDT 2007
tabPanel doesn't switch if it immediate and if error occure in the another component
------------------------------------------------------------------------------------
Key: RF-1051
URL: http://jira.jboss.com/jira/browse/RF-1051
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.0
Reporter: Anton Belevich
Assigned To: Anton Belevich
Fix For: 3.2.0
Example:
<%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
<%@ taglib uri="http://richfaces.org/a4j" prefix="a4j" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<html>
<head>
<title>repeater</title>
</head>
<body>
<f:view>
<h:form id="form">
<rich:panel header="Errors">
<rich:messages/>
</rich:panel>
<rich:panel header="Simple Echo">
<h:inputText id="in0" size="50" value="#{bean.text}">
<a4j:support event="onkeyup" reRender="rep"/>
</h:inputText>
<h:outputText id="echoField" value="#{bean.text}" id="rep"/>
</rich:panel>
<rich:panel header="Simple Echoless">
<h:inputText id="in1" size="50" value="#{bean.junk}" required="true"/><br/>
<rich:message for="in1"/><br/>
<h:outputText value="#{bean.junk}" id="nonrep"/>
<h:commandButton value="Submit"/>
</rich:panel>
<rich:tabPanel id="tabPanel" selectedTab="t2" switchType="server" immediate="true">
<rich:tab id="t1" label="TabOne">
<h:outputText value="Content1"/>
</rich:tab>
<rich:tab id="t2" label="TabTwo">
<h:outputText value="Content2"/>
</rich:tab>
</rich:tabPanel>
</h:form>
</f:view>
</body>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list