Tapestry 5
  1. Tapestry 5
  2. TAP5-112

Define new namespace, p:, for block parameters

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Towards greater conciseness:

      How about making these equivalent:

      <t:beaneditform t:id="new" object="newPosting" submitlabel="message:post" include="title,content">

      <t:parameter name="content">
      <t:label for="content"/>
      <br/>
      <t:richtextarea t:id="content" rows="10" cols="80" value="newPosting.content"/>
      </t:parameter>

      </t:beaneditform>

      and

      <t:beaneditform t:id="new" object="newPosting" submitlabel="message:post" include="title,content">

      <p:content>
      <t:label for="content"/>
      <br/>
      <t:richtextarea t:id="content" rows="10" cols="80" value="newPosting.content"/>
      </p:content>

      Obviuosly, p: would need to be mapped to a Tapestry namespace.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development