Details

    • Type: Sub-task Sub-task
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2 Sprint 8
    • Fix Version/s: None
    • Component/s: Validation/Conversion
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      543
    • Status Whiteboard:
      Hide

      cat2 frame size_medium importance_medium

      Show
      cat2 frame size_medium importance_medium

      Description

      Consider this using page

      <h:form>
      <h:inputText value="#{person.name" />
      <h:inputText value="#{person.email" />

      <ez:address person="#

      {person"}

      >
      <f:validateBean />
      </ez:address>

      </h:form>

      and this composite component

      <comp:interface>
      <comp:attribute name="person" />
      <comp:editableValueHolder target="street" />
      <comp:editableValueHolder target="city" />
      </comp:interface>

      <comp:implementation>
      <h:inputText value="#

      {cc.attrs.person.address.street}

      " />
      <h:inputText value="#

      {cc.attrs.person.address.city}

      " />
      </comp:implementation>

      I'd like to be able to simply put the JSR-303 @Valid annotation on the entire Person bean and know that
      the fields will be validated appropriately according to the rules for that annotation. Currently I don't
      think this is possible.

        Activity

        Ed Burns created issue -
        Hide
        Ed Burns added a comment -

        Move to unscheduled target milestone

        Show
        Ed Burns added a comment - Move to unscheduled target milestone
        Hide
        Ed Burns added a comment -

        Prepare to delete "spec" subcomponent.

        Show
        Ed Burns added a comment - Prepare to delete "spec" subcomponent.
        Hide
        rogerk added a comment -

        cat2

        Show
        rogerk added a comment - cat2
        Hide
        Ed Burns added a comment -

        frame

        Show
        Ed Burns added a comment - frame
        Hide
        Ed Burns added a comment -

        These are targeted at 2.1.

        Show
        Ed Burns added a comment - These are targeted at 2.1.
        Hide
        Ed Burns added a comment -

        triage

        Show
        Ed Burns added a comment - triage
        Hide
        Ed Burns added a comment -

        sheetalv

        Show
        Ed Burns added a comment - sheetalv
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        kenaiadmin made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 543 20148
        Hide
        gerhard_petracek added a comment -

        BV v1 doesn't allow @Valid at the class level - see:
        @Target(

        { METHOD, FIELD, CONSTRUCTOR, PARAMETER }

        )
        @Retention(RUNTIME)
        public @interface Valid {}

        What we should support is something similar - see http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-972

        Show
        gerhard_petracek added a comment - BV v1 doesn't allow @Valid at the class level - see: @Target( { METHOD, FIELD, CONSTRUCTOR, PARAMETER } ) @Retention(RUNTIME) public @interface Valid {} What we should support is something similar - see http://java.net/jira/browse/JAVASERVERFACES_SPEC_PUBLIC-972
        Ed Burns made changes -
        Parent JAVASERVERFACES_SPEC_PUBLIC-972 [ 100380 ]
        Issue Type Improvement [ 4 ] Sub-task [ 5 ]
        Hide
        Ed Burns added a comment -

        Bulk assign all of Sheetal's spec issues to me.

        Show
        Ed Burns added a comment - Bulk assign all of Sheetal's spec issues to me.
        Ed Burns made changes -
        Assignee sheetalv [ sheetalv ] Ed Burns [ edburns ]
        Ed Burns made changes -
        Assignee Ed Burns [ edburns ]
        Ed Burns made changes -
        Fix Version/s 2.3 [ 16372 ]
        Fix Version/s 2.2 [ 10403 ]
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Ed Burns made changes -
        Priority Major [ 3 ] Trivial [ 5 ]
        Fix Version/s 2.3 [ 16372 ]
        Manfred Riem made changes -
        Priority Trivial [ 5 ] Major [ 3 ]
        Hide
        Manfred Riem added a comment -

        Setting to priority Major. Please check latest iteration of BeanValidator to see if this is already working.

        Show
        Manfred Riem added a comment - Setting to priority Major. Please check latest iteration of BeanValidator to see if this is already working.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ed Burns
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: