[JBoss JIRA] (RF-13107) rich:message in tabPanel is not shown if other message is not rendered
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13107?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč edited comment on RF-13107 at 8/2/13 3:44 AM:
---------------------------------------------------------
The real error message revealed by debugging:
{code:title=jsf.js:2220}
} catch (ex) {
sendError(request, context, "malformedXML", ex.message);
return;
}
{code}
{{ex.message: "During update: j_idt8:j_idt11 not found"}}
was (Author: lfryc):
The real error message revealed by debugging:
{code|title=jsf.js:2220}
} catch (ex) {
sendError(request, context, "malformedXML", ex.message);
return;
}
{code}
{{ex.essage}}: "During update: j_idt8:j_idt11 not found"
> rich:message in tabPanel is not shown if other message is not rendered
> ----------------------------------------------------------------------
>
> Key: RF-13107
> URL: https://issues.jboss.org/browse/RF-13107
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.2
> Reporter: Jonáš Trantina
> Assignee: Brian Leathem
> Fix For: 4.3.4
>
> Attachments: bug_reproducer.zip
>
>
> We have a form with a tabPanel component with two tabs A and B. In A there is an input and its rich:message in B the same plus a button that submits and re-renders B. When B is opened (thus A is not rendered) and the form is submitted and validation fails, then no message is shown.
> Note that:
> 1) switchType must be set to server to ensure the A's rich:message is really not on the page.
> 2) button in B must re-render only content of B
> This is only a specific scenario, the issue might occur also in other situations (e.g. global messages tag outside of tabPanel is not rendered).
> Please find the enclosed reproducer.
--
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, 3 months
[JBoss JIRA] (RF-13107) rich:message in tabPanel is not shown if other message is not rendered
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13107?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13107:
---------------------------------
The real error message revealed by debugging:
{code|title=jsf.js:2220}
} catch (ex) {
sendError(request, context, "malformedXML", ex.message);
return;
}
{code}
{{ex.essage}}: "During update: j_idt8:j_idt11 not found"
> rich:message in tabPanel is not shown if other message is not rendered
> ----------------------------------------------------------------------
>
> Key: RF-13107
> URL: https://issues.jboss.org/browse/RF-13107
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.2
> Reporter: Jonáš Trantina
> Assignee: Brian Leathem
> Fix For: 4.3.4
>
> Attachments: bug_reproducer.zip
>
>
> We have a form with a tabPanel component with two tabs A and B. In A there is an input and its rich:message in B the same plus a button that submits and re-renders B. When B is opened (thus A is not rendered) and the form is submitted and validation fails, then no message is shown.
> Note that:
> 1) switchType must be set to server to ensure the A's rich:message is really not on the page.
> 2) button in B must re-render only content of B
> This is only a specific scenario, the issue might occur also in other situations (e.g. global messages tag outside of tabPanel is not rendered).
> Please find the enclosed reproducer.
--
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, 3 months
[JBoss JIRA] (RF-13107) rich:message in tabPanel is not shown if other message is not rendered
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13107?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč commented on RF-13107:
---------------------------------
I have attached a <a4j:log mode="console" /> and now I can see this error:
{code}
RichFaces: New request added to queue. Queue requestGroupingId changed to j_idt14:j_idt18 log.js.jsf?ln=org.richfaces:153
RichFaces: Queue will wait 0ms before submit log.js.jsf?ln=org.richfaces:153
RichFaces: richfaces.queue: will submit request NOW log.js.jsf?ln=org.richfaces:153
RichFaces: Received 'begin' event from <input id=j_idt14:j_idt18 ...> log.js.jsf?ln=org.richfaces:153
RichFaces: Received 'beforedomupdate' event from <input id=j_idt14:j_idt18 ...> log.js.jsf?ln=org.richfaces:153
RichFaces: [object Object] log.js.jsf?ln=org.richfaces:153
RichFaces: [object Object] log.js.jsf?ln=org.richfaces:153
RichFaces: richfaces.queue: ajax submit error log.js.jsf?ln=org.richfaces:153
RichFaces: richfaces.queue: Nothing to submit log.js.jsf?ln=org.richfaces:153
RichFaces: Received 'error@malformedXML' event from <input id=j_idt14:j_idt18 ...> log.js.jsf?ln=org.richfaces:153
RichFaces: [200] undefined: undefined log.js.jsf?ln=org.richfaces:153
RichFaces: Received 'complete' event from <input id=j_idt14:j_idt18 ...> log.js.jsf?ln=org.richfaces:153
{code}
> rich:message in tabPanel is not shown if other message is not rendered
> ----------------------------------------------------------------------
>
> Key: RF-13107
> URL: https://issues.jboss.org/browse/RF-13107
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-validators
> Affects Versions: 4.3.2
> Reporter: Jonáš Trantina
> Assignee: Brian Leathem
> Fix For: 4.3.4
>
> Attachments: bug_reproducer.zip
>
>
> We have a form with a tabPanel component with two tabs A and B. In A there is an input and its rich:message in B the same plus a button that submits and re-renders B. When B is opened (thus A is not rendered) and the form is submitted and validation fails, then no message is shown.
> Note that:
> 1) switchType must be set to server to ensure the A's rich:message is really not on the page.
> 2) button in B must re-render only content of B
> This is only a specific scenario, the issue might occur also in other situations (e.g. global messages tag outside of tabPanel is not rendered).
> Please find the enclosed reproducer.
--
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, 3 months
[JBoss JIRA] (RF-13115) a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event
by Vaibhav Kapoor (JIRA)
[ https://issues.jboss.org/browse/RF-13115?page=com.atlassian.jira.plugin.s... ]
Vaibhav Kapoor commented on RF-13115:
-------------------------------------
Coming back to the logged issue.
M not sure if this is a bug with a4j:jsFunction.
The issue that i reported 'does work' with IE 7 and IE 8 {with document mode IE7} and RF version 3.3.3 .
We have a old application in production using the same logic, which i am trying to migrate to RF 4.3.x
Sample is available at https://github.com/numerouno979/test-a4j-jsFunction-with-RF3.3.3.git.
NOTE: this sample does not works with IE 10 [even by setting document mode].
> a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event
> ---------------------------------------------------------------------------------------------------------
>
> Key: RF-13115
> URL: https://issues.jboss.org/browse/RF-13115
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: tomcat 6, windows 7 , IE 10 / chrome 28.0.1500.95
> Reporter: Vaibhav Kapoor
>
> Requirement : I need to call a method on backing bean on event of page unload. Approach : So i have created a a4j:jsFunction and am trying to call it on window.unload event.
> Issue Description : When the page refreshes, js function attached to window.unload event is called and executes correctly. All statements in console.log() are called correctly. But, the method in the backing bean is never called.
--
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, 4 months
[JBoss JIRA] (RF-13115) a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event
by Vaibhav Kapoor (JIRA)
[ https://issues.jboss.org/browse/RF-13115?page=com.atlassian.jira.plugin.s... ]
Vaibhav Kapoor edited comment on RF-13115 at 8/1/13 8:27 PM:
-------------------------------------------------------------
Coming back to the logged issue.
M not sure if this is a bug with a4j:jsFunction.
The issue that i reported 'does work' with IE 7 and IE 8 {with document mode IE7} and RF version 3.3.3 .
We have a old application in production using the same logic, which i am trying to migrate to RF 4.3.x
Sample is available at https://github.com/numerouno979/test-a4j-jsFunction-with-RF3.3.3.git.
NOTE: this sample does not works with IE 10 [even by setting document mode].
Or, may be its because of enhancements in IE on window.unload.
was (Author: vaibhav.kapoor):
Coming back to the logged issue.
M not sure if this is a bug with a4j:jsFunction.
The issue that i reported 'does work' with IE 7 and IE 8 {with document mode IE7} and RF version 3.3.3 .
We have a old application in production using the same logic, which i am trying to migrate to RF 4.3.x
Sample is available at https://github.com/numerouno979/test-a4j-jsFunction-with-RF3.3.3.git.
NOTE: this sample does not works with IE 10 [even by setting document mode].
> a4j:jsFunction is not firing ajax request when the generated js function is called at window.unload event
> ---------------------------------------------------------------------------------------------------------
>
> Key: RF-13115
> URL: https://issues.jboss.org/browse/RF-13115
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.3.1
> Environment: tomcat 6, windows 7 , IE 10 / chrome 28.0.1500.95
> Reporter: Vaibhav Kapoor
>
> Requirement : I need to call a method on backing bean on event of page unload. Approach : So i have created a a4j:jsFunction and am trying to call it on window.unload event.
> Issue Description : When the page refreshes, js function attached to window.unload event is called and executes correctly. All statements in console.log() are called correctly. But, the method in the backing bean is never called.
--
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, 4 months
[JBoss JIRA] (RF-11134) ComponentIdResolver does not resolve clientId correctly
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-11134?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-11134:
-------------------------------
Labels: jsf (was: )
> ComponentIdResolver does not resolve clientId correctly
> -------------------------------------------------------
>
> Key: RF-11134
> URL: https://issues.jboss.org/browse/RF-11134
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tables, core
> Affects Versions: 4.0.0.Final
> Reporter: Val Blant
> Labels: jsf
> Fix For: 5-Tracking
>
> Attachments: richfaces-ajax-fix.js
>
>
> Please consider the following test code:
> {code}
> <rich:dataTable id="testTable"
> value="#{dataTableTestBackingBean.rowsModel}"
> var="rowVar">
>
> <f:facet name="header">
> <rich:column>
> <h:outputText value="Column 1" />
> </rich:column>
> </f:facet>
>
> <rich:column>
> <h:inputText id="valTest" value="#{rowVar.col1}" >
> <a4j:ajax
> event="blur"
> render="testColumn, footerTest"
> limitRender="true"
> execute="@this" />
> </h:inputText>
> </rich:column>
> <rich:column>
> <h:outputText id="testColumn" value="#{dataTableTestBackingBean.footerValue}" />
> </rich:column>
> <f:facet name="footer">
> <rich:column>
> <h:outputText id="footerTest" value="#{dataTableTestBackingBean.footerValue}" />
> </rich:column>
> </f:facet>
> </rich:dataTable>
> {code}
> This example will fail with the following Javascript error in the browser:
> {color:red}
> {quote}
> Error: During update: formId:testTable:0:footerTest not found
> {quote}
> {color}
> This is expected, b/c the correct id for the footer is _formId:testTable:footerTest_.
> The bug is in _org.richfaces.context.ComponentIdResolver_. Here is what happens:
> # The _RenderComponentCallback_ is executed on the input component (_'valTest'_ in the example) and it reads the list of short ids to render from the attached Ajax Behavior. Note that we got here by walking the parent data table model, so the current rowKey is 0
> # _RenderComponentCallback_ asks _ComponentIdResolver_ to resolve short ids into client IDs
> # _ComponentIdResolver_ starts ascending up the tree from _'valTest'_ and looking at facets and children until it finds _'footerTest'_.
> # At this point it asks for the clientId of _'footerTest'_ w/o regard for the fact that the data model has a rowKey that is set 0
> So, we get the wrong id b/c we call UiData.getClientId() outside of the normal walking order of that model.
> *EDIT:*
> I noticed that if I nest the above data table in another data iterator, then the footer update suddenly starts working. I investigated and it turned out that nested table will have _getClientId()_ called on all of its components by the parent table, and since _clientId_ s are cached, by the time _ComponentIdResolver_ gets to it, it will use the cached id, rather than looking it up at the wrong time. Non-nested tables simply don't get around to calling _getClientId()_ on their components before _ComponentIdResolver_ runs, which is probably the real problem.
> Could it be an issue with the way _UIDataAdapter.saveChildState(FacesContext facesContext)_ is written? Note that a nested table would save the state of its facets in _saveChildState(FacesContext facesContext, UIComponent component)_, which would result in calls to _getClientId()_ on the facet cells. A top level table would not save the state of the facets though, b/c we only traverse the children of the table inside _UIDataAdapter.saveChildState(FacesContext facesContext)_
--
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, 4 months
[JBoss JIRA] (RF-10646) Css in composite components not found with MyFaces
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-10646?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-10646:
-------------------------------
Assignee: (was: Nick Belaevski)
> Css in composite components not found with MyFaces
> --------------------------------------------------
>
> Key: RF-10646
> URL: https://issues.jboss.org/browse/RF-10646
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.CR1, 4.2.2.Final
> Environment: RichFaces 4.0.0-SNAPSHOT SVN r.21968
> MyFaces 2.0.5-SNAPSHOT (and all older versions)
> Tomcat 6.0.29
> all browsers
> RichFaces 4.2.2.Final
> Metamer 4.2.2.Final
> Apache MyFaces JSF-2.1 Core Impl 2.1.5
> Apache Tomcat 7.0.26
> all browsers
> Reporter: Pavol Pitonak
> Fix For: 5-Future
>
> Attachments: cc.zip, compositecomponent.war
>
>
> MyFaces cannot load the stylesheet for the following page with a composite component (the text is black instead of fuchsia). When RichFaces is removed from project, everything works fine (see attached project for Tomcat).
> Mar 1, 2011 3:49:48 PM org.richfaces.resource.ResourceFactoryImpl logResourceProblem
> WARNING: Resource text.ecss?db=eAHL6rC8BQAEkAIG&ln=my%252fcss was not found
> {code:title=index.xhtml|borderStyle=solid}
> <!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:my="http://java.sun.com/jsf/composite/my" >
> <h:head/>
> <h:body>
> <my:colorText text="Hello World!"/>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/colorText.xhtml|borderStyle=solid}
> <!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:composite="http://java.sun.com/jsf/composite" >
> <h:body>
> <composite:interface>
> <composite:attribute name="text" type="java.lang.String" required="true" />
> </composite:interface>
> <composite:implementation>
> <h:outputStylesheet library="my/css" name="text.ecss"/>
> <h:outputText id="text" value="#{cc.attrs.text}" styleClass="color-text" />
> <br/><br/>
> </composite:implementation>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/css/text.ecss|borderStyle=solid}
> .color-text {
> color: fuchsia;
> text-weight: bold;
> }
> {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, 4 months
[JBoss JIRA] (RF-10646) Css in composite components not found with MyFaces
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-10646?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-10646:
-------------------------------
Fix Version/s: (was: 5-Future)
> Css in composite components not found with MyFaces
> --------------------------------------------------
>
> Key: RF-10646
> URL: https://issues.jboss.org/browse/RF-10646
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.CR1, 4.2.2.Final
> Environment: RichFaces 4.0.0-SNAPSHOT SVN r.21968
> MyFaces 2.0.5-SNAPSHOT (and all older versions)
> Tomcat 6.0.29
> all browsers
> RichFaces 4.2.2.Final
> Metamer 4.2.2.Final
> Apache MyFaces JSF-2.1 Core Impl 2.1.5
> Apache Tomcat 7.0.26
> all browsers
> Reporter: Pavol Pitonak
> Attachments: cc.zip, compositecomponent.war
>
>
> MyFaces cannot load the stylesheet for the following page with a composite component (the text is black instead of fuchsia). When RichFaces is removed from project, everything works fine (see attached project for Tomcat).
> Mar 1, 2011 3:49:48 PM org.richfaces.resource.ResourceFactoryImpl logResourceProblem
> WARNING: Resource text.ecss?db=eAHL6rC8BQAEkAIG&ln=my%252fcss was not found
> {code:title=index.xhtml|borderStyle=solid}
> <!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:my="http://java.sun.com/jsf/composite/my" >
> <h:head/>
> <h:body>
> <my:colorText text="Hello World!"/>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/colorText.xhtml|borderStyle=solid}
> <!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:composite="http://java.sun.com/jsf/composite" >
> <h:body>
> <composite:interface>
> <composite:attribute name="text" type="java.lang.String" required="true" />
> </composite:interface>
> <composite:implementation>
> <h:outputStylesheet library="my/css" name="text.ecss"/>
> <h:outputText id="text" value="#{cc.attrs.text}" styleClass="color-text" />
> <br/><br/>
> </composite:implementation>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/css/text.ecss|borderStyle=solid}
> .color-text {
> color: fuchsia;
> text-weight: bold;
> }
> {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, 4 months
[JBoss JIRA] (RF-10646) Css in composite components not found with MyFaces
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-10646?page=com.atlassian.jira.plugin.s... ]
Brian Leathem commented on RF-10646:
------------------------------------
Pavol, is this still a valid issue with the latest myfaces releases?
> Css in composite components not found with MyFaces
> --------------------------------------------------
>
> Key: RF-10646
> URL: https://issues.jboss.org/browse/RF-10646
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: base functionality
> Affects Versions: 4.0.0.CR1, 4.2.2.Final
> Environment: RichFaces 4.0.0-SNAPSHOT SVN r.21968
> MyFaces 2.0.5-SNAPSHOT (and all older versions)
> Tomcat 6.0.29
> all browsers
> RichFaces 4.2.2.Final
> Metamer 4.2.2.Final
> Apache MyFaces JSF-2.1 Core Impl 2.1.5
> Apache Tomcat 7.0.26
> all browsers
> Reporter: Pavol Pitonak
> Assignee: Nick Belaevski
> Fix For: 5-Future
>
> Attachments: cc.zip, compositecomponent.war
>
>
> MyFaces cannot load the stylesheet for the following page with a composite component (the text is black instead of fuchsia). When RichFaces is removed from project, everything works fine (see attached project for Tomcat).
> Mar 1, 2011 3:49:48 PM org.richfaces.resource.ResourceFactoryImpl logResourceProblem
> WARNING: Resource text.ecss?db=eAHL6rC8BQAEkAIG&ln=my%252fcss was not found
> {code:title=index.xhtml|borderStyle=solid}
> <!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:my="http://java.sun.com/jsf/composite/my" >
> <h:head/>
> <h:body>
> <my:colorText text="Hello World!"/>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/colorText.xhtml|borderStyle=solid}
> <!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:composite="http://java.sun.com/jsf/composite" >
> <h:body>
> <composite:interface>
> <composite:attribute name="text" type="java.lang.String" required="true" />
> </composite:interface>
> <composite:implementation>
> <h:outputStylesheet library="my/css" name="text.ecss"/>
> <h:outputText id="text" value="#{cc.attrs.text}" styleClass="color-text" />
> <br/><br/>
> </composite:implementation>
> </h:body>
> </html>
> {code}
> {code:title=resources/my/css/text.ecss|borderStyle=solid}
> .color-text {
> color: fuchsia;
> text-weight: bold;
> }
> {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, 4 months