Re: using property/constant placeholder in struts config file

2011-12-19 Thread Greg Lindholm
You could also define a global result for success: /templates/application/applicationframe.jsp On Mon, Dec 19, 2011 at 1:44 AM, aum strut wrote: > Thanks Łukasz, that's a perfect approach > > 2011/12/18 Łukasz Lenart > >> Instead hardcoded result you can use expression >> >> >>     ${acti

Re: using property/constant placeholder in struts config file

2011-12-18 Thread aum strut
Thanks Łukasz, that's a perfect approach 2011/12/18 Łukasz Lenart > Instead hardcoded result you can use expression > > > ${actionFrame} > > > And create a BaseAction (as a base action for all your actions) with > getActionFrame() which will return > "/templates/application/applicationfram

Re: using property/constant placeholder in struts config file

2011-12-18 Thread Łukasz Lenart
Instead hardcoded result you can use expression ${actionFrame} And create a BaseAction (as a base action for all your actions) with getActionFrame() which will return "/templates/application/applicationframe.jsp" or whatever your want ;-) Regards -- Łukasz + 48 606 323 122 http://www.len

using property/constant placeholder in struts config file

2011-12-17 Thread aum strut
Hi All, While working in one application i came across a requirement where i need to define a constant in struts.xml file and want to use in my application.Here is the use case in our application the layout is fixed and we are using a same template throughout the application say "applicationframe