Re: S2 Validation XML -- multiple methods on same Action

2007-08-22 Thread Jeromy Evans
dation.xml References: http://struts.apache.org/2.0.9/docs/wildcard-mappings.html Hope that helps, Jeromy Evans j alex wrote: Hi, Just checking one more time if someone has an answer to my below email. We decided to go with XML validation, and as i understand it, we cannot have validation file

Re: "Loading.." message while ajax request.

2007-08-29 Thread Jeromy Evans
Set the attribute showLoadingText="false" on the div/submit/a tag. If you're using an IDE you should be able to list the attributes available for each tag (as looks like this attribute not documented on the wiki) Hari Prasad wrote: I'm using Dojo for ajax. and when i send ajax request to the

Re: Unsolved datepicker problem

2007-08-29 Thread Jeromy Evans
Suggestions: Confirm that the dojo javascipt is actually included in the html output Use FireBug to examine if the requests to get the javascript files and images are working (and if not, why not) Create a minimal test application and get it working first. vamsi wrote: Thanks for response, I p

Re: Adding additional parameters to struts 2 tags and accessing them in the ftl files

2007-08-29 Thread Jeromy Evans
ify the template for FieldError to get it. hope that helps, Jeromy Evans afp wrote: Guys any ideas on how to do the below?? afp wrote: Reposting as last post was not very clear Hi, I am trying to add some custom parameters/attributes to the struts2 tags like etc... Some tihing lik

Re: Adding additional parameters to struts 2 tags and accessing them in the ftl files

2007-08-29 Thread Jeromy Evans
Struts 2.1. James -Original Message----- From: Jeromy Evans [mailto:[EMAIL PROTECTED] Sent: Thursday, August 30, 2007 1:34 AM To: Struts Users Mailing List Subject: Re: Adding additional parameters to struts 2 tags and accessing them in the ftl files It's not as easy as that. Each

Re: [S2] File Download Example in showcase doesn't work with contentType application/x-download using IE

2007-08-30 Thread Jeromy Evans
unrelated and caused because you're writing to the output stream within a JSP that's already doing so. That code is better suited to its own servlet. Hope that helps, regards, Jeromy Evans Joe Lam wrote: try to make a file download action without opening the file. I try the showcase fil

Re: Struts 2 !!!OK!!! cannot we live without Spring?

2007-09-01 Thread Jeromy Evans
27;t recommend it unless you had a lot of prior experience and a genuine need (eg. consider it if you're considering distributed transactions). Hope that's helpful. I won't ever get into an argument about the benefit of b). vs. c). vs. d). because they're all useful under cer

Re: dojo form submission not working in IE

2007-09-03 Thread Jeromy Evans
In IE6 the s:a can't have a target equal to a div that contains the itself unless you set showLoadingText=false The problem is that in IE6 the form nodes are overwritten by the loading text before its actually read and posted. Disable the loading text and it will be okay. regards, J

How to improve dojo performance in Struts 2.0.9

2007-10-06 Thread Jeromy Evans
ire.js to remove the reference to the Editor2 if you don't use this as it's a very,very heavy-weight resource. Hope that helps someone else. Improvements & comments welcome. See reference [3] below for detailed instructions and rationale. regards, Jeromy Evans Resources [1] ht

Re: URL question

2007-05-18 Thread Jeromy Evans - Blue Sky Minds
If you mean you want a request to http://www.myapp.com/ to execute input.action, you can: - create an index.html with an http redirect header to index.action; or - setup your webserver or container so that index.action is the default welcome "file" (rather than index.html, index.jsp etc); or

<    3   4   5   6   7   8