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
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
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
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
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
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
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.
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
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
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
.
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
.
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
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
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!
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
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
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.
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
//***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***
19 matches
Mail list logo