[
https://issues.jboss.org/browse/RF-12548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733815#comment-12733815
]
Juraj Húska edited comment on RF-12548 at 11/13/12 10:54 AM:
-------------------------------------------------------------
Hi guys,
I tried to reproduce this issue but without success. In other words in my
example (I just copied Marco's code) the issue is not occurring.
I pushed my example into [this|https://github.com/richfaces/qa/tree/RF-12548]
branch.
#
[Facelet|https://github.com/richfaces/qa/blob/RF-12548/metamer/application/src/main/webapp/components/richTabPanel/rf-12548.xhtml]
# Beans:
[rf12548|https://github.com/richfaces/qa/blob/RF-12548/metamer/application/src/main/java/org/richfaces/tests/metamer/bean/issues/RF12548.java]
and
[copyrf12548|https://github.com/richfaces/qa/blob/RF-12548/metamer/application/src/main/java/org/richfaces/tests/metamer/bean/issues/CopyOfRF12548.java]
I tried with MyFaces and RichFaces {{4.3.0.M1}}, {{4.3.0.M2}},
{{4.3.0-SNAPSHOT}}. Also on Chrome and Firefox.
Just to note that in {{4.3.0-M2}} are other {{tabPanel}} problems, which seems
to be solved in {{SNAPSHOT}}.
Marco, is there anything different in my code ?
was (Author: jhuska):
Hi guys,
I tried to reproduce this issue but without success. In other words in my
example (I just copied Marco's code) the issue is not occurring.
I pushed my example into [this|https://github.com/richfaces/qa/tree/RF-12548]
branch.
I tried with MyFaces and RichFaces {{4.3.0.M1}}, {{4.3.0.M2}},
{{4.3.0-SNAPSHOT}}. Also on Chrome and Firefox.
Just to note that in {{4.3.0-M2}} are other {{tabPanel}} problems, which seems
to be solved in {{SNAPSHOT}}.
Marco, is there anything different in my code ?
> rich:tabPanel does not work after ajax request
> ----------------------------------------------
>
> Key: RF-12548
> URL: https://issues.jboss.org/browse/RF-12548
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.2.3.Final
> Reporter: Marco Goetz
> Assignee: Juraj Húska
>
> I have a strange problem with the rich:tabPanel in combination with an ajax
> request and a commandLink.
> After clicking the a4j:commandLink "Update" Button the rich:tabPanel is not
> switching anymore.
>
> The browser's console log says:
> {quote}
> new RichFaces.ui.TabPanel("j_id_5:panel1", ({ajax:{incId:"1"},
> activeItem:"j_id_9", isKeepHeight:false, cycledSwitching:false})) is not a
> function
> at jsf.js.jsf:3682
> {quote}
>
> Example Code:
> {code}
> <h:head>
> </h:head>
> <body>
> <h:form>
> <a4j:commandLink value="Update"
> action="#{testBean.update}" render="contentDiv" />
>
> <t:div id="contentDiv">
> <rich:tabPanel switchType="client" id="panel1">
>
> <rich:tab>
> Tab1
> <h:commandLink
> action="#{test.testAction}" />
> </rich:tab>
>
> <rich:tab>
> Tab2
> </rich:tab>
>
> </rich:tabPanel>
> </t:div>
> </h:form>
> </body>
> {code}
>
> The very strange thing is when I remove the the h:commandLink in Tab1 the
> switching works fine after the ajax request.
> When I change the render attribute to "@all" it works too, but that would be
> a bad workaround.
> I used MyFaces 2.1.8 and Richfaces 4.3.0.M1.
> Problem stil exists with Richfaces 4.2.3.Final.
--
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