RE: pb using validator it does not work !

2006-07-20 Thread Yee, Richard K CTR DMDC
What class is your sapinscription.form.StartSubscriptionForm extending? -Richard -Original Message- From: Jeremy Jardin [mailto:[EMAIL PROTECTED] Sent: Thursday, July 20, 2006 3:05 AM To: user@struts.apache.org Subject: pb using validator it does not work ! Hi, I'm trying to use

RE: Problem with Validator it does not reload request attributes

2006-07-20 Thread Yee, Richard K CTR DMDC
There isn't anything that prevents you from accessing a datasource in a FormBean. I don't think you really need to do so however. You can set the input attribute of your action to another action that does the necessary setting up of your view beans instead of setting it to the JSP page itself.

RE: java.lang.IllegalArgumentException: can't parse argument numb er

2006-07-03 Thread Yee, Richard K CTR DMDC
Fredrik, The property value of {common.a} is causing the problem b/c the java.text.MessageFormat class is used to to parameter replacements in the message. Are you trying to use the literal string '{common.a}' as the value of the key? If so, you need to escape the '{' and '}' characters. -Richard

RE: Validation does not verify the hidden controls?

2006-06-29 Thread Yee, Richard K CTR DMDC
Do you know if the hidden field values were sent by the browser? That would be a place to start. Struts doesn't distinguish between an html:hidden and a html:text field on the server side. -Richard -Original Message- From: José María Tristán [mailto:[EMAIL PROTECTED] Sent: Thursday,

RE: How to set size of submit button

2006-06-18 Thread Yee, Richard K CTR DMDC
Pankaj, You are sending this to the wrong address. You should be sending it to struts-user@jakarta.apache.org -Richard -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, June 18, 2006 11:11 AM To: user@struts.apache.org Subject: How to set size of submit

RE: Page does not refresh after action

2006-06-13 Thread Yee, Richard K CTR DMDC
-equiv=Expires CONTENT=0 meta http-equiv=Cache-Control CONTENT=no-cache meta http-equiv=Pragma CONTENT=no-cache /head script Yee, Richard K CTR DMDC wrote: Try putting this in your head /head of your jsp meta http-equiv=Expires CONTENT=0 meta http-equiv=Cache-Control CONTENT=no-cache meta http

RE: Page does not refresh after action

2006-06-12 Thread Yee, Richard K CTR DMDC
Try putting this in your head /head of your jsp meta http-equiv=Expires CONTENT=0 meta http-equiv=Cache-Control CONTENT=no-cache meta http-equiv=Pragma CONTENT=no-cache -Richard -Original Message- From: Rizwan Merchant [mailto:[EMAIL PROTECTED] Sent: Monday, June 12, 2006 1:34 PM To:

RE: wrong direction in validate

2006-06-02 Thread Yee, Richard K CTR DMDC
You should define separate action mappings for the different pages that use the action with the different input attribute values. -Richard -Original Message- From: Andreas Hartmann [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 1:27 PM To: Struts Users Mailing List Subject: Re:

RE: page validation in wizzard app

2006-05-08 Thread Yee, Richard K CTR DMDC
Jakub, Can you send a sample of your validate method in your form bean? Just to be clear, when you say autovalidation is turned on, you mean that you have validate=true in your action? How do you have the form tags configured in your validation.xml? Also, have you considered using

RE: Combo Selection Missed

2006-04-25 Thread Yee, Richard K CTR DMDC
Marisol, Why don't you post your FormBean to the mailing list? It should work. -Richard -Original Message- From: Marisol Opreni [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 25, 2006 12:53 PM To: 'Struts Users Mailing List' Subject: RV: Combo Selection Missed Can anybody help me?

RE: [Shale] When to create a database Connection?

2006-03-29 Thread Yee, Richard K CTR DMDC
Check out iBATIS. You can use the DaoManager for a very lightweight framework. It will handle getting and closing connections for you and also handle transactions. With a little more configuration, you can use the SqlMaps that will populate DTO objects for you. -Richard -Original