[ 
https://issues.apache.org/jira/browse/TOMAHAWK-1307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631457#action_12631457
 ] 

Paul Rivera commented on TOMAHAWK-1307:
---------------------------------------

I was able to replicate your problem and do some initial investigation.  I 
think the problem is in the kupueditor.js.
Checking the javascript function _serializeOutputToString(), the content 
generated is:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
<html 
xmlns="http://www.w3.org/1999/xhtml";><head><title></title></head><body>#000000</body></html>

the content "<body>#000000</body>" is generated by:
Sarissa.serialize(transform.getElementsByTagName("body")[0])

This then gets decoded by the InputHtmlRenderer and saved in your backing bean.

I'll look more into this

> #000000 is displayed in inputHtml
> ---------------------------------
>
>                 Key: TOMAHAWK-1307
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1307
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Html Editor
>         Environment: Windows OS
>            Reporter: Tony
>
> The <t:inputHtml> field is initially blank. First I perform a submit on a 
> page with required data, then the error messages are displayed.
> Then I click a <t:commandLink> to perform a lookup and return return to the 
> page with the inputHtml, #000000 text is in the inputHtml field.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to