struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Peak" <>
Subject RE: Model 2 with a half-order of X
Date Wed, 12 Mar 2003 17:58:02 GMT
Another alternative ..

1) have the Action handle the DOM bean
2) Attach a Tiles Controller to your body tile that can do the final view
preparation, with CSS help.

Your steps 2 and 3 sound like "view presentation logic" that probably makes
sense to put into a Tile, rather than an Action. This also avoids Action


For more info on controllers see

-----Original Message-----
From: Jeff Smith []
Sent: Wednesday, March 12, 2003 12:03 PM
To: Struts Users Mailing List
Subject: Re: Model 2 with a half-order of X

Thanks to all who responded. After reading those suggestions and wading
through the billion or so pages on XML technologies, I'm going to tackle it
this way:

1) I'm already using header/footer/body tiles to construct the pages, so I
can isolate my problem to just generating the doc itself in the document
display tile.

2) I'm going to use a three-step action to view the doc.
    Step 1: Assemble the doc from the database elements into an XML DOM bean
and stick that in the request scope.
    Step 2: Chain to another action that applies content summarization
filters and places an HTML fragment into the request scope
    Step 3: Render the fragment into the tile (via the JSP) and rely on CSS
classes to "skin" the display on the client side
    (Although, steps 1 and 2 may collapse into a single action when I get
into the thick of it.)

I'll post a summary of results back here if anybody is interested.

Does anybody have any recommendations regarding the merits of JAXP vs.
Xerces/Xalan or maybe a plug for a 3rd alternative for implementing the XML
engine stuff? (I'm particularly interested in notes on performance and


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

View raw message