struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lbastil <>
Subject [s2] templating approach / own tag?
Date Fri, 02 Nov 2007 14:42:44 GMT


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 id="headerContent">
... various different content, tables, ... and so on

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

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,
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message