[JBoss JIRA] (RF-12833) richfaces.js conflicts with prototype.js
by Mark Torres (JIRA)
[ https://issues.jboss.org/browse/RF-12833?page=com.atlassian.jira.plugin.s... ]
Mark Torres updated RF-12833:
-----------------------------
Attachment: RF-12833.patch
Any reason why the following attached patch won't work? This pattern seem to be used in the other js files in richfaces-core.
One of the issues is that inside richfaces.js, there are references to $, which it expects to be jQuery. This is usually occupied by prototype.
> richfaces.js conflicts with prototype.js
> ----------------------------------------
>
> Key: RF-12833
> URL: https://issues.jboss.org/browse/RF-12833
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-a4j-core
> Affects Versions: 4.3.1
> Reporter: Mark Torres
> Fix For: 5-Tracking
>
> Attachments: RF-12833.patch
>
>
> Getting some javascript errors on richfaces.js.
> Upon inspection, it is using
> (function(jQuery, richfaces) {
> ...
> instead of
> (function($, richfaces) {
> ...
--
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, 11 months
[JBoss JIRA] (RF-12907) render="@form" problem with a4jCommand Button / Link / @all
by Jean ANDRE (JIRA)
[ https://issues.jboss.org/browse/RF-12907?page=com.atlassian.jira.plugin.s... ]
Jean ANDRE edited comment on RF-12907 at 4/15/13 11:36 AM:
-----------------------------------------------------------
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, it works. So, it is clear that using "@all" does not have the same effect as using only the id. Why refreshing the whole page makes our page having a bad behavior than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
was (Author: jorelia64):
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, it works. So, it is clear that using "@all" does not have the same effect as using only the id. Why refreshing the whole page is worse than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
> render="@form" problem with a4jCommand Button / Link / @all
> -----------------------------------------------------------
>
> Key: RF-12907
> URL: https://issues.jboss.org/browse/RF-12907
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.1
> Environment: JSF Mojarra 2.1.21 or 2.1.20 - Glassfish or WAS 8.0.0.x Servlet 3.0 or 2.5
> Reporter: Jean ANDRE
> Priority: Blocker
> Labels: waiting_on_user
> Attachments: Nested-Spring-3.2.2.zip, NestedEar-CDI.zip
>
>
> Please see the report at: http://java.net/jira/browse/JAVASERVERFACES-2016
> It seems that that there is a problem with a4j button and the value of @form/render attribute.
> The symptom we got is after refreshing the panel for building a list. Click on link form the result lisk does not trigger the action.
--
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, 11 months
[JBoss JIRA] (RF-12907) render="@form" problem with a4jCommand Button / Link / @all
by Jean ANDRE (JIRA)
[ https://issues.jboss.org/browse/RF-12907?page=com.atlassian.jira.plugin.s... ]
Jean ANDRE edited comment on RF-12907 at 4/15/13 11:35 AM:
-----------------------------------------------------------
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, it works. So, it is clear that using "@all" does not have the same effect as using only the id. Why refreshing the whole page is worse than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
was (Author: jorelia64):
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, it works. So, it is clear that using "@all" does not have the same effect of using only the id. Why refreshing the whole page is worse than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
> render="@form" problem with a4jCommand Button / Link / @all
> -----------------------------------------------------------
>
> Key: RF-12907
> URL: https://issues.jboss.org/browse/RF-12907
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.1
> Environment: JSF Mojarra 2.1.21 or 2.1.20 - Glassfish or WAS 8.0.0.x Servlet 3.0 or 2.5
> Reporter: Jean ANDRE
> Priority: Blocker
> Labels: waiting_on_user
> Attachments: Nested-Spring-3.2.2.zip, NestedEar-CDI.zip
>
>
> Please see the report at: http://java.net/jira/browse/JAVASERVERFACES-2016
> It seems that that there is a problem with a4j button and the value of @form/render attribute.
> The symptom we got is after refreshing the panel for building a list. Click on link form the result lisk does not trigger the action.
--
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, 11 months
[JBoss JIRA] (RF-12907) render="@form" problem with a4jCommand Button / Link / @all
by Jean ANDRE (JIRA)
[ https://issues.jboss.org/browse/RF-12907?page=com.atlassian.jira.plugin.s... ]
Jean ANDRE edited comment on RF-12907 at 4/15/13 11:22 AM:
-----------------------------------------------------------
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, it works. So, it is clear that using "@all" does not have the same effect of using only the id. Why refreshing the whole page is worse than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
was (Author: jorelia64):
Another clue: We made the following test by adding the @all for the render attribute for the "NEW LIST" button and we need to click twice to open the file, removing it, the it works. So, it is clear that using "@all" does not have the same effect of using only the id. Why refreshing the whole page is worse than refreshing only some parts of the page ?
{code}
render="desktopTabs menuOpenedTabs @all"
{code}
> render="@form" problem with a4jCommand Button / Link / @all
> -----------------------------------------------------------
>
> Key: RF-12907
> URL: https://issues.jboss.org/browse/RF-12907
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.1
> Environment: JSF Mojarra 2.1.21 or 2.1.20 - Glassfish or WAS 8.0.0.x Servlet 3.0 or 2.5
> Reporter: Jean ANDRE
> Priority: Blocker
> Labels: waiting_on_user
> Attachments: Nested-Spring-3.2.2.zip, NestedEar-CDI.zip
>
>
> Please see the report at: http://java.net/jira/browse/JAVASERVERFACES-2016
> It seems that that there is a problem with a4j button and the value of @form/render attribute.
> The symptom we got is after refreshing the panel for building a list. Click on link form the result lisk does not trigger the action.
--
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, 11 months
[JBoss JIRA] (RF-12907) render="@form" problem with a4jCommand Button / Link / @all
by Jean ANDRE (JIRA)
[ https://issues.jboss.org/browse/RF-12907?page=com.atlassian.jira.plugin.s... ]
Jean ANDRE edited comment on RF-12907 at 4/15/13 11:20 AM:
-----------------------------------------------------------
I've also updated the code to trigger the error (paneOne.xhtml).
{code}
<!-- -->
<!-- NEW LIST -->
<!-- -->
<a4j:commandButton id="newListCmd"
value="#{msg['common.command.new.list']}"
action="#{panelOneController.doNewList}"
render="@form"
status="ajaxStatus" /> 
<!-- render="desktopTabs,menuOpenedTabs" -->
{code}
Once you get the list (listItem.xhtml) from the search panel, clicking on the "Open" link, trigger the behavior. Replacing the "@form" by the commented line, it works - @form, does not work.
was (Author: jorelia64):
I've also updated the code to trigger the error (paneOne.xhtml).
{code}
<!-- -->
<!-- NEW LIST -->
<!-- -->
<a4j:commandButton id="newListCmd"
value="#{msg['common.command.new.list']}"
action="#{panelOneController.doNewList}"
render="@form"
status="ajaxStatus" /> 
<!-- render="desktopTabs,menuOpenedTabs" -->
{code}
Once you get the list (listItem.xhtml) from the search panel, clicking on the "Open" link, trigger the behavior. Replacing the "@form" by the commented line, does not.
> render="@form" problem with a4jCommand Button / Link / @all
> -----------------------------------------------------------
>
> Key: RF-12907
> URL: https://issues.jboss.org/browse/RF-12907
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 4.2.3.Final, 4.3.1
> Environment: JSF Mojarra 2.1.21 or 2.1.20 - Glassfish or WAS 8.0.0.x Servlet 3.0 or 2.5
> Reporter: Jean ANDRE
> Priority: Blocker
> Labels: waiting_on_user
> Attachments: Nested-Spring-3.2.2.zip, NestedEar-CDI.zip
>
>
> Please see the report at: http://java.net/jira/browse/JAVASERVERFACES-2016
> It seems that that there is a problem with a4j button and the value of @form/render attribute.
> The symptom we got is after refreshing the panel for building a list. Click on link form the result lisk does not trigger the action.
--
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, 11 months