Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1503

BeanEditForm should default its object parameter to container property that matches its id

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.0
    • 5.0.5
    • tapestry-core
    • None

    Description

      This would be consistent with the more fine-grained components, such as TextField.

      It would also encourage people to give their forms a reasonable id:

      <t:beaneditform object="user"/>
      vs.
      <t:beaneditform t:id="user"/>

      The former ends up with a component id of ="beaneditform" (which shows up in URLs), the latter with "user".

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            hlship Howard Lewis Ship
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: