[
https://jira.jboss.org/jira/browse/RF-5374?page=com.atlassian.jira.plugin...
]
Alexandr Levkovsky logged work on RF-5374:
------------------------------------------
Author: Alexandr Levkovsky
Created on: 22/Dec/08 10:54 AM
Start Date: 22/Dec/08 10:54 AM
Worklog Time Spent: 4 hours
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes (was: 4 hours)
Time Spent: 4 hours
Editor: onchange, onsave, oninit and onsetup callbacks do not work if
was defined using f:param.
------------------------------------------------------------------------------------------------
Key: RF-5374
URL:
https://jira.jboss.org/jira/browse/RF-5374
Project: RichFaces
Issue Type: Bug
Components: planning_all
Affects Versions: 3.3.0
Environment: 3.3.0.BETA3
Reporter: Alexander Dubovsky
Assignee: Alexandr Levkovsky
Fix For: 3.3.0
Original Estimate: 4 hours
Time Spent: 4 hours
Remaining Estimate: 0 minutes
onchange, onsave, oninit and onsetup callbacks do not work if was defined using f:param.
Example:
<script type="text/javascript">
function myCustomOnChangeHandler(event,inst) {
alert("Some one modified something");
alert("The HTML is now:" + inst.getBody().innerHTML);
}
</script>
<h:form>
<rich:editor id="editorID" value="#{editor.value}" >
<f:param name="onchange_callback"
value="myCustomOnChangeHandler"/>
</rich:editor>
<a4j:commandButton reRender="editorID"
value="reRender"></a4j:commandButton>
</h:form>
--
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