Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-112

Define new namespace, p:, for block parameters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15
    • 5.1.0.0
    • None
    • 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: