RE: form display

2004-07-20 Thread mike . raath
I find it's better to use Strings for ActionForm attributes, which can then be validated, and copied to correctly typed attributes in DTO beans once validation has passed. This would allow you to hold your null value, as this would be an empty string. -Original Message- From: Isaac Mosquer

RE: How to Disable "open" button on "File Download" dialogue box. ...please urgent

2004-07-16 Thread mike . raath
Or a system design? So that these last-minute issues aren't all urgent? -Original Message- From: McCormack, Chris [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 11:19 To: Struts Users Mailing List Subject: RE: How to Disable "open" button on "File Download" dialogue box. ...please urgent

RE: How to Disable "open" button on "File Download" dialogue box. ...please urgent

2004-07-16 Thread mike . raath
Ganesh, why do you always ask your question 3 times? And your questions are always urgent? -Original Message- From: ganesh gadi [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 09:52 To: [EMAIL PROTECTED] Subject: How to Disable "open" button on "File Download" dialogue boxplease urgent

RE: how to implement && using tag in struts

2004-06-17 Thread mike . raath
Try a nested version: ... || would involve a few more tags. -Original Message- From: Robert Taylor [mailto:[EMAIL PROTECTED] Sent: 17 June 2004 14:45 To: Struts Users Mailing List Subject: RE: how to implement && using tag in struts I don't think

RE: Diff. b/w and

2004-06-17 Thread mike . raath
The difference is that renders an tag of type image, whereas renders an tag. -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: 17 June 2004 08:57 To: [EMAIL PROTECTED] Subject: Diff. b/w and hello guys, can any one tell me what is the diff. b/w and Asim

RE: Want to do some business logic before the action class of str uts is invoked. How ?

2004-06-11 Thread mike . raath
Have you looked at filters? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 11 June 2004 09:33 To: [EMAIL PROTECTED] Subject: Want to do some business logic before the action class of struts is invoked. How ? Dear Strusts users, I have a typical requi

RE: Reccomendations for good reference book

2004-06-01 Thread mike . raath
Personally, I found the best reference was Rick Reumann's (of this parish) excellent Struttin with Struts. http://www.reumann.net/do/struts/main -Original Message- From: Adam Lipscombe [mailto:[EMAIL PROTECTED] Sent: 01 June 2004 15:16 To: 'Struts Users Mailing List' Subject: Reccomenda

RE: why and how to configure tomcat with apache web server urgent

2004-05-26 Thread mike . raath
Is this a Struts question? -Original Message- From: ganesh g [mailto:[EMAIL PROTECTED] Sent: 26 May 2004 14:15 To: user Subject: why and how to configure tomcat with apache web server urgent Hi list Will u please tell me for my thearitical question what is the need of to configure T

RE: Clearing Input fields

2004-05-05 Thread mike . raath
Reset resets your form to the state it was in when loaded - ie how it was shown *after* your submission. To clear your fields you will need to code a javascript function do this explicitly. -Original Message- From: Brian Boyle [mailto:[EMAIL PROTECTED] Sent: 05 May 2004 14:40 To: [EMAIL

RE: determining session timeout value

2004-04-22 Thread mike . raath
I think getMaxInactiveInterval on the HttpSession should give you what you want. -Original Message- From: Dean A. Hoover [mailto:[EMAIL PROTECTED] Sent: 22 April 2004 13:36 To: [EMAIL PROTECTED] Subject: determining session timeout value After getting some great suggestions here for var

RE: execute() method running twice

2004-04-21 Thread mike . raath
Long shot, but I once had something similar Are you using mailto:[EMAIL PROTECTED] Sent: 21 April 2004 15:21 To: [EMAIL PROTECTED] Subject: execute() method running twice Hi there .. :-) Wonder if anyone could help me with a strange problem I can't seem to solve. I have a form tied to an

RE: Jbuilder 9 Changing Stuts 1.0 to 1.1

2004-04-21 Thread mike . raath
Yes it - is. I use Jbuilder 9 and struts 1.1 You need to manually configure it: - Add 2 new libraries through Tools/Configure Libraries - call one Struts 1.1 and the other Struts 1.1 JSTL - For Struts 1.1 JSTL - add classes %strutsdir%/contrib/struts-el/lib/jstl.jar and %strutsdir%/contrib

RE: ActionMessages won't display

2004-04-19 Thread mike . raath
Sorry for missing that Matt. The id = 'varName' is the object name which will hold each message in the messages list as it iterates through. All you should need is something along the following: This will examine the request for an ActionMessages object, th

RE: ActionMessages won't display

2004-04-19 Thread mike . raath
Try setting the message="true" attribute of the tag. The default is false which means that you are actually testing for ActionErrors not ActionMessages. -Original Message- From: Matthew Hegarty [mailto:[EMAIL PROTECTED] Sent: 19 April 2004 15:49 To: '[EMAIL PROTECTED]' Subject: ActionMes

RE: Formatting date values

2004-04-15 Thread mike . raath
You should keep all your form types as string - then you do not get conversion problems. Do your validation in the validate() method. Format your date using a DateFormat object before redisplaying. -Original Message- From: Paulo Rezende [mailto:[EMAIL PROTECTED] Sent: 15 April 2004 14:57

RE: what is the difference between forward and redirect?

2004-04-15 Thread mike . raath
As a rule of thumb... Normal workflow would use a forward. Abnormal workflow, such as session timeouts requiring the user to be passed back to the login page, or notification of moved pages where you want the user to rebookmark would be redirects. Redirects are slower because of the extra round-tr

RE: what is the difference between forward and redirect?

2004-04-15 Thread mike . raath
The main difference is that the forward takes place on the server, whereas the redirect results in another HTTP request from the client. A forward is therefore invisible to the client, whereas the redirect is something they would see. Example 1: user types in http://myserver.com/page1 /page1 forwa