Add <wicket:tagholder> as tag place holder to make template validated 
----------------------------------------------------------------------

                 Key: WICKET-11
                 URL: http://issues.apache.org/jira/browse/WICKET-11
             Project: Wicket
          Issue Type: New Feature
          Components: wicket
            Reporter: Ingram Chen


I occasionally encounter a problem, for example, a template like:

<tr>
    <span wicket:id="groupAB">
       <td>field A</td>
       <td>field B</td>
    </span>
    <td>field C</td>
</tr>

groupAB is just functional group and will always setRenderBodyOnly(true), so 
rendered page will be validated.
But the problem is the template is not validated... Is it possible to create a 
psuedo tag like:

<tr>
    <wicket:pseudo wicket:id="groupAB">
       <td>field A</td>
       <td>field B</td>
    </wicket:pseudo>
    <td>field C</td>
</tr>

or something like <wicket:tagholder>. Such tag does nothing and always render 
body only.
By separating namespace, it makes template clean and validated.



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to