Hello All,
Good day.
I have integrated Struts2 with JSF.But I am not able to configure Tiles with this environment.Because I used
" <package name="jsf" extends="jsf-default"
namespace="/jsf/sample-jsf"> " in struts.xml ...
And I may use Tiles with this scenerio then I have to
"extends = "tiles-default" " in struts.xml...
So I couldn't figure out this issue And I dont know what are the entries would place in struts.xml...If anyone knows give me your suggestion..Thanks in Advance
If I remember correctly you *can* extend multiple packages. In this case it's not likely to work, but it's easy enough to try.
When/if it doesn't, you'd need to create a package that merged the two package's peculiarities together (interceptor stacks, whatever else custom they include).
Dear David Newton ,
Thanks for your suggestion , I found the solution that use of extend the multiple packages.
and I have put the entry in web.xml,struts.xml,tiles.xml files like below.Its working fine.I got the flow.
web.xml
*******
struts.xml
********
struts-jsf.xml
***********
tiles.xml
*******
Note:
I have implemented jsf tag in all jsp files (layout.jsp.header.jsp,footer.jsp.body.jsp).But i have used <f:view></f:view> in layout jsp only and I used <f:subview id="header"> ..... </f:subview > tag for every content container like header,footer,body.