Re: JavaScript Validation: MinLength MaxLength Functions Don't Work

2002-10-24 Thread Dave Derry
characters in length that would provide that information. Dave Derry - Original Message - From: bachan s [EMAIL PROTECTED] Can you try removing the required from the depends for password and give minlength and maxlength. Since minLength is mentioned required is not necesary. Try

Re: Validator later rather than sooner?

2002-10-24 Thread Dave Derry
.. / Then in validation.xml change form name=logonForm to form name=/path/to/myLogonAction . Let us know if this works for you, 'cause like I said, I haven't tried it. Dave Derry - Original Message - From: bachan s [EMAIL

Re: Validator later rather than sooner?

2002-10-24 Thread Dave Derry
You can also validate based on the action rather than the form. Just use the action type rather than the form name, and be sure to extend ValidatorActionForm rather than ValidatorForm. Dave Derry - Original Message - From: bachan s [EMAIL PROTECTED] Instead of writing different

Re: direct acess to Action

2002-10-23 Thread Dave Derry
Andrew, I appears that you missed one glaring error. In the getAlaskaGroups action, the vlaidate=false is seriously out of place. It also has a '' without a ''. Using a utility to validate the file is definately a GOOD idea. Dave D - Original Message - From: Andrew Hill [EMAIL

Re: direct acess to Action

2002-10-23 Thread Dave Derry
No. The closing tag for the action follow the input attribute: action path=/getAlaskaGroups type=GetAlaskaGroupsAction name=getAlaskaGroupsForm scope=request input=/index.jsp closing tag here forward name=getAlaskaGroupsDone path=/index.jsp/ validate=false -- an

Re: Any Web Development Environments that incorporate Struts?

2002-10-23 Thread Dave Derry
The Perforce plugin is also real useful (if you're using Perforce that is). - Original Message - From: Haseltine, Celeste [EMAIL PROTECTED] OK, here are the web sites for Eclipse and the Eclipse Plugins, and a list of the ones we are using. Make sure you check out the entire plugin

Re: nested:text not being evaluated

2002-10-23 Thread Dave Derry
is that embedding a scriptlet as a portion of an attribute value (part of an RTEXPR) is illegal according to the JSP spec. You will need to rewrite your scriplet so that is composes the entire value. Dave Derry - Original Message - From: Zeitlin, Mike [EMAIL PROTECTED] I am trying

Re: how do i get a Field object in Validator?

2002-10-22 Thread Dave Derry
the final date. resource=false/ var var-namedateBefore/var-name var-valuefinalDate/var-value /var /field The finalDate referenced by var-value is another attribute of my ValidatorForm. Does this help? Dave Derry - Original Message - From

Re: How to add a pre-action

2002-10-21 Thread Dave Derry
( 'someParameter' ) ) { doSomethingSpecial(); } ). Dave Derry - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] Hi, Flow : login.jsp - mainscreen.jsp[ jsp:includes a left panel showing report parameters] The parameters are chosen by the user. Forward to the same

Re: [ANNOUNCE] SVT 0.5.0-beta released

2002-10-21 Thread Dave Derry
; without needing to recompile my application. Please explain how this framework provides any added value. Dave Derry -- To unsubscribe, e-mail: mailto:struts-user-unsubscribe;jakarta.apache.org For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org

Re: help please: Validator basic use

2002-10-18 Thread Dave Derry
Is your form derived from ValidatorForm rather than ActionForm? - Original Message - From: Clayson, Jim [EMAIL PROTECTED] Hi I am attempting to use the date validation provided by the framework - I am using struts1.1b2. I think I must be missing something fairly fundamental but

[OT - BRITISH HUMOUR?]

2002-10-15 Thread Dave Derry
Monty Python was great..but SOAP was absolutely FABULOUS!!! Dave D - Original Message - From: Chappell, Simon P [EMAIL PROTECTED] When America can compete with Monty Python, America may have an opinion on humour! :-P Simon -Original Message- From: Adam

Re: ActionErrors

2002-10-09 Thread Dave Derry
Another solution is to define a generic message key in the properties file. Something like error.generic={0}. Then create your ActionError as new ActionError( error.generic, My specific error message ); Dave Derry - Original Message - From: Andrew Hill [EMAIL PROTECTED] 2.) Ah, now

Re: trying to use bean:message with arg0

2002-10-09 Thread Dave Derry
One obvious problem is that you haven't closed your bean:message tag. Try bean:message key=my.key.here arg0=literal string/ Also, have you included the directive for the bean tld? Dave Derry - Original Message - From: Avishai Weissberg [EMAIL PROTECTED] I apologize for the previous

Re: Whats the best way to use Struts?

2002-10-08 Thread Dave Derry
One other thing to consider.what are the changes that this app will grow? How many times have you coded a quick and dirty solution because it was just a simple little app, and lived to regret it as the app grew? Dave - Original Message - From: ChangQing Zhou [EMAIL PROTECTED]

[OT] CheckBox and Boolean[] Array - Incorrect Values Submitted When CheckBox is unchecked

2002-10-04 Thread Dave Derry
He's doing it as a service for those who are filtering you Mark!;-)) - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Hey man! RU refactoring my messages? ;-) -Original Message- From: Andrew Hill [mailto:[EMAIL PROTECTED]] For multiple, you also must

[FRIDAY] More coffee needed!!

2002-10-04 Thread Dave Derry
That's still Derry.Dave Derry! But I guess if it's easier for you...you can call be Jerry ;-) Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Thanks a lot, Jerry. ;-) -Original Message- From: Dave Derry

Re: [FRIDAY] More coffee needed!!

2002-10-04 Thread Dave Derry
OK..Just got another cup of coffee. Want to pass the bagels and lox?? ;-} Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Mine was a reference to yesterday (as I'm sure your changing the subject line is) and was intentional. Hey, Dave! Wake up

Re: Accessing another action's form from within an action?

2002-10-04 Thread Dave Derry
You could attach the form to the request in Action A and retrieve in in Action B. Action A: request.setAttribute( ActionAForm, theFormForActionA ); Action B: ActionAForm theForm = (ActionAForm)request.getAttribute( ActionAForm ); Would that work for you? Dave Derry - Original Message

Re: Using friendly names for application entry points

2002-10-04 Thread Dave Derry
Tryhtml:form action=performLogin.do method=GET Notice the '.do'; it has to do with the servlet mapping. You apparently have *.do mapped to the the Struts ActionServlet, but Jasper doesn't know what to do with performLogin. Dave Derry - Original Message - From: K Br [EMAIL PROTECTED

Re: threading question

2002-10-03 Thread Dave Derry
U...that's Dave...but that's all right. Go get that second cup of coffee! ;-)) Dave Derry - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] Absolutely right, Jerry! Ironically, I was just writing a non-Struts helper class to make a credit card validation

Re: Pre-populating ActionForms

2002-09-30 Thread Dave Derry
to the appropriate view component. In our current system, we are closly following this model; presentation is seperate from behavior, and it is working out very nicely. Dave Derry - Original Message - From: Mohan Radhakrishnan [EMAIL PROTECTED] Hi, I have actually set up a 'Setup

Re: [FRIDAY] [OT] Best misunderstanding of an acronym?

2002-09-27 Thread Dave Derry
YKMV ?? ;-} - Original Message - From: Andrew Hill [EMAIL PROTECTED] Ah! No wonder I didnt recognise it. We use kilometres here. -Original Message- From: Kevin A. Smith [mailto:[EMAIL PROTECTED]] I think it stands for Your Mileage May Vary. AFAIK ;) -- To

Re: [OT] Commons Validator JavaDoc

2002-09-25 Thread Dave Derry
I haven't managed to find any. - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] Does anyone have the URL for the Validator JavaDoc on jakarta.apache.org? Jerry Jalenak Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED]

Re: [OT] Commons Validator JavaDoc

2002-09-25 Thread Dave Derry
Jerry, Did you see this? http://home.earthlink.net/~dwinterfeldt/overview.html#comparingTwoFields This helped me in writing a validator to check that one entered date was later than another entered date. Dave Derry - Original Message - From: Jerry Jalenak [EMAIL PROTECTED] Thanks

Re: [OT] Commons Validator JavaDoc

2002-09-25 Thread Dave Derry
directly access additional form fields without having to specify each on as a var.../var in my application-rules.xml. Jerry -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Jerry, Did you see this? http://home.earthlink.net/~dwinterfeldt/overview.html#comparin

