Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Jeromy Evans
Best option: The dojo version in 2.0.6 supports the 'separateScripts' attribute, so you can create your own div.ftl template that always includes this attribute set to true for the div (that's what I did) . Just modify the existing ajax div template and create your own theme containing just th

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread jdemic
Thanks Jeromy, is there anywhere that points out what all the embedded javascript is? I suspect i might be missing an include which is causing the validation errors not to render... Jeromy Evans - Blue Sky Minds wrote: > > Assuming you're using an for the tab that contains > your form, the s

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Jeromy Evans
Assuming you're using an for the tab that contains your form, the scripts are 'stripped out' due to this bug: https://issues.apache.org/struts/browse/WW-1766 Your work-round to include the scripts manually should work if you include ALL the missing embedded javascript. jdemic wrote: Thanks f

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Musachy Barroso
Those scripts are included by the head tag if I don't remember wrong, so set theme="xhtml" or "css_xhtml" (on the head tag). I haven't use DWR before so I can't help you much. Did you configure it on web.xml? Rest assured that ajax validation is way easier in 2.1 (just add an interceptor to your

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread jdemic
Thanks for the pointer Musachy. I compared the html of both and it seems like the following was missing with the jsp displayed in the tabbedPanel: I manually added these to our header.jsp and I can now see struts sending the validation request to dwr. The validation messages are not disp

Re: TabbedPanel and Ajax Validation

2007-05-22 Thread Musachy Barroso
I don't see the tabPanel, assuming this is the jsp without it. Compare the generated html with/without the tabPanel, there should be a validation function in both. musachy On 5/22/07, jdemic <[EMAIL PROTECTED]> wrote: Hey All, I'm attempting to perform ajax validation in a tabbedPanel and I'