[ 
https://issues.jboss.org/browse/RF-7353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12479545#comment-12479545
 ] 

Brian Leathem edited comment on RF-7353 at 12/3/13 5:39 PM:
------------------------------------------------------------

Reproduced at jsp+tomcat6

Java bean request scope:
{code}
public class Custom {

        private String selectedTab;
        private String firstName;
        private String lastName;


                public Custom() {
                this.selectedTab = "firstname";
                this.firstName = "tisha";
                this.lastName = "kuprevich";
        }
        ...
}
{code}

JSP:
{code}
        <a4j:keepAlive beanName="custom" />

        <a4j:form>
                <rich:tabPanel switchType="ajax"
                        selectedTab="#{custom.selectedTab}">
                        <rich:tab id="tab1" label="firstname">
                                <a4j:region>
                                        <h:inputText 
value="#{custom.firstName}" />
                                </a4j:region>
                        </rich:tab>
                        <rich:tab id="tab2" label="lastname">
                                <a4j:region>
                                        <h:inputText value="#{custom.lastName}" 
/>
                                </a4j:region>
                        </rich:tab>
                </rich:tabPanel>
        </a4j:form>
{code}
                
      was (Author: tkuprevich):
    Reproduced at jsp+tomcat6

Java bean request scope:
public class Custom {

        private String selectedTab;
        private String firstName;
        private String lastName;


                public Custom() {
                this.selectedTab = "firstname";
                this.firstName = "tisha";
                this.lastName = "kuprevich";
        }
        ...
}

JSP:
        <a4j:keepAlive beanName="custom" />

        <a4j:form>
                <rich:tabPanel switchType="ajax"
                        selectedTab="#{custom.selectedTab}">
                        <rich:tab id="tab1" label="firstname">
                                <a4j:region>
                                        <h:inputText 
value="#{custom.firstName}" />
                                </a4j:region>
                        </rich:tab>
                        <rich:tab id="tab2" label="lastname">
                                <a4j:region>
                                        <h:inputText value="#{custom.lastName}" 
/>
                                </a4j:region>
                        </rich:tab>
                </rich:tabPanel>
        </a4j:form>

                  
> TabPanel: value evaluated at phase1
> -----------------------------------
>
>                 Key: RF-7353
>                 URL: https://issues.jboss.org/browse/RF-7353
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-output
>    Affects Versions: 3.3.2.CR1
>            Reporter: Nick Belaevski
>            Assignee: Alexander Smirnov
>             Fix For: 3.3.2.GA
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to