Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.3-next-M7
-
None
-
None
Description
Problem:
If the composite component has an h:inputTextArea inside which there is a comment, then this comment will be displayed in html as the value of the component.
Playback:
1. We have a composite component
<?xml version="1.0" encoding="windows-1251"?> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://xmlns.jcp.org/jsf/html" xmlns:composite="http://xmlns.jcp.org/jsf/composite"> <composite:interface name="testTextArea" shortDescription="test"> </composite:interface> <composite:implementation> <h:inputTextarea id="test_area" rows="5" cols="8" value="#{testBean.testInfo}"> <!-- test --> </h:inputTextarea> </composite:implementation> </html>
2. Rendered html
<textarea id="j_id_26:test_area" name="j_id_26:test_area" cols="8" rows="5"> <!-- test --></textarea>
Comment:
in version 2.3-next-M6 - the comment is rendered before the textarea (not inside).