2008/7/9 Ivan Zucenko <[EMAIL PROTECTED]>:
> 1) I have one main layout template for many situations. There is a place
> where I want to put or not to put one special component..
>...
>  in one definition I need to show somethink in "foot" section
>  in most situation nothing.. but do not like to use empty.jsp for this.. I
> am sure I misser right solution....

I think your solution is right, except in the case you have a
"strange" result as an HTML document, such as an empty <div>. In this
case I suggest to change the template that you use.

> 2) how to include instead of value="modul/news.jsp" rather struts action
> tag..
> not to have modul/news.jsp containing:
> <s:action name="modul/news" executeResult="true"/>
>
> but i can understand you may consider too tight coupling with Struts2

See this previous e-mail:
http://www.nabble.com/Tiles2-import-Struts2-action-via-insertTemplate-td13834640.html
A template and an attribute value work mostly the same way.

Antonio

Reply via email to