]
Alexandr Levkovsky resolved RF-5374.
------------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Alexandr Levkovsky)
Fixed.
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: Tsikhon Kuprevich
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: