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

Alexandr Levkovsky (JIRA) jira-events at lists.jboss.org
Fri Dec 12 09:18:36 EST 2008


     [ https://jira.jboss.org/jira/browse/RF-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandr Levkovsky updated RF-5325:
-----------------------------------

    Due Date:     (was: 21/Dec/08)


> Editor: onsave event problem.
> -----------------------------
>
>                 Key: RF-5325
>                 URL: https://jira.jboss.org/jira/browse/RF-5325
>             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: 2 hours
>  Remaining Estimate: 2 hours
>
> 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