Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-4497

In h:inputTextArea comments are shown as value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3-next-M7
    • None
    • General
    • 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"> &lt;!-- test --&gt;</textarea>

      Comment:
      in version 2.3-next-M6 - the comment is rendered before the textarea (not inside).

      Attachments

        Activity

          People

            Unassigned Unassigned
            sidvi Vitaly Sidorov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: