Pb using ActionErrors from reset method (ActionForm)

2002-10-30 Thread PALLUEL Sylvie
Title: Message



Hello,
I'm using the reset 
methodin a class which inherits from ActionForm to initialize my form from 
database.
This method 
canfail and generate an error that I want to display using 
ActionErrors.
How can I do this 
?

Thanks for your 
help.

Sylvie.

**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**

--
To unsubscribe, e-mail:   mailto:struts-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:struts-user-help;jakarta.apache.org


Referecing properties using ActionErrors class

2002-08-19 Thread John . Fairbairn

In my web.xml, I'm loading the properties file (RSVPResources) using the
Action servlet:

servlet
servlet-nameaction/servlet-name
servlet-classorg.apache.struts.action.ActionServlet/servlet-class
init-param
param-nameapplication/param-name
param-valueRSVPResources/param-value
/init-param
load-on-startup2/load-on-startup
/servlet

I'd like to retrieve the property values without using a Properties object
and reloading the properties file (.load). I thought this could be done
using the ActionErrors class. Has anyone done this?

Thanks,

John F.


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Using ActionErrors

2001-02-14 Thread Maya Muchnik



Padma,
Can you be more specific? Do you need to display an error corresponding
a label to the field, or you need to display a field number ? I think,
struts-example shows how to display a field label together with its error.
And all errors are displayed on the top of the page. Do you need something
different?
Maya
Padma Ginnaram wrote:

I
need to display an indicator for the fields that result in error and display
all the errors on the top of the page. Using the error tag I can display
all the errors at one location, but I am not able to figure out how to
display the indicator. Any suggestions?
-Original
Message-
From: Deadman, Hal [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13,
2001 5:07 PM
To: [EMAIL PROTECTED]
Subject: RE: Using ActionErrors

I
haven't tried it but I thought that you could specify the property attribute
on the errors tag and it would pull out the error that has that property.
When you add to the ActionErrors object the property is the first argument.
You should probably use the property name that cooresponds to the property
of the form field.-Original
Message-
From: David J Snowsill [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 13,
2001 4:31 PM
To: [EMAIL PROTECTED]
Subject: Using ActionErrors

Can
anybody point me in the right direction on how to associate a particular
error with a particular input field in a formThanksDavid
J Snowsill
Principal Consultant
Calibre Financial Technology
[EMAIL PROTECTED]
Office: (61-2) 9212 0527
Mobile: 0403 091 468***
This E-mail is intended only for the
use of the individual or entity named
above and may contain information
that is confidential and privileged.
If you are not the intended
recipient, you are hereby notified that any
dissemination, distribution or copying
of this E-mail is strictly prohibited.
If you have received this E-mail
in error, please notify us immediately
by return e-mail to the sender or
by telephoning one of our staff on (61-2)
9212 0527. Please then destroy
any copies of the original message that
are in your possession. Thank you.
***







RE: Using ActionErrors

2001-02-14 Thread Padma Ginnaram



I need 
to put the indicatorright next to the field(s) that result in error. 
As Hal explains in his response that the error 
description can be displayed using the property name corresponding to the field. 
Instead of displaying the error description I need to conditionally display an 
image or highlight the field in some way if an error exists corresponding to 
that field's property.

Appreciate your help.

  -Original Message-From: Maya Muchnik 
  [mailto:[EMAIL PROTECTED]]Sent: Wednesday, February 14, 2001 
  12:32 PMTo: [EMAIL PROTECTED]Subject: Re: 
  Using ActionErrorsPadma, 
  Can you be more specific? Do you need to display an error corresponding a 
  label to the field, or you need to display a field number ? I think, 
  struts-example shows how to display a field label together with its error. And 
  all errors are displayed on the top of the page. Do you need something 
  different? 
  Maya 
  Padma Ginnaram wrote: 
  

I need to display an indicator for the fields that result in error 
and display all the errors on the top of the page. Using the error tag I can 
display all the errors at one location, but I am not able to figure out how 
to display the indicator. Any suggestions? -Original Message- From: Deadman, Hal [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, February 13, 2001 
5:07 PM To: 
[EMAIL PROTECTED] Subject: RE: Using ActionErrors  
I haven't tried it but I thought that you could specify the 
  property attribute on the errors tag and it would pull out the error that 
  has that property. When you add to the ActionErrors object the property is 
  the first argument. You should probably use the property name that 
  cooresponds to the property of the form 
  field.-Original Message- From: David J Snowsill [mailto:[EMAIL PROTECTED]] 
  Sent: Tuesday, February 13, 
  2001 4:31 PM To: 
  [EMAIL PROTECTED] Subject: Using ActionErrors  
  Can anybody point me in the right direction on how to associate 
a particular error with a particular input field in a 
formThanksDavid J 
Snowsill Principal 
Consultant Calibre 
Financial Technology [EMAIL PROTECTED] 
Office: (61-2) 9212 
0527 Mobile: 0403 091 
468*** 
This E-mail is intended only for the 
use of the individual or entity named above and may contain information that is 
confidential and privileged. If you are not the intended recipient, you are hereby 
notified that any dissemination, distribution or copying of this E-mail is 
strictly prohibited. If you have received this E-mail in error, please notify 
us immediately by 
return e-mail to the sender or by telephoning one of our staff on 
(61-2) 9212 0527. 
Please then destroy any copies of the original message 
that are in your 
possession. Thank you. ***


Using ActionErrors

2001-02-13 Thread David J Snowsill



Can anybody point me in the right direction on how 
to associate a particular error with a particular input field in a 
form

Thanks

David J SnowsillPrincipal ConsultantCalibre 
Financial Technology[EMAIL PROTECTED]Office: 
(61-2) 9212 0527Mobile: 0403 091 468

***This 
E-mail is intended only for the use of the individual or entity namedabove 
and may contain information that is confidential and privileged.If you 
are not the intended recipient, you are hereby notified that 
anydissemination, distribution or copying of this E-mail is strictly 
prohibited.If you have received this E-mail in error, please notify us 
immediatelyby return e-mail to the sender or by telephoning one of our staff 
on (61-2)9212 0527. Please then destroy any copies of the original 
message thatare in your possession. Thank 
you.***

BEGIN:VCARD
VERSION:2.1
N:Snowsill;David;J;Mr
FN:David J Snowsill
ORG:Calibre Financial Technology
TITLE:Principal Consultant
TEL;WORK;VOICE:02 9212 0527
TEL;CELL;VOICE:0403091468
ADR;WORK;ENCODING=QUOTED-PRINTABLE:;;Suite 487=0D=0A311 Castlereigh Street;Sydney;NSW;2000;Australia
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Suite 487=0D=0A311 Castlereigh Street=0D=0ASydney, NSW 2000=0D=0AAustralia
URL:
URL:http://www.calibreFT.com.au
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20010213T213111Z
END:VCARD



RE: Using ActionErrors

2001-02-13 Thread Deadman, Hal



I 
haven't tried it but I thought that you could specify the property attribute on 
the errors tag and it would pull out the error that has that property. When you 
add to the ActionErrors object the property is the first argument. You should 
probably use the property name that cooresponds to the property of the form 
field. 

-Original Message-From: 
David J Snowsill [mailto:[EMAIL PROTECTED]]Sent: 
Tuesday, February 13, 2001 4:31 PMTo: 
[EMAIL PROTECTED]Subject: Using 
ActionErrors

  Can anybody point me in the right direction on 
  how to associate a particular error with a particular input field in a 
  form
  
  Thanks
  
  David J SnowsillPrincipal 
  ConsultantCalibre Financial Technology[EMAIL PROTECTED]Office: 
  (61-2) 9212 0527Mobile: 0403 091 468
  
  ***This E-mail is intended 
  only for the use of the individual or entity namedabove and may contain 
  information that is confidential and privileged.If you are not the 
  intended recipient, you are hereby notified that anydissemination, 
  distribution or copying of this E-mail is strictly prohibited.If you 
  have received this E-mail in error, please notify us immediatelyby return 
  e-mail to the sender or by telephoning one of our staff on (61-2)9212 
  0527. Please then destroy any copies of the original message thatare 
  in your possession. Thank 
  you.***