Error on Action, Form and on org.apache.struts names while changing .classpath file

2007-10-06 Thread Arunkumar Balasubramanian
Hi I was updating .classspath file as compatible to source code which I have inserted inside workspace. The reason for doing this is to make .classpath file compile java files and put in classes folder as specified. I was running in to issues like if I update .classpath file, then I am

How to improve dojo performance in Struts 2.0.9

2007-10-06 Thread Jeromy Evans
I thought I'd share the instructions I prepared for creating a dojo 0.4.2 custom profile for Struts 2.0.9. The objective is to bundle all the required dojo resources into dojo.js to avoid the numerous slow sequential requests for resources. This makes a massive performance improvement to the

Re: How to improve dojo performance in Struts 2.0.9

2007-10-06 Thread Wes Wannemacher
Jeromy, I didn't verify that this works (because I am pretty sure it probably would), but have you thought about putting it in the community wiki? This topic comes up quite often and it would be helpful to many people. -Wes On 10/6/07, Jeromy Evans [EMAIL PROTECTED] wrote: I thought I'd share

[OT] Re: Error on Action, Form and on org.apache.struts names while changing .classpath file

2007-10-06 Thread Dave Newton
--- Arunkumar Balasubramanian wrote: I was updating .classspath file If you need to change these settings it's generally better to do it from within the Eclipse UI by right-clicking on the project and choosing Properties from the context menu, then selecting Java Build Path and defining what

Re: How to improve dojo performance in Struts 2.0.9

2007-10-06 Thread Musachy Barroso
I'm doing this by hand on the profile for 2.1 (profile and instructions on how to build are on the dojo plugin folder), but we need to get it done with maven so it is part of the build process, if any maven guru would like to help with that, feel free to jump in :) regards musachy On 10/6/07,

Re: why would error-page be *appended* to my jsp?

2007-10-06 Thread Laurie Harper
Chris Pratt wrote: Most likely the error wasn't detected until the page had been committed. Once the headers and the first part of the page have been sent to the browser, there's no way to recall them to display the error page, so the best that can be done is adding the error to the bottom.

Re: Ajax forms not working - Problem with scriptaculous and dojo

2007-10-06 Thread Marcos Hernandez
I have the head tag first, then prototype and then Script.aculous and they work perfectly well with Dojo. Had you switched order? On 10/5/07, Dave Newton [EMAIL PROTECTED] wrote: At one point the JavaScript load order when using Prototype was significant; I had to put the s:head.../ tag

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Ted Husted
I've got the YUI datepicker up easy enough, but I'm having trouble with the autocompleter. I tried to adopt the starter code from the wiki, but when I open the JSP, I only get a text input field and a submit button. No select. In the MyEclipse Web 2.0 browser, I can see the query request run, but

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Musachy Barroso
is the action returning the expected JSON? The easiest way to debug problems is to just copy the generated javascript to your jsp and play with it (really small js section), and compare it to what the YUI docs say. Make sure that no css is getting applied to the autocompleter element, as that

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Wes Wannemacher
Ted, Did you play around with the href= in your yui:autocomleter? The %{# doesn't look right to me, I would think that %{statesUrl} should be enough. -W On 10/6/07, Musachy Barroso [EMAIL PROTECTED] wrote: is the action returning the expected JSON? The easiest way to debug problems is to just

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Dave Newton
%{statesUrl} would try to resolve against the action, not the named object created by s:url..., no? --- Wes Wannemacher [EMAIL PROTECTED] wrote: Ted, Did you play around with the href= in your yui:autocomleter? The %{# doesn't look right to me, I would think that %{statesUrl} should be

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Wes Wannemacher
(I could be wrong, as I really don't consider myself much more than a Value Stack / OGNL n00b) I think it just resolves it against the value stack, which the variable was pushed onto by his s:url... This would be my assumption as I have used it to create links like this - s:url id=someUrl

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Musachy Barroso
that's right musachy On 10/6/07, Dave Newton [EMAIL PROTECTED] wrote: %{statesUrl} would try to resolve against the action, not the named object created by s:url..., no? --- Wes Wannemacher [EMAIL PROTECTED] wrote: Ted, Did you play around with the href= in your yui:autocomleter?

Re: S2: YUI plugin and autocompleter

2007-10-06 Thread Martin Gainty
which version webwork? which version freemarker? which version ognl? whcih version xwork? which version urlrewrite? struts2-api (2.0.1)? struts2-core (2.0.1)? Thanks/ M-- - Original Message - From: Wes Wannemacher [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org