Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

RE taking control of the struts 2 layout in a jsp

MLENEVEUT

2007-08-13

Replies:

Hi,

Copy the struts.jar templates into your application (at the root,
WebContent/templates for exemple), and modify the
WebContent/template/simple/*.ftl files at your convenience.






"Session A Mwamufiya" <smwamufi@(protected)>
13/08/2007 08:57
Veuillez répondre à
"Struts Users Mailing List" <user@(protected)>


A
user@(protected)
cc

Objet
taking control of the struts 2 layout in a jsp






Hi,

Struts displays the jsp objects the way it likes, for example, aligning
buttons on the right even if I put them inside a <div align="left"></div>
tag. Is there a way to take control of how the layout is displayed
without using the simple theme (that doesn't have a nice UI by the way)?

Thanks,
Session


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 junlu.com - Jax Systems, LLC, U.S.A.