Tiles (and in Struts 1? Tiles) :-)

http://struts.apache.org/1.x/struts-tiles/


-Rod

-----Original Message-----
From: lbastil [mailto:[EMAIL PROTECTED] 
Sent: Friday, November 02, 2007 10:43
To: user@struts.apache.org
Subject: [s2] templating approach / own tag?


Hi,

I want to archive the following:

I noticed in my page code often this redundant structure:
(dynamic parts in [])


<div id="headerTitle">
[Header Section Name]
</div>
<div id="headerContent">
[
... various different content, tables, ... and so on
]
</div>

Now I would like to create some parameterized template, something I could
call like:
(pseudocode):
<Section title="[Header Section Name]">
[
... various different content, tables, ... and so on
]
</Section>

which produces the code shown above dynamically.

How can I do this most easy with struts2 framework?
(in struts1 I would have created an own tag)

thank you in advance,
basti
-- 
View this message in context:
http://www.nabble.com/-s2--templating-approach---own-tag--tf4737793.html#a13
548784
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to