Tapestry
  1. Tapestry
  2. TAPESTRY-2013

BeanEditor does not support informal parameters

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0.7
    • Fix Version/s: 5.0.8
    • Component/s: Core Components
    • Labels:
      None

      Description

      BeanEditor does not support informal parameters like BeanEditForm does.

      For example the following text area inside the BeanEditor is ignored and the default TextField is used instead. In a BeanEditForm this same <t:paramater..> element would work correctly.

      <form t:type="form" t:id="form">
      <t:errors />
      <span t:type="beaneditor" t:object="component" reorder="id,name,description" >
      <t:parameter name="description">
      <t:label for="description"/>
      <t:textarea t:id="description" cols="80" rows="5" value="mybean.description"/>
      </t:parameter>
      </span>
      </form>

        Activity

        Hide
        Mark Horn added a comment -

        email snip-it from mailing list
        -------------------------------------------------

        On 1/3/08, Howard Lewis Ship <hlship@gmail.com> wrote:
        > That is strange, it should work as you have shown it. I know this
        > behavior works ... there are unit tests to verify it.
        >
        > Ooops, please file a bug. I see the problem; BeanEditForm supports
        > informal parameters, but BeanEditor does not!

        Show
        Mark Horn added a comment - email snip-it from mailing list ------------------------------------------------- On 1/3/08, Howard Lewis Ship <hlship@gmail.com> wrote: > That is strange, it should work as you have shown it. I know this > behavior works ... there are unit tests to verify it. > > Ooops, please file a bug. I see the problem; BeanEditForm supports > informal parameters, but BeanEditor does not!
        Hide
        Howard M. Lewis Ship added a comment -

        Fixed, added test cases to ensure it works as expected.

        Show
        Howard M. Lewis Ship added a comment - Fixed, added test cases to ensure it works as expected.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Mark Horn
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development