Re: [42] Real Programmers

2002-09-20 Thread Dave Derry
Ball-Park Franks - Original Message - From: Chappell, Simon P [EMAIL PROTECTED] Personally I eat neither Jellied Eels or Black Pudding. And it always amuses me when Americans get on their high-horses about food, because what have they ever given the world? McDonalds! Simon --

Re: jsp-to-action-to-action: when does the request die

2002-09-19 Thread Dave Derry
The second action has access to it; if you mean save.do is 1 edit.do is 2. If edit .do forwards to somethingelse.do, it also has access to it. The request 'dies' when the action sends the response to the client. Dave Derry - Original Message - From: [EMAIL PROTECTED] I want to do

Re: [STRUTS] Cleasing form fields fields

2002-09-19 Thread Dave Derry
? Dave Derry - Original Message - From: kiuma [EMAIL PROTECTED] Hello, how can I have a clean form field the second time I visit it? It seems it keeps data into session. How can I clean those fields, without cleaning other informations? Thanks, kiuma -- To unsubscribe, e-mail

Re: A couple of Newbie questions

2002-09-18 Thread Dave Derry
A couple of Newbie questionsAdd a hidden field to your jsp page, and a page attribute to your ActionForm. html:form html:hidden property=page . . . Then you can query your form for the page that was submitted (form.getPage()). - Original Message - From: Kevin Roast Hi, I

Re: How can I implement session time out control in struts

2002-09-18 Thread Dave Derry
the server receives a request in a session it restarts the timer. As long as your users are interacting with the system, their session will not time-out. Of course, I realize that requirements are requirements, and they sometimes DO have to be implemented even when they make no sense. Dave Derry

Re: [validator]

2002-09-17 Thread Dave Derry
Add the resource=false attribute i.e. arg0 key=First name resource=false Not sure how this translates into ActionErrors 'cause we're not using Struts for presentation, but it does tell Validator to use the key as a String and not a look-up key. Hope this helps, Dave Derry - Original

Re: [OT] XML Configuration Files

2002-09-13 Thread Dave Derry
Castor to retrieve data from mySQL and write it to an XML file. If that's what you wanted to know. No problem using both the O/R and XML capabilities of Castor in the same app. I think you can even do it with just one mapping file. Hope this helped, Dave Derry - Original Message - From: Day

Re: [FormBean] Question concerning memory / casting

2002-09-13 Thread Dave Derry
Agree with your assesment re: 1 should be ProductFB prodFB = (ProductFB)form; As written I wouldn't expect to get much usefull info. ;-} I don't understand why you think 2 would be more efficient tho'. In 1, prodFB is merely an alias for form. I wouldn't expect any runtime difference. But since

Re: ActionError question

2002-09-10 Thread Dave Derry
You could have an entry in your properties file like error.generic={0} Then use new ActionError( error.generic, The legacy error message ); That what you were looking for? Dave Derry - Original Message - From: Ashish Kulkarni [EMAIL PROTECTED] Hi, Does ActionError class read

Re: [TGIF] RE: [Friday] Re: [VOTE] Should this list discontinueit's long, treasured heritage

2002-09-06 Thread Dave Derry
)read the docs, or c)try something before asking Will this work?. You won't get far in this business by taking the easy way out, or expecting someone else to give you the answer/solution to easy questions/problems. Sorry for the long post. Dave Derry - Original Message - From: Cliff Rowley

Re: Validating DATE field

2002-09-06 Thread Dave Derry
This is a problem that has been brought up several times. I don't know about b1 since I've just started using Validator (with b2), but I do know that the problem has been fixed in CVS. It is a very simple patch, that you can easily make yourself if you don't want to get a nightly build. Check the

Re: [FRIDAY] SOMEONE SAVE OUR LIST!!!!

