JSTL ‘<c:import ‘ may be the solution , this enables to load external resources outside of the current domain. Thanks for the great Idea. Thanks Emil
On Wed, Nov 25, 2009 at 5:35 PM, Saeed Iqbal <saee...@gmail.com> wrote: > So you want a decorator outside the domain of application to decorate your > items? > > If so then I also do something similar. I jsp include inside my decorators > because i have some pages that do not use decorators to be able to change > at > one place and reflect in others. These pages however use some of jsp > include > files. > > On Wed, Nov 25, 2009 at 5:12 PM, emil thushanga <thusha...@gmail.com> > wrote: > > > Thanks lot for the reply, > > > > I have one business model application based on spring, guess I have 400 > S2 > > Client web apps. In every S2 web app use common template to display > > retrieved dynamic listing based on the region. What I want to use one > > decorator (Sitemesh) or template (Tiles) to use in every S2 web app. > > Because > > it is required to be changed, the entire client sites in one > modification. > > If > > I can centralize the decorator to use in every application it is > possible, > > unfortunately Sitemesh or tiles doesn’t have support for that kind of > > feature yet. > > > > Thanks > > > > Emil > > > > On Wed, Nov 25, 2009 at 4:48 PM, Saeed Iqbal <saee...@gmail.com> wrote: > > > > > IMO Presentation logic is your Action Beans and if you want to re-use > > > decorator you can reuse the JSP > > > > > > I guess I dont understand your needs. > > > > > > On Wed, Nov 25, 2009 at 4:30 PM, emil thushanga <thusha...@gmail.com> > > > wrote: > > > > > > > Hi All, > > > > > > > > I am currently developing a large website; witch is having more than > > > > 400 client websites, each and every web app is relying on one single > > > > business model which is done by spring. So the business logic is > being > > > > reused here. But I want my presentation logic also to be reused in > > every > > > > web > > > > app. that will beneficial to change the presentation logic using one > > > > update. > > > > I tried with Apache tiles and Sitmesh, but I was unable to find a > > > solution. > > > > Please suggest me any solution? or any resource? > > > > > > > > thanks > > > > Emil > > > > > > > > > > > > > > > > -- > > > Saeed Iqbal > > > CEO > > > http://www.iqbalconsulting.com > > > Struts - J2EE - Application Architects and Developers > > > > > > > > > > > -- > > Emil Thushanga > > > > > > -- > Saeed Iqbal > CEO > http://www.iqbalconsulting.com > Struts - J2EE - Application Architects and Developers > -- Emil Thushanga