[JBoss JIRA] (RF-13658) Component issues in 4.5
by Farah Juma (JIRA)
[ https://issues.jboss.org/browse/RF-13658?page=com.atlassian.jira.plugin.s... ]
Farah Juma commented on RF-13658:
---------------------------------
Both EAP 6.2.3 and EAP 6.3 contain Mojarra versions with the patch for this issue (both contain patched versions of Mojarra 2.1.28).
> Component issues in 4.5
> -----------------------
>
> Key: RF-13658
> URL: https://issues.jboss.org/browse/RF-13658
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> I've checked showcase and photoalbum and discovered several issues:
> These issues appear on EAP but not on WildFly.
> * -trees: the node ids are not being resolved correctly, resulting in ids like this: {{overForm:PreDefinedTree:org.richfaces.model.SequenceRowKey\[DeclarativeModelKey\{modelId=j_idt273, modelKey=\}\]:j_idt275}}-
> ** -this completely breaks photoalbum-
> * data retrieval from server doesn't seem to work (there are no errors on either server or client)
> ** datascroller - the pages switch but the data stay the same (works with a4j:repeat)
> ** extendedDataTable with enabled ajax loading does not load any data
> ** progressbar does not work
> ** togglePanel does not switch
> ** dynamic tabPanels do not switch
> ** tooltips that make a server call do not work (the tooltip is empty)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13661) De-couple the RichFaces.BaseComponent implementation from its JSF backend
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13661?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13661:
------------------------------------
I created a branch [RF-13661-independent-js|https://github.com/richfaces/richfaces/tree/RF-13...] where I added a examples/standalone-js example that can be use to create standalone html pages for various RF components. The jsf pages are stored in the {{jsf}} webapp folder, and the corresponding standalone html page is stored in the {{html}} folder.
Note: the standalone html page is created by deploying the webapp, and viewing a component page in a browser. The html source of the component page is saved as an html file. Path changes are made to the html file to use the js resources of the components directly from the source tree.
----
Merging of this branch is pending discussion at the upcoming f2f meeting.
> De-couple the RichFaces.BaseComponent implementation from its JSF backend
> -------------------------------------------------------------------------
>
> Key: RF-13661
> URL: https://issues.jboss.org/browse/RF-13661
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Fix For: 4.5-Tracking
>
>
> Investigate whether we can de-couple a {{RichFaces.BaseComponent}} based component from the JSF back-end. The ExtendedDataTable implementation would be a good candidate for this PoC.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13664) EDT firstChild call will return a text element when the source code is formatted to have one element per line
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13664?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13664:
------------------------------------
An alternative solution:
{{element.firstChild}} is the same as {{element.childNodes\[0]}} and will return the problematic _text_ node. However {{element.children\[0]}} returns the expected child element. Since {{element.firstChild}} is used in multiple places in the _extendedDataTable.js_ source, replacing it's use by the {{element.children\[0]}} call is the least invasive solution.
> EDT firstChild call will return a text element when the source code is formatted to have one element per line
> -------------------------------------------------------------------------------------------------------------
>
> Key: RF-13664
> URL: https://issues.jboss.org/browse/RF-13664
> Project: RichFaces
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: component-tables
> Reporter: Brian Leathem
> Assignee: Brian Leathem
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 30 minutes
> Remaining Estimate: 30 minutes
>
> Formatting the generated html and viewing the result in chrome leads to an error in the EDT call:
> {{this.frozenHeaderPartElement.firstChild.rows}}. This is because when the element is followed by a newline, a text element is returned from the firstChild call.
> Some solutions to this are discussed in the stackoverflow question:
> http://stackoverflow.com/questions/2299807/element-firstchild-is-returnin...
> I recommend we use jQuery here to resolve the first child in a cross-browser way.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13658) Component issues in 4.5
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13658?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-13658:
------------------------------------
{quote}
These issues appear on EAP but not on WildFly.
{quote}
There is a Mojarra bug that breaks the new EPVC ({{[JAVASERVERFACES-3151|https://java.net/jira/browse/JAVASERVERFACES-3151]}}). This issue was patched in the mojarra impl that shipped with WildFly 8.0.0.Final, and in the Mojarra impl that shipped with EAP was also [patched|https://github.com/jbossas/jboss-eap/pull/1026], but I believe this patched mojarra didn't land in EAP until 6.3. [~fjuma] can you confirm the EAP version that contains the Mojarra version with this patch?
[~michpetrov] and [~jhuska] please make sure you are testing with the patched EAP. We _should_ have some code in place to _fail fast_ if RichFaces 4.5 is used with an unpatched Mojarra. This can be achieved with reflection, looking for the method added in JAVASERVERFACES-3151. Please file a {{RF}} issue if this _fail fast_ feature is not present.
> Component issues in 4.5
> -----------------------
>
> Key: RF-13658
> URL: https://issues.jboss.org/browse/RF-13658
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> I've checked showcase and photoalbum and discovered several issues:
> These issues appear on EAP but not on WildFly.
> * -trees: the node ids are not being resolved correctly, resulting in ids like this: {{overForm:PreDefinedTree:org.richfaces.model.SequenceRowKey\[DeclarativeModelKey\{modelId=j_idt273, modelKey=\}\]:j_idt275}}-
> ** -this completely breaks photoalbum-
> * data retrieval from server doesn't seem to work (there are no errors on either server or client)
> ** datascroller - the pages switch but the data stay the same (works with a4j:repeat)
> ** extendedDataTable with enabled ajax loading does not load any data
> ** progressbar does not work
> ** togglePanel does not switch
> ** dynamic tabPanels do not switch
> ** tooltips that make a server call do not work (the tooltip is empty)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13656) Table collapse after tab change
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13656?page=com.atlassian.jira.plugin.s... ]
Michal Petrov resolved RF-13656.
--------------------------------
Assignee: Michal Petrov (was: Pavol Pitonak)
Resolution: Done
I've removed what seemed like unnecessary parsing of all CSS rules on the page (the result was only used to change width and display). Now we're simply changing the style properties with jQuery.
> Table collapse after tab change
> -------------------------------
>
> Key: RF-13656
> URL: https://issues.jboss.org/browse/RF-13656
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.7
> Reporter: André Faber
> Assignee: Michal Petrov
> Labels: regression
> Fix For: 4.3.8
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg, screenshot-4.jpg, test.xhtml, TestBean.java
>
>
> I have a rich:tabPanel with 2 tabs containing each a rich:extendedDataTable this worked fine in version 4.3.6. But with version 4.3.7 the table "collapses" after the tab is changed (see pictures).
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13658) Component issues in 4.5
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13658?page=com.atlassian.jira.plugin.s... ]
Juraj Húska commented on RF-13658:
----------------------------------
Yes [~michpetrov], you are right, Metamer is missing push depchain. Thanks. Fixed now.
> Component issues in 4.5
> -----------------------
>
> Key: RF-13658
> URL: https://issues.jboss.org/browse/RF-13658
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> I've checked showcase and photoalbum and discovered several issues:
> These issues appear on EAP but not on WildFly.
> * -trees: the node ids are not being resolved correctly, resulting in ids like this: {{overForm:PreDefinedTree:org.richfaces.model.SequenceRowKey\[DeclarativeModelKey\{modelId=j_idt273, modelKey=\}\]:j_idt275}}-
> ** -this completely breaks photoalbum-
> * data retrieval from server doesn't seem to work (there are no errors on either server or client)
> ** datascroller - the pages switch but the data stay the same (works with a4j:repeat)
> ** extendedDataTable with enabled ajax loading does not load any data
> ** progressbar does not work
> ** togglePanel does not switch
> ** dynamic tabPanels do not switch
> ** tooltips that make a server call do not work (the tooltip is empty)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13658) Component issues in 4.5
by Juraj Húska (JIRA)
[ https://issues.jboss.org/browse/RF-13658?page=com.atlassian.jira.plugin.s... ]
Juraj Húska edited comment on RF-13658 at 6/11/14 10:57 AM:
------------------------------------------------------------
I am adding some of my findings, omitting issues which [~michpetrov] already found.
*tabPanel*: can not be switched
* reproducible e.g. in Metamer welcome page
* it is occuring when switchType == ajax
* it is switched to the next panel when refreshed
*togglePanel*: the same apply as above
*collapsiblePanel*: same
*accordion*: can not be switched neither when ajax mode nor in client mode
-*editor*: is not rendered-
* -getting 404 on these resources:-
** org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/skin.js
** org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/editor_gecko.css
** -caused by CKE Editor upgrade to 4.1.1 with [this|https://github.com/richfaces/richfaces/commit/4c8ac2c970692ac96fde0e...] commit-
* it is metamer issue, already fixed, thanks [~jstefek]
*autocomplete*: does not work in ajax mode
-*push*: does not work, does not recieve any pushes-
* -following error is thrown-
* it was a metamer issues as [~michpetrov] pointed out, now fixed
was (Author: jhuska):
I am adding some of my findings, omitting issues which [~michpetrov] already found.
*tabPanel*: can not be switched
* reproducible e.g. in Metamer welcome page
* it is occuring when switchType == ajax
* it is switched to the next panel when refreshed
*togglePanel*: the same apply as above
*collapsiblePanel*: same
*accordion*: can not be switched neither when ajax mode nor in client mode
-*editor*: is not rendered-
* -getting 404 on these resources:-
** org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/skin.js
** org.richfaces.resources/javax.faces.resource/org.richfaces.ckeditor/skins/richfaces/editor_gecko.css
** -caused by CKE Editor upgrade to 4.1.1 with [this|https://github.com/richfaces/richfaces/commit/4c8ac2c970692ac96fde0e...] commit-
* it is metamer issue, already fixed, thanks [~jstefek]
*autocomplete*: does not work in ajax mode
*push*: does not work, does not recieve any pushes
* following error is thrown
* {code}23:58:59,784 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/metamer].[Faces Servlet]] (http--0.0.0.0-8080-6) Servlet.service() for servlet Faces Servlet threw exception: java.lang.IllegalArgumentException: pushTopic request parameter must be present
at org.richfaces.resource.PushResource.encode(PushResource.java:85) [richfaces-a4j-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at org.richfaces.resource.UserResourceWrapperImpl.encode(UserResourceWrapperImpl.java:187) [richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at org.richfaces.resource.ResourceHandlerImpl.handleResourceRequest(ResourceHandlerImpl.java:184) [richfaces-core-4.5.0-SNAPSHOT.jar:4.5.0-SNAPSHOT]
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:591) [jboss-jsf-api_2.1_spec-2.0.1.Final.jar:2.0.1.Final]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:329) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.richfaces.tests.metamer.TestIdentityFilter.doFilter(TestIdentityFilter.java:93) [classes:]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.jboss.weld.servlet.ConversationPropagationFilter.doFilter(ConversationPropagationFilter.java:62) [weld-core-1.1.5.AS71.Final.jar:2012-02-10 15:31]
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:280) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:248) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:275) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:161) [jbossweb-7.0.13.Final.jar:]
at org.jboss.as.web.security.SecurityContextAssociationValve.invoke(SecurityContextAssociationValve.java:153) [jboss-as-web-7.1.1.Final.jar:7.1.1.Final]
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:155) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [jbossweb-7.0.13.Final.jar:]
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:368) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:877) [jbossweb-7.0.13.Final.jar:]
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:671) [jbossweb-7.0.13.Final.jar:]
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:930) [jbossweb-7.0.13.Final.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_55]
{code}
> Component issues in 4.5
> -----------------------
>
> Key: RF-13658
> URL: https://issues.jboss.org/browse/RF-13658
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.5.0.Alpha3
> Reporter: Michal Petrov
> Assignee: Michal Petrov
> Fix For: 4.5.0.Alpha3
>
> Original Estimate: 1 day
> Remaining Estimate: 1 day
>
> I've checked showcase and photoalbum and discovered several issues:
> These issues appear on EAP but not on WildFly.
> * -trees: the node ids are not being resolved correctly, resulting in ids like this: {{overForm:PreDefinedTree:org.richfaces.model.SequenceRowKey\[DeclarativeModelKey\{modelId=j_idt273, modelKey=\}\]:j_idt275}}-
> ** -this completely breaks photoalbum-
> * data retrieval from server doesn't seem to work (there are no errors on either server or client)
> ** datascroller - the pages switch but the data stay the same (works with a4j:repeat)
> ** extendedDataTable with enabled ajax loading does not load any data
> ** progressbar does not work
> ** togglePanel does not switch
> ** dynamic tabPanels do not switch
> ** tooltips that make a server call do not work (the tooltip is empty)
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months
[JBoss JIRA] (RF-13656) Table collapse after tab change
by Michal Petrov (JIRA)
[ https://issues.jboss.org/browse/RF-13656?page=com.atlassian.jira.plugin.s... ]
Michal Petrov commented on RF-13656:
------------------------------------
On the first request the first table is being processed as the panels switch, on subsequent requests only the table that is being switched to is processed. The tables share a CSS style object (which they shouldn't) and that causes the collapse.
> Table collapse after tab change
> -------------------------------
>
> Key: RF-13656
> URL: https://issues.jboss.org/browse/RF-13656
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-output
> Affects Versions: 4.3.7
> Reporter: André Faber
> Assignee: Pavol Pitonak
> Labels: regression
> Fix For: 4.3.8
>
> Attachments: screenshot-1.jpg, screenshot-2.jpg, screenshot-3.jpg, screenshot-4.jpg, test.xhtml, TestBean.java
>
>
> I have a rich:tabPanel with 2 tabs containing each a rich:extendedDataTable this worked fine in version 4.3.6. But with version 4.3.7 the table "collapses" after the tab is changed (see pictures).
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)
10 years, 5 months