All,

    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 funtional group and will always setRenderBodyOnly(true), so rendered page will be validated.
But the problem is the template is not validted... Is it possible to create a psuedo tag like:

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

or something like <wicket:taghoder>. such tag dose nothing and always render body only.
By seperateing namespace, it makes template clean and validated.

Currently I use <wicket:component> as tag placeholder. It works like my want but I guess wicket:component
is not for such purpose.

Any idea ?
--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to