Re: S2 Ajax : Static files - what, where?

2007-08-29 Thread j alex
I copied over all the FTL files in simple theme to a new directory mytheme and modify the ones i need to ; don't think this is technically extension, but does the job . -Joseph On 8/29/07, Oleg Mikheev [EMAIL PROTECTED] wrote: j alex wrote: Since i cannot use the Ajax/XHTML theme due to UI

Re: S2 Ajax : Static files - what, where?

2007-08-29 Thread j alex
Oleg, If you don't mind can you please paste the script includes and directory structure where you placed the actual files (in relation to the webapp root). I tried going thru the saved HTML output from S2 showcase example and got a bunch of js files ; but not able to place them correctly in the

Re: S2 Ajax : Static files - what, where?

2007-08-29 Thread Oleg Mikheev
j alex wrote: If you don't mind can you please paste the script includes and directory structure where you placed the actual files (in relation to the webapp root). I tried going thru the saved HTML output from S2 showcase example and got a bunch of js files ; but not able to place them

S2 Ajax : Static files - what, where?

2007-08-28 Thread j alex
Hi, I'm using Websphere and am still stuck with using Ajax for validations ; since i'm not able to install the right patch etc. The performance tuning tip says copy the static content from the Struts 2 jar when using the Ajax theme . Can someone please give me the steps to do this ? . I need to

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
j alex wrote: I'm using Websphere and am still stuck with using Ajax for validations ; since i'm not able to install the right patch etc. The performance tuning tip says copy the static content from the Struts 2 jar when using the Ajax theme . Can someone please give me the steps to do this ? .

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread j alex
I understand your pt. abt performance, but my problem is howto get Ajax working in the first place. The primary reason i need to copy the static files is because i need to customize them in terms of the error message presentation ; and also because i'm using Websphere which is not resolving the

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
j alex wrote: i need to customize them in terms of the error message presentation ; and also because i'm using Websphere which is not resolving the references from the JAR directly. Concerning customization - you don't need to edit anything, you can just introduce your own JavaScript function

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
j alex wrote: How can i get some insight into the js functions invoked for Ajax validation? ; unless i know what they are i cannot override them :-) . Looking at the example showcase, i only see the s:head theme=ajax/ and seems it does all the magic It does, but to customize it you have to

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread j alex
How can i get some insight into the js functions invoked for Ajax validation? ; unless i know what they are i cannot override them :-) . Looking at the example showcase, i only see the s:head theme=ajax/ and seems it does all the magic On 8/28/07, Oleg Mikheev [EMAIL PROTECTED] wrote: j alex

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread j alex
Thanks Oleg ; i am able to override the validation js functions on the showcase example in Tomcat. Since i cannot use the Ajax/XHTML theme due to UI layout issues , i'm having a custom theme that extends simple ; i wanted to know if this validation really depends on having theme=ajax I replaced

Re: S2 Ajax : Static files - what, where?

2007-08-28 Thread Oleg Mikheev
j alex wrote: Since i cannot use the Ajax/XHTML theme due to UI layout issues , i'm having a custom theme that extends simple ; i wanted to know if this validation really depends on having theme=ajax I replaced s:head theme=ajax / with the equivalent javascript includes, and it seems to work