Re: How to stop the first validation when a web page first displays?

2004-08-26 Thread Research labs
As Joe Germuska advised, it is more conventional to to have two different Actions mappings. set validation=false in one and use it for the displaying the JSP the first time. Use the other Actions mappings (with validation set to true) for subsequent displays of the JSP. Ola. the --- Bryce

Re: date parsing/validation...newbie

2004-08-26 Thread Research labs
If you have any example or link to a doc, please send it. Thank you. Ola. --- Research labs [EMAIL PROTECTED] wrote: Noted. Thank you very much. --- Erik Weber [EMAIL PROTECTED] wrote: Looks to me like you probably want dd/MM/. Erik Erik Weber

Re: date parsing/validation...newbie

2004-08-26 Thread Research labs
Thanks Erik, 'would do so. --- Erik Weber [EMAIL PROTECTED] wrote: Try datePatternStrict as the var-name instead of datePattern. Erik Research labs wrote: Hi, Please help me. I am trying to force users to enter dates in the format 23/JAN/2003, therefore, I have the setting

Re: date parsing/validation...newbie 23/Jan/2004 and 23/JAN/2004

2004-08-26 Thread Research labs
Erik, I have just tried datePatternStrict; the client side validator now tells me that 23/Jan/2004 and 23/JAN/2004 are not dates. Thank you. Ola. --- Erik Weber [EMAIL PROTECTED] wrote: Try datePatternStrict as the var-name instead of datePattern. Erik Research labs wrote: Hi

date parsing/validation

2004-08-23 Thread Research labs
Can anyone please tell what I can do in order to stop users from entering invalid dates. The validator does not raise an error if a user enters 33 as ad day, as in this sample date: 33/jan/2000. I am using Struts validator, which is setup as follows: field property=dob

Re: date parsing/validation

2004-08-23 Thread Research labs
is not an acceptable token, and DD is day-in-year, not day in month. Erik Research labs wrote: Can anyone please tell what I can do in order to stop users from entering invalid dates. The validator does not raise an error if a user enters 33 as ad day, as in this sample date: 33/jan

drop down menu/submenu

2004-08-20 Thread Research labs
Please, is there anything built into Struts for creating drop down menu/submenu? If there isn't, can you please suggest the best way to go about this. I want my users to be able to go from one jsp screen to another by choosing from a menu item. Thank you. Ola.

RE: drop down menu/submenu

2004-08-20 Thread Research labs
Users Mailing List Subject: Re: drop down menu/submenu On Fri, 20 Aug 2004 19:23:20 +0100 (BST), Research labs [EMAIL PROTECTED] wrote: Please, is there anything built into Struts for creating drop down menu/submenu? yep. check out the html:select html:option

DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
Hello, Can anyone please tell me how to specify the username and password for data-source at the time a user logs in, instead of hard coding as ola is hardcoded below: data-sources data-source type=org.apache.commons.dbcp.BasicDataSource set-property property=driverClassName

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
data-source. I do not mind using any datasource so long as I can achieve my objective. Thanks. Ola. --- Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 12:15 PM To: Struts Users Mailing List

RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
. Regards. Ola. --- Jim Barrows [EMAIL PROTECTED] wrote: -Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, August 02, 2004 1:23 PM To: Struts Users Mailing List Subject: RE: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie Jim, Thanks

RE: Changing a field from not updatable to updatable at runtime...?

2004-08-01 Thread Research labs
. Thanks, Satish -Original Message- From: Research labs [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 9:45 AM To: [EMAIL PROTECTED] Subject: Re: Changing a field from not updatable to updatable at runtime...? Is it possible to change the property of JSP fields

RE: processing multiple records in a batch...JSP...db

2004-08-01 Thread Research labs
Noted. Thanks. --- Kataria, Satish [EMAIL PROTECTED] wrote: I am afraid that there is no built-in functionality in struts to process multiple Records. You can always write a custom tag to achive the same. Thanks, Satish -Original Message- From: Research labs [mailto

debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread Research labs
Is there anything in Struts that will enable me view the SQL query that has been built by a prepared statement? Thank you. ___ALL-NEW Yahoo! Messenger - all new features - even more fun!

Re: Changing a field from not updatable to updatable at runtime...?

2004-07-25 Thread Research labs
Is it possible to change the property of JSP fields dynamically at runtime e.g. changing a field from not updatable to updatable at runtime? Thank you. Ola ___ALL-NEW Yahoo! Messenger - all new

Re: debugging prepared statements...view built SQl...Newbe?

2004-07-25 Thread Research labs
support jdbc logging, where statements executed against the database will be logged to a text file. You'll probably need to look in to the documentation for your driver to work it out. On Mon, 26 Jul 2004 05:13:45 +0100 (BST), Research labs [EMAIL PROTECTED] wrote: Is there anything

outputting mysql (or any other database) error in jsp

2004-07-17 Thread Research labs
Can anyone please tell me the best way to get a database error into my java code so that I can output the database error in a JSP etc. My key problem is how to pass the database error to my Java code. Thank you. Ola.

RE: outputting mysql (or any other database) error in jsp

2004-07-17 Thread Research labs
action class or declarative exception handling mechanism and interpretted into the appropriate client error message which can be placed in the appropriate scope (request or session) which can in turn be rendered in the .jsp page. robert -Original Message- From: Research labs

How to populate fields in a form with data retrieved from a database table...

2004-06-28 Thread Research labs
//***Please note that I am using DispatchAction not Action*** Please tell me how to populate fields in a form with data retrieved from a database table. Please note that I am particular about how to do this using Struts tags etc. //***Please also note that I am using DispatchAction not Action***