Uploaded image for project: 'Seam Faces'
  1. Seam Faces
  2. SEAMFACES-28

ObjectConverter and EntityConverter

    Details

      Description

      Given

      class Foo

      { Bar bar; // Getters and setters List<Bar> bars; // Getters and setters }

      <h:selectOneMenu value="#

      {foo.bar}

      " >
      <f:selectItems value="#

      {foo.bars}

      " var="bar" itemLabel="#

      {bar.label}

      " itemValue="#

      {bar}

      " />
      <s:convertEntity /> || <s:convertObject />
      </h:selectOneMenu>

      I want to be able to have my setter/getter reference an object and not write the boilerplate for converting to/from a string.

      I also want to reference a managed entity, and have that managed entity set back into the setter so I can see the changes updated in the database with no boilerplate, and avoid LIEs.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lightguard Jason Porter
                Reporter:
                pmuir Pete Muir
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: