Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-144

Display validation messages on components for validation issues on child objects

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Out of Date
    • Affects Version/s: 1.0 beta 2
    • Fix Version/s: The future
    • Component/s: JSF Integration
    • Labels:
      None

      Description

      I have submitted a patch to hibernate-annotations: ANN-208 (http://opensource2.atlassian.com/projects/hibernate/browse/ANN-208)
      This patch creates validation issues for child objects. The format is:

      mbean.collection[collection-index].childProperty

      Example:
      user.addresses[1].street

      This patch allows the ValidationInterceptor to attempt to find the "street" UIComponent. It does this by using the "dataTable" naming:

      addresses:1:street

      Which would be produced by:
      <t:dataTable var="address" value="#

      {user.addresses}

      ">
      <t:column>
      <t:inputText value="#

      {addresss.street}

      " />
      ...

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                andrew.rw.robinson Andrew
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 4 hours
                  4h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified