struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tin Pham" <ttph...@learn.senecac.on.ca>
Subject Tiles with XML and XSL
Date Wed, 07 Jan 2004 04:30:04 GMT
Hi,

I am wondering if anybody here has mulled over the idea of using XML and XSL
with Tiles.

Right now I have a great application that makes use of Struts 1.1 with a
role based layout using Tiles. It uses the common layout we see everywhere,
header, dynamic menu, footer and of course body.

I started thinking that it would be nice to put all the content of the body
tile into an XML file. Just the content though. Including forms and buttons
might not be a good idea at this stage. Simpler would be better as my team
is still learning to be proficient with Struts.

Googled of course and did not find much.

The two approaches I am considering are,

1)
Change the reference in the tile definition of body=myContent.jsp to a kind
of composition servlet which recieves as paramaters, the xml and xslt file
to output as html (with this approach I would have to include the forms and
buttons).

2)
Make a reference to my xml and xslt server side using a custom tag in the
jsp page.

3)
Figure out a way to render this client side relying on the browser.


Any thoughts or links to resources would be greatly appreciated.




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message