[JBoss JIRA] (RF-12543) a4j:push after ajax-rendered does not have its javascript included
by nimo stephan (JIRA)
nimo stephan created RF-12543:
---------------------------------
Summary: a4j:push after ajax-rendered does not have its javascript included
Key: RF-12543
URL: https://issues.jboss.org/browse/RF-12543
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Environment: RichFaces 4.2.2 FINAL
Reporter: nimo stephan
I have a4j:push within my page which should be rendered only if the property "pushIsActivated" is true. When changing the property by a button to true, then I want to make a ajax-rendering which renders the a4j:push. However, the javascript portion is not created within the aj4:push, hence the component does not work! I have to make a full page refresh, then the javascript portion is inserted and a4j:push works as expected. However, I have to do a full page refresh. I guess, it is a bug, because the a4j:push has a rendered-property which can be changed by ajax, hence it has to work after ajax-update.
<h:form id="my-form" prependId="false" style="display:none;">
<a4j:push rendered="#{mybean.pushIsActivated}" address=".." onerror=".." ondataavailable="..">
<a4j:ajax event="dataavailable" render="my-section"/>
</a4j:push>
</h:form>
If I only render my-form after changing the property, a4j:push does not work:
<h:form>
<h:commandButton value="Activate Push " action="#{myBean.setActivatePushToTrue}">
<f:ajax render=":my-form"/>
</h:commandButton>
</h:form>
I have to do a full page refresh, only then aj4:push works:
<h:form>
<h:commandButton value="Activate Push " action="#{myBean.setPushActivateToTrue}" onclick="submit();" />
</h:form>
Richfaces does insert the needed javascript only after a full page request:
<script type="text/javascript">RichFaces.Push.setPushResourceUrl.....;</script>
If I make a ajax-rendering, Richfaces does insert the needed javascript. Hence a4j does not work.
--
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
12 years
[JBoss JIRA] (RF-12548) rich:tabPanel does not work after ajax request
by Marco Goetz (JIRA)
Marco Goetz created RF-12548:
--------------------------------
Summary: 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-output
Affects Versions: 4.2.3.Final
Reporter: Marco Goetz
Fix For: 4.2.4
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:
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
Example 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>
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 use MyFaces 2.1.8 and Richfaces 4.3.0.M1.
Prolem stil exists with Richfaces 4.3.2.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
12 years
[JBoss JIRA] (RF-12512) Repeat: input inside repeat in not updated
by Pavol Pitonak (JIRA)
Pavol Pitonak created RF-12512:
----------------------------------
Summary: Repeat: input inside repeat in not updated
Key: RF-12512
URL: https://issues.jboss.org/browse/RF-12512
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-a4j-core, regression
Affects Versions: 4.3.0.Milestone2
Environment: RichFaces 4.3.0-SNAPSHOT
Metamer 4.3.0-SNAPSHOT
Mojarra 2.1.7
JBoss AS 7.1.2.Final-redhat-1
Java(TM) SE Runtime Environment 1.6.0_32-b05 @ Linux
Chrome 22.0.1229.79 @ Linux x86_64
Reporter: Pavol Pitonak
# deploy Metamer and open http://localhost:8080/metamer/faces/components/a4jRepeat/matrix.xhtml
# click the top-left "+" link
# click the top-left "C" link
result:
* output below is reset but input's value not
* worked fine in all previous versions
--
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
12 years