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".

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. >

Re: date parsing/validation...newbie

2004-08-26 Thread Research labs
maxlength 11 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

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 Fisc

Re: date parsing/validation

2004-08-23 Thread Research labs
tax, which you are violating with > DD/MON/. "MON" 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

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:

RE: drop down menu/submenu

2004-08-20 Thread Research labs
, August 20, 2004 11:38 AM > To: Struts 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

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: DaTASOURCE CREATION AT USER LOGIN TIME...Newbie

2004-08-02 Thread Research labs
raph. Ola. --- Craig McClanahan <[EMAIL PROTECTED]> wrote: > On Mon, 2 Aug 2004 21:23:05 +0100 (BST), Research > labs > <[EMAIL PROTECTED]> wrote: > > Jim, > > > > Thanks for your response. > > I want each user to login to the database(MySQL), >

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

2004-08-02 Thread Research labs
I take your point. Thanks. --- Jim Barrows <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Research labs > [mailto:[EMAIL PROTECTED] > > Sent: Monday, August 02, 2004 1:54 PM > > To: Struts Users Mailing List > > Subject: RE: D

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

2004-08-02 Thread Research labs
hard. 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:

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

2004-08-02 Thread Research labs
x27;s 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

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 " If this is not possible, can you please tell an alternative way of achieving this. Thanks. Ola. ___

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 > -

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

2004-08-01 Thread Research labs
gt; There is no ready made way to make a field from > uneditable to editable > however > You can always write a custom tag to achive the > same. > > Thanks, > Satish > > > -Original Message- > From: Research labs > [mailto:[EMAIL PROTECTED] > Sent: Monda

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

2004-07-25 Thread Research labs
). > Some database drivers do 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:1

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

2004-07-25 Thread Research labs
Please, is there anything built into Struts for processing multiple records in a batch? Detail: If a database query brings back more than one record and the records are stored in a collection, I want the user to be able to bring one record at a time into the JSP screen by pressing the up or down a

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 features

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! http://www.all

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

2004-07-17 Thread Research labs
ss helpful. > > There was some effort a while ago to standardize > some of the common > database error codes, I don't know how far that got, > but as always these > standards are the lowest common subset anyway. > > HTH > Brett Connor > > > Research lab

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

2004-07-17 Thread Research labs
sp page. > > robert > > > -Original Message- > > From: Research labs > [mailto:[EMAIL PROTECTED] > > Sent: Saturday, July 17, 2004 8:27 AM > > To: Struts Users Mailing List > > Subject: outputting mysql (or any other database) > error in jsp > &g

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: How to populate fields in a form with data retrieved from a database table...

2004-06-29 Thread Research labs
lowed your instructions to the letter; as a result of this, I have been able to achieve my objective - to show a user a form with data pre-filled based on the database data. Thank you very much indeed. Ola Oke. --- Joe Germuska <[EMAIL PROTECTED]> wrote: > At 1:36 PM +0100 6/28/04,

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***

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***