[richfaces-issues] [JBoss JIRA] Created: (RF-5325) Editor: onsave event problem.

Alexander Dubovsky (JIRA) jira-events at lists.jboss.org
Thu Dec 11 05:21:36 EST 2008


Editor: onsave event problem.
-----------------------------

                 Key: RF-5325
                 URL: https://jira.jboss.org/jira/browse/RF-5325
             Project: RichFaces
          Issue Type: Bug
    Affects Versions: 3.3.0
         Environment: 3.3.0.BETA3
            Reporter: Alexander Dubovsky
            Assignee: Alexandr Levkovsky


following code does not work (onsave function return "undefined" value):

<head>
	<script type="text/javascript" language="javascript">
		function myCustomSaveContent(element_id, html, body) {
			// Do some custom HTML cleanup
			return html;
		}
	</script>
	</head>
	<body>
	<h:form>
		<rich:editor onsave="myCustomSaveContent(element_id, html, body)"></rich:editor>
		<h:commandButton value="submit()" />
	</h:form>
	</body>

-- 
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