2002-09-06 Thread Dave Derry
Only in our dreams.. .. - Original Message - From: Sri Sankaran [EMAIL PROTECTED] Humor in bodily functions (of dysfunctions) is so slapstick. What are we ... teenagers? -- To unsubscribe, e-mail: mailto:[EMAIL

Re: [Tag Protocol] How to let newbies know?

2002-08-29 Thread Dave Derry
He's also easily encouragable ;-)) - Original Message - From: John Owen [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Thursday, August 29, 2002 1:44 PM Subject: Re: [Tag Protocol] How to let newbies know? I think you mean incorrigible... ;) -

Re: Friday (almost funny) Humor

2002-08-16 Thread Dave Derry
James that is the funniest thing I have read in a long while!! Happy Friday to you! Its funny what a little 'search and replace' can do..LOL *** HEADLINE NEWS *** Microsoft Bashing Now Considered a Hate Crime Washington DC - George W. Bush signed into law yesterday legislation

Re: blank page

2002-06-21 Thread Dave Derry
- Original Message - From: Kamholz, Keith (corp-staff) USX [EMAIL PROTECTED] Subject: RE: blank page Next time you're not sure if the Action got hit, it's easy to test it by putting a System.out.println in the class. Watch for the message in the server console. It's a good thing

Re: Newbie: pass ResultSet to JSP?

2002-06-21 Thread Dave Derry
As you found, you cannot pass the ResultSet back to your JSP. This would not be a good thing if you could. That would be coupling your data layer too closely with your view layer. A better solution is to populate a Collection object with the data in your ResultSet, and pass that back to your JSP

Re: SQL STatements in a Properties file.

2002-06-07 Thread Dave Derry
- Original Message - From: James Mitchell [EMAIL PROTECTED] The framework knows nothing of sql. However, I have also pondered the using the message resources for something like this. I guess if your data layer had access to the message resourcesyou could do something like this.

Re: Please recommend a IDE

2002-06-05 Thread Dave Derry
I prefer xemacs myself - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] vi -Original Message- From: Chiming Huang [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 8:21 AM Hi, Can you please recommend a IDE for working on Tomcat 4.0.3 + Struts

Re: Please recommend a IDE

2002-06-05 Thread Dave Derry
: Please recommend a IDE Sorry. You're late to the party. This was a mini-flamewar only for the early risers on the list! :-) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 3:42 PM To: Struts Users Mailing List Subject: Re: Please recommend

Re: Please recommend a IDE

2002-06-05 Thread Dave Derry
I NEVER pay!! - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, June 05, 2002 5:28 PM Subject: RE: Please recommend a IDE Did you have to pay? -Original Message- From: Dave Derry [mailto:[EMAIL

Re: Please recommend a IDE

2002-06-05 Thread Dave Derry
several shirts from my employer! :-) -Original Message- From: Dave Derry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 05, 2002 4:30 PM To: Struts Users Mailing List Subject: Re: Please recommend a IDE My deepest apoligies. Been tied up all afternoon and just got to my email. It won't

Re: javax.servlet.jsp.JspException: No getter method for property name of beanorg.apache.struts.taglib.html.BEAN

2002-05-30 Thread Dave Derry
- Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 30, 2002 7:23 AM Subject: javax.servlet.jsp.JspException: No getter method for property name of beanorg.apache.struts.taglib.html.BEAN html:html locale=true head titleResults page/title

Re: Struts User Group

2002-05-25 Thread Dave Derry
Jim, I'd probably have some interest, and I know several other people who might as well. Dave D [EMAIL PROTECTED] - Original Message - From: JM [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 24, 2002 3:09 PM Subject: Struts User Group Are there

Re: Mail System Error - Returned Mail

2002-05-10 Thread Dave Derry
In what country is it a crime to phone someone on a published phone number? I would really like to know..perhaps I could do something about all those D**N telemarketers who woun't leave me alone!! Dave D - Original Message - From: Micael Padraig Og mac Grene [EMAIL PROTECTED] To:

Re: Auto-Replies

2002-05-10 Thread Dave Derry
Probably should check for any legal ramifications first. I'm not a lawyer, but I've seen some on TV! - Original Message - From: Eddie Bush [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, May 10, 2002 1:29 PM Subject: Auto-Replies Suggestion: Why don't

Re: [Resend]Too Slow: Debug Struts + Torque project using JBuilder5

2002-04-13 Thread Dave Derry
Perhaps less of a waste of time than waiting on the debugger (the problem that started this thread) then stepping through lots of code. Much quicker, and more enlightening, to think about the problem (as someone else suggested) then insert a println in a strategic location. Also, using xemacs to