[struts2] Taglib and freemarker -> insert bodyContent

O

OTB

Hi, I succeeded to create a taglib using a ftl template.
I can esaly access from the template to my parameters with
${parameters.XXX},
but how to insert, inside my template, the body content of my tag ?

I would like to generate this :

START
some large generated stufff
my <b>custom</b>content
some large generated stuff2
END


with that code :

START
<tag:test>
my <b>custom</b> content
</tag:test>
END


Thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,163
Latest member
Sasha15427
Top