[jira] Created: (TAPESTRY-2510) Define new namespace, p:, for block parameters

View: New views
1 Messages — Rating Filter:   Alert me  

[jira] Created: (TAPESTRY-2510) Define new namespace, p:, for block parameters

by Tapestry - Dev mailing list :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Define new namespace, p:, for block parameters
----------------------------------------------

                 Key: TAPESTRY-2510
                 URL: https://issues.apache.org/jira/browse/TAPESTRY-2510
             Project: Tapestry
          Issue Type: Improvement
          Components: tapestry-core
    Affects Versions: 5.0.13
            Reporter: Howard M. Lewis Ship
            Priority: Minor
             Fix For: 5.1


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.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price