Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-28 Thread Nuwan Chandrasoma
Hi, I think you have to change the actionerror.ftl and actionmessage.ftl file to customize the error/message display. i am not sure there may be some other way to do this also. Thanks, Nuwan Bhuwan wrote: Hey! I am having the same issue. Have you found out a solution for it by any chance?

Re: Struts 2 scope

2007-07-28 Thread Nuwan Chandrasoma
Hi, why don't you implement the SessionAware interface, so you have access to the session. then you can add what every objects you want to the session.hope this will help you. http://struts.apache.org/2.0.8/docs/how-do-we-get-access-to-the-session.html Thanks, Nuwan Bhuwan wrote: I am ha

Re: Struts 2 scope

2007-07-28 Thread Bhuwan
I am having the same issue... Can someone help? VictorR wrote: > > Hi all, > > I am trying to develop a web application with struts 2 framework. I have > an Action with a member attribute (a Collection of TO's). > > My firsts question is about the scope of the Action I have implemented. > How

Re: How to format the actionerrors and actionmessages in the jsp page?

2007-07-28 Thread Bhuwan
Hey! I am having the same issue. Have you found out a solution for it by any chance? Your help is greatly appreciated. Bhuwan. M.Liang Liu wrote: > > Hi,all: > I would like to add header and footer to the actionerrors so as to it can > display in the way my client like. > In Struts1.2,i can

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Adam Hardy
Sounds like a whole portal - quite a broad scope for a webapp. I guess you are using iframes so that you can flow each iframe thro further requests without losing the state in the other iframes or the main page. The app that I'm working on has several different tabs, but all within a single page

RE: struts buttons to invoke actions

2007-07-28 Thread Himanshu Ranavat
hey to get things moving u cud try to add the method attribute in the submit tags. u can try to fill in "execute" in that or just create a new method which does what execute does. this is more like bruteforce i think and i havent tried it either. Himanshu -Original Message- From: Ses

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
In our case, it's not the initial load that was killing us... well, it *was* a little too long (and we have a very nice Please Wait with spinning gears and such during that period)... the problem is the underlying requirements for the application. Let me try and give a brief background (althou

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Adam Hardy
Frank W. Zammetti on 28/07/07 16:10, wrote: Martin Gainty wrote: -where you able to collect metrics for scenarios other than expire headers of 1 hour..perhaps 2 hours? No, we debated various times but settled on one hour because that seemed a reasonable period of time to account for JS change

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
Martin Gainty wrote: Hi Frank- My apologies for jumping in the middle of a thread No need to apologize, I did the same thing! LOL -could you elaborate on what you used for a 'custom build'? Yes... Dojo supports the ability to create a custom build, where you get a dojo.js file out that co

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
Nuwan Chandrasoma wrote: Hi Frank, First of all thanks for these tips.., we did the custom dojo build For anyone reading, this is an especially important tip if your app is being access on a WAN or public Internet. Our app is a backoffice app, but we have a lot of people coming in over VPN

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Nuwan Chandrasoma
Hi Frank, First of all thanks for these tips.., we did the custom dojo build and parseWidget tag setting also. but we havent done the 2nd and 3rd tips you have given here., i have a small doubt when it comes to moving static resource to the web server. will there be any problem when it comes

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Martin Gainty
Hi Frank- My apologies for jumping in the middle of a thread -could you elaborate on what you used for a 'custom build'? -which webserver are you implementing? -where you able to collect metrics for scenarios other than expire headers of 1 hour..perhaps 2 hours? Kudos for attaining astounding

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Frank W. Zammetti
I have a very complex app using Dojo that just went live a few weeks ago (although *not* using S2), and this past week we got a 70+% performance improvement out of it. We did three things Dojo-related. First, we used a custom build (previously we just let Dojo import whatever it needed on the

Re: multiple struts-config files -> empty Tiles Page

2007-07-28 Thread Antonio Petrelli
2007/7/27, Kim Wegerle <[EMAIL PROTECTED]>: > 23:36:43,468 DEBUG JspServlet:251 - RealPath: > C:\Programmierung\Repositories\Hockey\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\webapps\GRL\administration\WEB-INF\tiles-fragments\layout.jsp I think I got it. The path prefix introd

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Nuwan Chandrasoma
Hi, we also had the similar problem, we had a s1.x application with dojo and we did all the performance enhancements that was recommended by dojo, but we could not achive what we want and our application was running in https mode. it add more performance problem to the application. Thanks,

Re: [S2] Ajax performance optimisation

2007-07-28 Thread Adam Hardy
Jason Wyatt on 27/07/07 08:55, wrote: I've been trying to speed up the Ajax performance of our application, based on the notes at http://cwiki.apache.org/WW/performance-tuning.html I'm a bit unsure where I should extract the static content to, such as the css and javascript files included by the