[
https://jira.jboss.org/jira/browse/RF-4222?page=com.atlassian.jira.plugin...
]
Ilya Shaikovsky commented on RF-4222:
-------------------------------------
any supports count should works for the component. This seems not nessesarry. If somebody
will provide the case where it is not works - we will investigate and fix this.
Nice to have multiple events in a4j:support tag
-----------------------------------------------
Key: RF-4222
URL:
https://jira.jboss.org/jira/browse/RF-4222
Project: RichFaces
Issue Type: Feature Request
Affects Versions: 3.2.2
Reporter: Jan Hoeve
Assignee: Nick Belaevski
Priority: Minor
Fix For: Wishes
in the a4j:support tag, it is now possible enter an event for which you want to occur
something (e.g. reRender):
<a4j:support event="onblur" reRender="usernameDecorate"/>
Sometimes it would be very userful if reRenders occur for multiple events.
For example there are two events in which you are interesed: onblur and onkeyup.
The onblur should check where a username containts valid characters (by using a regexp)
The onkeyup should display the current length of the username (in an <h:outputText
/>)
So, based on above example it would me nice if the support tag supported (hehe) more than
one event).
For example: <a4j:support event="onblur,onkeyup"
reRender="usernameDecorate"/>
I already tried to create a separate a4j:support for each event, but then only the first
one is executed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira