javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-1991

Submitted value of UIInput gets lost inside composite components

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0.3, 2.0.4, 2.1.0
    • Fix Version/s: 2.1.11, 2.2.0-m05
    • Labels:
      None
    • Environment:

      JDK 1.6, Tomcat 6

    • Status Whiteboard:
      Hide

      size_large importance_medium

      Show
      size_large importance_medium
    • Tags:

      Description

      When a UIInput component are nested inside composite components, its submittedValue gets lost and is not rendered on validation errors.

      This simple example fails:
      <myCC:layout>
      <h:inputText>
      <f:validateLength minimum="20"/>
      </h:inputText>
      </myCC:layout>

      The issue is present if the composite component inserts its childs with <cc:insertChildren />. When using facets with <cc:renderFacet /> it works correctly.

      This issue seems to have a strong relation to JAVASERVERFACES-1825 because the conditions and possible workarounds are very similar.
      Both bugs are really blockers. Composite components become useless this way.

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Ed Burns
              Reporter:
              Mathias Werlitz
            • Votes:
              15 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: