[JBoss JIRA] (RF-13090) <rich:jQuery> named functions not working as documented
by Lukáš Fryč (JIRA)
[ https://issues.jboss.org/browse/RF-13090?page=com.atlassian.jira.plugin.s... ]
Lukáš Fryč updated RF-13090:
----------------------------
Fix Version/s: 5.0.0.Alpha2
> <rich:jQuery> named functions not working as documented
> -------------------------------------------------------
>
> Key: RF-13090
> URL: https://issues.jboss.org/browse/RF-13090
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-misc
> Affects Versions: 4.3.2
> Reporter: Vincent Wülcknitz
> Assignee: Vincent Wülcknitz
> Priority: Minor
> Fix For: 4.5.0.Alpha1, 5.0.0.Alpha2
>
> Original Estimate: 1 hour
> Remaining Estimate: 1 hour
>
> I have found some strange behaviour with the <rich:jQuery> component when you implement named functions like described in the component reference:
> http://docs.jboss.org/richfaces/latest_4_3_X/Component_Reference/en-US/ht...
> If I implement the given code from the reference:
> {code}
> <h:graphicImage width="50" value="/images/price.png" onmouseover="enlargePic(this, {pwidth:'60px'})" onmouseout="releasePic(this)" />
> <h:graphicImage width="50" value="/images/discount.png" onmouseover="enlargePic(this, {pwidth:'100px'})" onmouseout="releasePic(this)" />
> ...
> <rich:jQuery name="enlargePic" query="animate({width:options.pwidth})" />
> <rich:jQuery name="releasePic" query="animate({width:'50px'})"/>
> {code}
> only the onmouseover calls will work. The prictures will get bigger but not smaller onmouseout.
> I found out that if I do some small changes to the onmouseout call it works fine:
> {code}
> <h:graphicImage width="50" value="/images/price.png" onmouseover="enlargePic(this, {pwidth:'60px'})" onmouseout="releasePic(this,{})" />
> <h:graphicImage width="50" value="/images/discount.png" onmouseover="enlargePic(this, {pwidth:'100px'})" onmouseout="releasePic(this,{})" />
> ...
> <rich:jQuery name="enlargePic" query="animate({width:options.pwidth})" />
> <rich:jQuery name="releasePic" query="animate({width:'50px'})"/>
> {code}
> It only works when adding a second parameter to the call even if its empty.
--
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
[JBoss JIRA] (RF-13392) TreeSelectionChangeEvent always triggered during Apply Request Phase
by Brian Leathem (JIRA)
[ https://issues.jboss.org/browse/RF-13392?page=com.atlassian.jira.plugin.s... ]
Brian Leathem updated RF-13392:
-------------------------------
Fix Version/s: 5-Tracking
> TreeSelectionChangeEvent always triggered during Apply Request Phase
> --------------------------------------------------------------------
>
> Key: RF-13392
> URL: https://issues.jboss.org/browse/RF-13392
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component-tree
> Affects Versions: 4.3.3
> Reporter: Andreas Hahne
> Labels: richfaces, selectionChangeListener, tree
> Fix For: 5-Tracking
>
> Attachments: tree.zip
>
>
> When selecting a {{rich:treeNode}}, the corresponding {{selectionChangeListener}} is triggered during Apply Request Phase, no matter if the immediate attribute is set to true or false.
> This leads to a weird behaviour in our application where an output panel is filled with the data selected in the tree. Both components are located in the same {{h:form}} element (in contrast to the showcase on the RF homepage). While the value of the {{h:outputText}} component is updated correctly, the one in the {{h:inputText}} is not because it is overwritten by the old value during Update Model Phase. If the change was processed during Invoke Application Phase this would not occur most likely.
--
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