Christian Meunier wrote:
I am trying to use some custom UI components but i dont understand how
the body of the <ww:component> tag is used.
For example i have the following UI component:
test.vm
--------------------------------------------------------------------------------------------
<div class="lightOrange" style="position:relative; width: 274px;
height: 103px;">
<div class="absoluteTopLeft"><img
src="../images/ui/corner_TL_${tag.Params.color}.gif" border="0"></div>
<div class="absoluteTopRight"><img
src="../images/ui/corner_TR_${tag.Params.color}.gif" border="0"></div>
<div class="absoluteBottomLeft"><img
src="../images/ui/corner_BL_${tag.Params.color}.gif" border="0"></div>
<div class="absoluteBottomRight"><img
src="../images/ui/corner_BR_${tag.Params.color}.gif" border="0"></div>
<div style="padding:10px;">[TAG BODY SHOULD GO HERE]</div>
</div>
----------------------------------------------------------------------------------------------
I use the above UI like this :
<ww:component name="test" template="test.vm" theme="/WEB-INF/vlt/theme1">
<ww:param name="color" value="'lightOrange'"/>
the content of my tag etc......
</ww:component>
The issue is that the tag body is printed before the rendering of the
vlt and how i can reference the tag body in the vlt to use it ?
Ideally i should be able to use something like ${tag.Body}
How do you solve this ? Do i use the component UI the wrong way ?
Thanks in advance for any tips.
Christian Meunier
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click
here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
Just submitted a patch to allow the vlt to retrieve the content of the tag.
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork