[JBoss JIRA] (RF-12794) Using the same name for id and name for this tag triggers an error with IE
by Jan Papousek (JIRA)
[ https://issues.jboss.org/browse/RF-12794?page=com.atlassian.jira.plugin.s... ]
Jan Papousek commented on RF-12794:
-----------------------------------
Well, I've tried to create a small sample to reproduce the RF-12038 issue. I haven't been successful. My test application is available on https://github.com/papousek/richfaces-sanbox/tree/RF-12794.
The sample page contains the following code:
{code}
<h:form>
<a4j:jsFunction name="setText" id="setText" render="showText">
<a4j:param name="text" assignTo="#{testBean.text}" />
</a4j:jsFunction>
</h:form>
Output: <h:outputText id="showText" value="#{testBean.text}" />
<br />
<span onmouseover="setText('TEXT')" onmouseout="setText('')">ACTIVE TEXT</span>
{code}
Jean ANDRE: Could you please provide a simplified project to reproduce the issue? It would be nice to update the project I've provided so it can be used for reproduction (the project contains only one page index.xhtml).
> Using the same name for id and name for this tag triggers an error with IE
> --------------------------------------------------------------------------
>
> Key: RF-12794
> URL: https://issues.jboss.org/browse/RF-12794
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Jean ANDRE
> Assignee: Jan Papousek
>
> Using the same name for id and name for this tag triggers an error with IE.
> We need to:
> # Confirm that this is an issue
> # Determine if this is an RF issue, an upstream JSF issue, or purely a IE issue
> # Document this _somehwere_
--
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
11 years, 7 months
[JBoss JIRA] (RF-12543) a4j:push after ajax-rendered does not have its javascript included
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12543?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12543:
---------------------------------
Hey Marc,
this issue is scheduled for RF5,
but you can move a4j:push to be always renderered on given page, similarly to:
https://github.com/richfaces/as-quickstarts/commit/4cbdf6b6ff28fc3d20a3b1...
> 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
> Fix For: 5-Tracking
>
>
> 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.
> {code}
> <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>
> {code}
> If I only render my-form after changing the property, a4j:push does not work:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setActivatePushToTrue}">
> <f:ajax render=":my-form"/>
> </h:commandButton>
> </h:form>
> {code}
> I have to do a full page refresh, only then aj4:push works:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setPushActivateToTrue}" onclick="submit();" />
> </h:form>
> {code}
> Richfaces does insert the needed javascript only after a full page request:
> {code}
> <script type="text/javascript">RichFaces.Push.setPushResourceUrl.....;</script>
> {code}
> If I make a ajax-rendering, Richfaces does NOT (!) insert the needed javascript. Hence a4j:push 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
11 years, 7 months
[JBoss JIRA] (RF-12543) a4j:push after ajax-rendered does not have its javascript included
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12543?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-12543:
----------------------------
Workaround Description: Move a4j:push definition to be always-renderered.
Workaround: Workaround Exists
> 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
> Fix For: 5-Tracking
>
>
> 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.
> {code}
> <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>
> {code}
> If I only render my-form after changing the property, a4j:push does not work:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setActivatePushToTrue}">
> <f:ajax render=":my-form"/>
> </h:commandButton>
> </h:form>
> {code}
> I have to do a full page refresh, only then aj4:push works:
> {code}
> <h:form>
> <h:commandButton value="Activate Push " action="#{myBean.setPushActivateToTrue}" onclick="submit();" />
> </h:form>
> {code}
> Richfaces does insert the needed javascript only after a full page request:
> {code}
> <script type="text/javascript">RichFaces.Push.setPushResourceUrl.....;</script>
> {code}
> If I make a ajax-rendering, Richfaces does NOT (!) insert the needed javascript. Hence a4j:push 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
11 years, 7 months
[JBoss JIRA] (RF-12765) Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12765?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč reassigned RF-12765:
-------------------------------
Assignee: Brian Leathem
> Rich:tabPanel not possible to switch tabs when only dynamic tabs are present
> ----------------------------------------------------------------------------
>
> Key: RF-12765
> URL: https://issues.jboss.org/browse/RF-12765
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.0.M3, 4.3.0.CR2
> Environment: Linux, windows any browser Chrom, Mozilla
> Reporter: Tali Han
> Assignee: Brian Leathem
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Rih:Tab panel functionality is broken.
> If you have dynamically generated tabs, you'll be able to switch from first to last, and then to first, but you'll not be able to switch to any other tab again.
> Remove from example that comes with richfaces distribution first static tab for dynamic tabs and you'll be able to reproduce this behaviour.
> richfaces/tabPanel/samples/dynamic-sample.xhtml
> {code}
> <rich:tabPanel activeItem="#{dynamicPanelBean.activeTab}">
> <ui:remove>
> <rich:tab header="Static">
> <p>This tab is static one.</p>
>
> <p>All of the following tabs are dynamically generated using <b>a4j:repeat</b>.</p>
> </rich:tab>
> </ui:remove>
> <a4j:repeat value="#{skinBean.skins}" var="skinName">
>
> <rich:tab header="#{skinName}" name="#{skinName}">
> <f:facet name="header">#{skinName}</f:facet>
> <i> All the controls below are just standard JSF components skinned with RichFaces: </i>
> <hr />
> <h:form>
> {code}
--
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
11 years, 7 months
[JBoss JIRA] (RF-12789) TabPanel error after partial update with new tab
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12789?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12789:
---------------------------------
Hey Lutz,
could you please attach XHTML and Java code demonstrating the usage?
I would like to misinterpret the issue report.
---
Note that in some browsers the <script> tag is not replaced, the code is executed directly instead (see jsf.js).
Using JavaScript service for generating tabs defers execution of the Tab-initialization script at the point where the DOM is updated
and thus it is available for processing.
> TabPanel error after partial update with new tab
> ------------------------------------------------
>
> Key: RF-12789
> URL: https://issues.jboss.org/browse/RF-12789
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.CR2
> Environment: Mojarra 2.1.17, Tomcat 7.0.22, Java 1.7, Windows 7
> Reporter: Lutz Ulrich
> Assignee: Lukáš Fryč
> Labels: Tab, TabPanel, dynamical-add
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> Adding tabs dynamically (programatically) in partial requests results in errors.
> The JavaScript code for all TabPanels and their child Tabs is added to HTML <body> using JavaScriptService.addScript(FacesContext, S), see DivPanelRenderer.writeJavaScript(), TabRenderer.doEncodeItemEnd() and TabRenderer.doEncodeEnd().
> The top-level <script> element in <body> won't be updated if a new Tab is added dynamically in a partial request. Thus, the script, new RichFaces.ui.Tab(...), for the new Tab is missing.
> Similar problems arise if a TabPanel is added in a partial request.
> All scripts, RichFaces.ui.Tab(...) and RichFaces.ui.TabPanel(...) should be rendered inline for partial update to work with new TabPanels and new Tabs.
--
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
11 years, 7 months
[JBoss JIRA] (RF-12760) rich:tabPanel does not work after ajax request
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12760?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12760:
---------------------------------
Started development forum discussion: https://community.jboss.org/thread/221406
> rich:tabPanel does not work after ajax request
> ----------------------------------------------
>
> Key: RF-12760
> URL: https://issues.jboss.org/browse/RF-12760
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.M2, 4.3.0.M3, 4.3.0.CR1, 4.3.0.CR2
> Environment: RichFaces 4.3.0.CR2
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.1.7-jbossorg-2
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 24.0.1312.56 @ Linux x86_64
> -----------------------------------------------------------
> Windows 7 - Chrome 24.0.1312.56 / IE 9.
> Mojarra 2.1.17
> Richfaces 4.3.0.CR2
> Reporter: Adelmo Erick santos
> Assignee: Lukáš Fryč
> Labels: regression
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When I submit a ajax request in a h:commandButtom within a tab with f:ajax them the tabPanel don´t switch tabs anymore. The problem is already reported in RF-10112. Sorry i´m from Brazil and my english very bad.
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j" >
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:tabPanel>
> <rich:tab header="cash">
> <h:commandButton value="Enter">
> <f:ajax event="click" render="@form"/>
> </h:commandButton>
> </rich:tab>
> <rich:tab header="creditCard">
> <h:outputText value="Test"/>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {code}
--
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
11 years, 7 months
[JBoss JIRA] (RF-12760) rich:tabPanel does not work after ajax request
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12760?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12760:
---------------------------------
This issue is caused by introducing tabbing based on {{ExtendedPartialViewContext}} and partial response extensions (RF-12536).
This issue can be overcame as suggested in workaround.
Generally, you should prefer using {{a4j:ajax}} to {{f:ajax}}.
We will look into making them compatible in RF5 (you can vote for RF-12536).
I would include this change in 4.2 -> 4.3 migration notes.
> rich:tabPanel does not work after ajax request
> ----------------------------------------------
>
> Key: RF-12760
> URL: https://issues.jboss.org/browse/RF-12760
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-panels-layout-themes
> Affects Versions: 4.3.0.M2, 4.3.0.M3, 4.3.0.CR1, 4.3.0.CR2
> Environment: RichFaces 4.3.0.CR2
> Metamer 4.3.0-SNAPSHOT
> Mojarra 2.1.7-jbossorg-2
> JBoss AS 7.1.2.Final-redhat-1
> Java(TM) SE Runtime Environment 1.7.0_04-b20 @ Linux
> Chrome 24.0.1312.56 @ Linux x86_64
> -----------------------------------------------------------
> Windows 7 - Chrome 24.0.1312.56 / IE 9.
> Mojarra 2.1.17
> Richfaces 4.3.0.CR2
> Reporter: Adelmo Erick santos
> Assignee: Lukáš Fryč
> Labels: regression
> Fix For: 4.3.1
>
> Original Estimate: 2 hours
> Remaining Estimate: 2 hours
>
> When I submit a ajax request in a h:commandButtom within a tab with f:ajax them the tabPanel don´t switch tabs anymore. The problem is already reported in RF-10112. Sorry i´m from Brazil and my english very bad.
> {code}
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:f="http://java.sun.com/jsf/core"
> xmlns:rich="http://richfaces.org/rich"
> xmlns:a4j="http://richfaces.org/a4j" >
>
> <h:head>
> </h:head>
> <h:body>
> <h:form>
> <rich:tabPanel>
> <rich:tab header="cash">
> <h:commandButton value="Enter">
> <f:ajax event="click" render="@form"/>
> </h:commandButton>
> </rich:tab>
> <rich:tab header="creditCard">
> <h:outputText value="Test"/>
> </rich:tab>
> </rich:tabPanel>
> </h:form>
> </h:body>
> </html>
> {code}
--
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
11 years, 7 months
[JBoss JIRA] (RF-12788) org.richfaces.javascript.QUnitTest fails in WFK 2.2
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12788?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč resolved RF-12788.
-----------------------------
Resolution: Done
> org.richfaces.javascript.QUnitTest fails in WFK 2.2
> ---------------------------------------------------
>
> Key: RF-12788
> URL: https://issues.jboss.org/browse/RF-12788
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: core, tests - unit
> Affects Versions: 4.3.0.Final
> Environment: WFK 2.2
> Reporter: Marek Novotny
> Assignee: Lukáš Fryč
> Fix For: 4.3.1
>
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
> Original Estimate: 15 minutes
> Remaining Estimate: 15 minutes
>
> we can see that CI job reports a few failed tests (8 from
> 167) in org.richfaces.javascript.QUnitTest
> {code}
> Results :
> Failed tests: testEvent(org.richfaces.javascript.QUnitTest): Failures:(..)
> testPosition(org.richfaces.javascript.QUnitTest): Failures:(..)
> testQueueRequest(org.richfaces.javascript.QUnitTest): Failures:(..)
> testQueueGetSize(org.richfaces.javascript.QUnitTest): Failures:(..)
> testQueueEmpty(org.richfaces.javascript.QUnitTest): Failures:(..)
> testQueueClear(org.richfaces.javascript.QUnitTest): Failures:(..)
> testQueueSubmitFirst(org.richfaces.javascript.QUnitTest): Failures:(..)
> testBaseComponent(org.richfaces.javascript.QUnitTest): Failures:(..)
> Tests run: 167, Failures: 8, Errors: 0, Skipped: 2
> Output from failed build is at
> https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/WFK/view/WFK-2.2/jo...
> {code}
--
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
11 years, 7 months