Re: upload validation failures are blanking my form values

2004-03-12 Thread Caoilte O'Connor
On Friday 12 March 2004 19:43, you wrote: Greetings, I was browsing through the Struts mail lists and found the thread that you started. I am having the exact same problem. Do you know of a work around or fix for this problem? TIA, Craig user ignorance mate. i filed a bug,

Re: upload validation failures are blanking my form values

2004-03-12 Thread Caoilte O'Connor
On Friday 12 March 2004 20:27, you wrote: Thanks for the reply. Nice to know I'm not alone. I found a suggested work around that involved using JavaScript to alter the HTML form's action attribute by appending the the values you want to remember as parameters. See

Re: Prelogon Action to init a List

2003-11-24 Thread Caoilte O'Connor
Hi, your best be would be to make a /GoTo/LoginPage action (using whatever nomenclature you have) that makes this list for you. This is a good design principle anyway because you should avoid exposing jsp pages directly to the end user. For example, I have an index.jsp page at the root of

Re: Turn off javascript validation generation

2003-11-19 Thread Caoilte O'Connor
yes, check the site docs, but basically submit as you would when you don't want validation. also you could do this, html:javascript formName=XForm dynamicJavascript=true staticJavascript=false/ script language=Javascript1.1 src=% =request.getContextPath()%/pages/staticJavascript.jsp/ script

Re: ProcessAction and RESULT attribute

2003-11-19 Thread Caoilte O'Connor
no no no. by RESULT i think it must mean the processResult object. what happens is :- ProcessAction will try a getName() on your ProcessResult object and to and set an attribute in the request (or session if you specify) with that name. if getName() returns null it will try and use the

Re: file upload

2003-11-16 Thread Caoilte O'Connor
i've not used dynaforms with fileupload so if that is the problem I couldn't say. you could try it with a normal formBean. However as the problem is trying to set a formfile using a string it looks like the problem could be in your jsp. have you set the enctype like below, html:form

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
have you got the commons-upload jar in your lib dir? you need that as well as the struts jars. Also check your controller (in struts-config) has something like this (though i think it's optional actually), controller maxFileSize=300K / c On Wednesday 12 November 2003 08:18,

Re: XML importing :

2003-11-12 Thread Caoilte O'Connor
if you're using it on a small scale (or for unit testing like me) then dbunit (www.dbunit.org) is a great tool that integrates with ant very well. c On Tuesday 11 November 2003 13:54, [EMAIL PROTECTED] wrote: Sorry for a unrelated question, but is there a easy way of taking xml data and

Re: File upload problem with Struts 1.1

2003-11-12 Thread Caoilte O'Connor
you. Cheers Raman Garg - Original Message - From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 3:42 PM Subject: Re: File upload problem with Struts 1.1 have you got the commons-upload jar in your lib dir? you need that as well

xdoclet strutsconfigxml thingy

2003-11-12 Thread Caoilte O'Connor
Does anyone who uses XDoclet know how to make it generate struts-config sub-app config files? I've been looking at it and can't work out whether it's covered. c - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: xdoclet strutsconfigxml thingy

2003-11-12 Thread Caoilte O'Connor
BaseAction { // your class } Good luck, Regards, Harm de Laat Informatiefabriek The Netherlands Caoilte O'Connor [EMAIL PROTECTED] 11/12/2003 01:11 PM Please respond to Struts Users Mailing List [EMAIL PROTECTED] To Struts Users Mailing List [EMAIL PROTECTED] cc Subject

Re: upload validation failures are blanking my form values

2003-11-07 Thread Caoilte O'Connor
it. This will be sort of chaining. Regards, MMS -- From: Caoilte O'Connor [SMTP:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 7:00 PM To: [EMAIL PROTECTED] Subject: Re: upload validation failures

upload validation failures are blanking my form values

2003-11-06 Thread Caoilte O'Connor
Hi, I've got a bizarre bug with the struts-upload tools. Struts-upload works when, 1) everything validates correctly. 2) there is a validation error and you do not attempt to upload a file. but it breaks as soon as i try to upload a file and there is a validation error for any reason. The

Re: upload validation failures are blanking my form values

2003-11-06 Thread Caoilte O'Connor
: Maybe this archive thread can help you? http://marc.theaimsgroup.com/?t=10475202833r=1w=2 Susan On 11/06/2003 06:22:05 AM Caoilte O'Connor wrote: Hi, I've got a bizarre bug with the struts-upload tools. Struts-upload works when, 1) everything validates correctly. 2

Re: getting current session in ActionForm

2003-11-06 Thread Caoilte O'Connor
you can do it during the reset which is sent the request along with the actionmapping. I believe the Artimus example does some clever locale_key setting like this. c On Thursday 06 November 2003 18:09, Taner Diler wrote: Hi, I get my default values from ActionForm object. But I can not

Re: confirm unsubscribe from struts-user@jakarta.apache.org

2003-08-07 Thread Caoilte O'Connor
([217.44.174.234] helo=caryatin.mshome.net) by zinc.btinternet.com with esmtp (Exim 3.22 #23) id 19k1D3-0002wl-00 for [EMAIL PROTECTED]; Tue, 05 Aug 2003 13:46:37 +0100 From: Caoilte O'Connor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Tue, 5 Aug 2003 13:46:37 +0100 User-Agent: KMail/1.5.2

those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
Hi, I've been using the if/else/case/switch tags for a while and love them. Is there any chance that they'll ever be incorporated into Struts proper? I've also found one slightly annoying bug. In most languages you can do an, if X and X.Y then where X.Y doesn't get evaluated if X fails (thinks

Re: those ace logic jsp tags

2003-02-10 Thread Caoilte O'Connor
On Monday 10 February 2003 1:03 pm, Taylor Cowan wrote: there any chance that they'll ever be incorporated into Struts proper? The direction for struts seems to be conformance/reliance on the JSTL as much as possible, therefore, you'd use the JSTL tags with matching functionality. eh?

Re: defeating caching

2003-01-03 Thread Caoilte O'Connor
have left html:base tags out on some pages. caoilte On Thursday 02 January 2003 6:39 pm, Siggelkow, Bill wrote: Add the following stanza to your struts-config.xml ... controller nocache=true/ -Original Message- From: Caoilte O'Connor [mailto:[EMAIL PROTECTED]] Sent

defeating caching

2003-01-02 Thread Caoilte O'Connor
Hi, Can anyone tell me exactly what options I should set for struts1.1 to defeat web caching. I found the option in the dtd and a few mentions of it in the archives, but no information anywhere on how to set it for all pages the webapp returns. much appreciated, caoilte -- To unsubscribe,

sessionIDs between servers

2002-06-11 Thread Caoilte O'Connor
Hi, I'm forwarding to a secure server but users are losing their form information when they hit the back button. Presumably the cookie isn't being saved somehow. Can anyone advise me on the best way to maintain the users session ID? Is there an easy way to turn on request based sessions for

the best way to log action hits

2002-03-12 Thread Caoilte O'Connor
Hi, I need to change my webapp to log the number of hits certain actions get and from which session etc etc. Can anyone point me towards the right way to look at doing this. Ideally I would use Log4J or something similar, but I'm a bit worried about having to parse lots of large text files every