[richfaces-issues] [JBoss JIRA] Created: (RF-5374) Editor: onchange, onsave, oninit and onsetup callbacks do not work if was defined using f:param.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Fri Dec 12 11:18:38 EST 2008


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
    Affects Versions: 3.3.0
         Environment: 3.3.0.BETA3
            Reporter: Alexander Dubovsky
            Assignee: Alexandr Levkovsky


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

        



More information about the richfaces-issues mailing list