[JBoss JIRA] (RF-12789) TabPanel error after partial update with new tab
by Lutz Ulrich (JIRA)
Lutz Ulrich created RF-12789:
--------------------------------
Summary: 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
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, 11 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č edited comment on RF-12788 at 2/12/13 3:49 AM:
----------------------------------------------------------
I have resolved the issue by switching from FF 3.6 emulation to IE8 emulation.
The patch:
{code}
diff --git a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
index 57d9382..7cc6070 100644 (file)
--- a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
+++ b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
@@ -46,7 +46,7 @@ public class QUnitTest {
\r
@Before\r
public void setUp() {\r
- webClient_ = new WebClient(BrowserVersion.FIREFOX_3_6);\r
+ webClient_ = new WebClient(BrowserVersion.INTERNET_EXPLORER_8);\r
}\r
\r
@After\r
{code}
was (Author: lfryc):
The patch:
{code}
diff --git a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
index 57d9382..7cc6070 100644 (file)
--- a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
+++ b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
@@ -46,7 +46,7 @@ public class QUnitTest {
\r
@Before\r
public void setUp() {\r
- webClient_ = new WebClient(BrowserVersion.FIREFOX_3_6);\r
+ webClient_ = new WebClient(BrowserVersion.INTERNET_EXPLORER_8);\r
}\r
\r
@After\r
{code}
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> 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, 11 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č updated RF-12788:
----------------------------
Description:
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}
was:
we can see that CI job reports a few failed tests (8 from
167) in org.richfaces.javascript.QUnitTest
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...
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> 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, 11 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č commented on RF-12788:
---------------------------------
The patch:
{code}
diff --git a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
index 57d9382..7cc6070 100644 (file)
--- a/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
+++ b/impl/src/test/java/org/richfaces/javascript/QUnitTest.java
@@ -46,7 +46,7 @@ public class QUnitTest {
\r
@Before\r
public void setUp() {\r
- webClient_ = new WebClient(BrowserVersion.FIREFOX_3_6);\r
+ webClient_ = new WebClient(BrowserVersion.INTERNET_EXPLORER_8);\r
}\r
\r
@After\r
{code}
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> we can see that CI job reports a few failed tests (8 from
> 167) in org.richfaces.javascript.QUnitTest
> 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...
--
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, 11 months
[JBoss JIRA] (RF-12788) org.richfaces.javascript.QUnitTest fails
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-12788?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-12788:
---------------------------------
Note that this affects only WFK 2.2, so we should patch it just to make sure we are consistent.
> org.richfaces.javascript.QUnitTest fails
> ----------------------------------------
>
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> we can see that CI job reports a few failed tests (8 from
> 167) in org.richfaces.javascript.QUnitTest
> 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...
--
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, 11 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č updated RF-12788:
----------------------------
Summary: org.richfaces.javascript.QUnitTest fails in WFK 2.2 (was: org.richfaces.javascript.QUnitTest fails)
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> we can see that CI job reports a few failed tests (8 from
> 167) in org.richfaces.javascript.QUnitTest
> 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...
--
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, 11 months
[JBoss JIRA] (RF-12788) org.richfaces.javascript.QUnitTest fails
by Marek Novotny (JIRA)
[ https://issues.jboss.org/browse/RF-12788?page=com.atlassian.jira.plugin.s... ]
Marek Novotny updated RF-12788:
-------------------------------
Description:
we can see that CI job reports a few failed tests (8 from
167) in org.richfaces.javascript.QUnitTest
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...
was:
we can see that CI job reports a few failed tests (8 from
167) in org.richfaces.javascript.QUnitTest
Output from failed build is at
https://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/WFK/view/WFK-2.2/jo...
> org.richfaces.javascript.QUnitTest fails
> ----------------------------------------
>
> 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
> Attachments: org.richfaces.javascript.QUnitTest.txt
>
>
> we can see that CI job reports a few failed tests (8 from
> 167) in org.richfaces.javascript.QUnitTest
> 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...
--
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, 11 months