Tapestry 5
  1. Tapestry 5
  2. TAP5-1098

Provide new SelectModelFactory service that can automatically build a standard SelectModel from objects and property names

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.0
    • Component/s: tapestry-core
    • Labels:
      None

      Description

      Something like

      SelectModel model = selectModelFactory.createModel("id", "name", users)

      where users is a Collection of objects of the same type, having properties id (the server side value) and name (the client-side label).

      Maybe variations for other cases, such as when the object itself is the server-side value (i.e., a Hibernate entity).

        Activity

        Hide
        Hudson added a comment -

        Integrated in tapestry-5.2-freestyle #170 (See http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/170/)

        Show
        Hudson added a comment - Integrated in tapestry-5.2-freestyle #170 (See http://hudson.zones.apache.org/hudson/job/tapestry-5.2-freestyle/170/ )

          People

          • Assignee:
            Igor Drobiazko
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development