Re: html:errors/ throws exception [problem solved]

2004-03-08 Thread Max Kovalenkov
You're absolutely correct. Thank you! And thanks to as as for answering! Max Hubert Rabago wrote: If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov [EMAIL PROTECTED]

Re: html:errors/ throws exception

2004-03-05 Thread as as
Hi, I saw this error but probably in a different, though related context. For eg, in my case, it was occuring as I declared my form as bookForm in struts-config.xml but in my book.jsp, it was html:for name = booksForm So may be checking this stuff in struts-config.xml may help Thanks.

Re: html:errors/ throws exception

2004-03-05 Thread Hubert Rabago
If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov [EMAIL PROTECTED] wrote: Hi! I have a custom validator which works fine, but when the html:errors/ tag is

RE: html:errors /

2004-02-17 Thread Matthias Wessendorf
hi daniel use this: struts-html:messages id=error property=foo struts-bean:write name=error/ /struts-html:messages cheers, -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 3:30 PM To: Struts Users Mailing List Subject: html:errors / I'm

Re: html:errors /

2004-02-17 Thread Daniel
:28 AM Subject: RE: html:errors / hi daniel use this: struts-html:messages id=error property=foo struts-bean:write name=error/ /struts-html:messages cheers, -Original Message- From: Daniel [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 17, 2004 3:30 PM To: Struts Users

RE: html:errors /

2004-02-17 Thread Matthias Wessendorf
] Sent: Tuesday, February 17, 2004 4:03 PM To: Struts Users Mailing List Subject: Re: html:errors / Sorry, but still dosn't work can you help-me ??? my source code is: in execute method: ActionMessages messages = new ActionMessages(); HttpSession session = (HttpSession)request.getSession

Re: html:errors Tag Deprecated?

2003-12-08 Thread Manish Singla
It is explained well here http://jakarta.apache.org/struts/userGuide/struts-html.html#messages HTH Manish Singla John Topley wrote: I read somewhere that the html:errors tag is going to be deprecated and that html:messages should be used instead. What's the correct syntax for using it to display

Re: html:errors tag..

2003-09-15 Thread koen boutsen
This is some code that I used in an actionForm. public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) { ActionErrors errors = new ActionErrors(); if ((userId == null) || (userId.length() 1)) { errors.add(noUser, new ActionError (adresses.insertUser.noUser)); } return

Re: html:errors tag..

2003-09-15 Thread Louise Pryor
On Monday, September 15, 2003 at 3:22:27 PM, Ritvik wrote: R Hi There, R I am using html:errors\ tag at top of my page to display any R validation errors when a form is submitted, but for some reason, I R couldn't see any errors message even I have left some mandatory fields R blank. I am not

RE: html:errors

2003-08-27 Thread Mohd Amin Mohd Din
Refers to the properties file. Since errors message key is a constant, therefore it does not need to refer to a specific line in the properties file. Amin -Original Message- From: Yakov Belov [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 10:54 AM To: Struts Users Mailing

Re: html:errors

2003-08-27 Thread Yakov Belov
' [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:24 PM Subject: RE: html:errors Refers to the properties file. Since errors message key is a constant, therefore it does not need to refer to a specific line in the properties file. Amin -Original Message- From: Yakov Belov

Re: html:errors

2003-08-27 Thread Yakov Belov
' [EMAIL PROTECTED] Sent: Wednesday, August 27, 2003 1:24 PM Subject: RE: html:errors Refers to the properties file. Since errors message key is a constant, therefore it does not need to refer to a specific line in the properties file. Amin -Original Message- From: Yakov Belov

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
Partially answering my own question - Changing back to use ActionError (and ignoring the deprecation messages that Eclipse spits out), I can get my messages to work. Obviously the problem is that I am mixing ActionErrors and ActionMessage. What is the preferred method? It looks like

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread David Graham
--- Jerry Jalenak [EMAIL PROTECTED] wrote: Partially answering my own question - Changing back to use ActionError (and ignoring the deprecation messages that Eclipse spits out), I can get my messages to work. Obviously the problem is that I am mixing ActionErrors and ActionMessage. What

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
-1496 [EMAIL PROTECTED] -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:28 AM To: Struts Users Mailing List Subject: RE: html:errors/ throwing null servlet exception --- Jerry Jalenak [EMAIL PROTECTED] wrote: Partially answering

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread David Graham
Blvd. Lenexa, KS 66219 (913) 577-1496 [EMAIL PROTECTED] -Original Message- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 11:28 AM To: Struts Users Mailing List Subject: RE: html:errors/ throwing null servlet exception --- Jerry

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
- From: David Graham [mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 1:24 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ throwing null servlet exception --- Jerry Jalenak [EMAIL PROTECTED] wrote: David, That's basically what I thought. However, when I change

Re: html:errors/ tag

2003-07-31 Thread Andrew Geery
Look at the logic:messagesPresent tag. From the description of the messagesPresent tag (http://jakarta.apache.org/struts/userGuide/struts-logic.html#messagesPresent): Evaluates the nested body content of this tag if an |ActionMessages| object, |ActionErrors| object, a String, or a String array

Re: html:errors/ not working!

2003-07-31 Thread Prashanth.S
Hi u need to paste ur actionform as well as action class to gave us some idea of what is goin wrong?? Thanks Prashanth Samanth Athrey [EMAIL PROTECTED] wrote: Hi, I have this tag in my jsp file. But when error occurs, this fails to display the error messages on the jsp file. There is only

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
The errors tag consults a pageContext attribute (I believe in the request) which has a key of Globals.ERROR_KEY (unless you are in a module then I think the key is [Globals.ERROR_KEY + /modulename]) I guess you could start by seeing if the key exists in your JSP. -Original Message-

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
I forgot to mention that the only time I can remember that happening is when I first when to modules and I tried making my own custom bundle for messages in my module's struts config. Error messages weren't showing up because of the custom resource bundle name in my modules. As soon as I got

Re: html:errors/ not displaying the errors?

2003-07-30 Thread James Adams
-config.xml file. James www.seventyforty.com - Original Message - From: Bailey, Shane C. [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 3:13 PM Subject: RE: html:errors/ not displaying the errors? I forgot to mention that the only

Re: html:errors/ problems

2003-07-02 Thread vellosa
:Wed, 02 Jul 2003 10:28:03 to: [EMAIL PROTECTED] subject: Re: html:errors/ problems Hi all, I'm trying to display errors on a jsp to which my form returns if the data submitted is invalid. My form extends org.apache.struts.validator.ValidatorForm some fields use

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
July 2003 10:40 To: [EMAIL PROTECTED] Subject: Re: html:errors/ problems Hi Brian, I had a problem like that when I ommited the following values from my ApplicationResources file: errors.header = ul errors.footer = /ul errors.prefix = li errors.suffix = Once I added them it worked fine

RE: html:errors/ problems

2003-07-02 Thread vellosa
stating that it does not exist. Returning blank sounds strange to me. Do you have a stack trace saying that your message is not in this file? Regards IV from:Brian McSweeney [EMAIL PROTECTED] date:Wed, 02 Jul 2003 11:13:54 to: [EMAIL PROTECTED] subject: RE: html:errors

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
fine. I really appreciate your help! Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:26 To: [EMAIL PROTECTED] Subject: RE: html:errors/ problems Brian, You want to have the message key in your ActionError and struts will resolve

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
the message in my Resource bundle. Once I put it in, everything worked fine. I really appreciate your help! Brian -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 11:26 To: [EMAIL PROTECTED] Subject: RE: html:errors/ problems Brian, You

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 12:38 To: Struts Users Mailing List Subject: RE: html:errors/ problems Brian, Now that the messages are working, one other thing you might want to check is whether your validator-based validation errors are really being

RE: html:errors/ problems

2003-07-02 Thread Kris Schneider
PROTECTED] Subject: RE: html:errors/ problems Brian, You want to have the message key in your ActionError and struts will resolve it from the ApplicationResources file for you. It is not something you manually need to do. However last time I tried to return a value which

RE: html:errors/ problems

2003-07-02 Thread Brian McSweeney
Absolutely! Large open-source projects...unbeatable!! Viva la revolucion! -Original Message- From: Kris Schneider [mailto:[EMAIL PROTECTED] Sent: 02 July 2003 14:23 To: Struts Users Mailing List Subject: RE: html:errors/ problems ;-) Glad it helped. Nothing like having billions

RE: html:errors / tag causing 500 error under OC4J

2003-06-20 Thread Frank Griffith
Nothing in any of the logs. I'm using the standard struts-html.tld. Karr, David [EMAIL PROTECTED] wrote:If you're getting a 500 error, that means your server had an error. Check the server log to see what broke. You aren't by any chance mapping html to the html-el tag library, are you?

Re: html:errors / tag in javascript alert

2003-06-13 Thread Martin Fekete
try this ... errors.header =alert( errors.prefix = errors.suffix =+ \\n + errors.footer =);\n ... script function load() { html:errors / } /script ... body onLoad=load ... it should work but it won't because of http://issues.apache.org/bugzilla/show_bug.cgi?id=17418 so

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
I believe the answer to your question is that a redirect causes a new request to be made. Because of this, the errors object in your request is gone. It was a part of the old request. When redirect is set to false, it's merely forwarding a request and therefore keeping all of the attributes

Re: html:errors

2003-05-31 Thread Navjot Singh
basically, those 2 nulls are errors.header and errors.footer (am i right, guys?) attributes that should be in your application.resources file but struts is unable to find them. HTH -navjot singh you wrote: I have used the tag html:errors/ for displaying error messages, It is displaying in

Re: html:errors

2003-05-30 Thread Vijay Pawar
html:errors/ - Conditionally display a set of accumulated error messages. Displays a set of error messages prepared by a business logic component and stored as an ActionErrors object, a String, or a String array in request scope. If such a bean is not found, nothing will be rendered. In order to

Re: html:errors

2003-05-30 Thread jailani . s
[EMAIL PROTECTED]To: Struts Users Mailing List [EMAIL PROTECTED] td.com cc: (bcc: jailani.s/Polaris) Subject: Re: html:errors

RE: html:errors/ not showing anything!

2003-03-25 Thread Karr, David
And in your deployed WAR file, a file named application.properties is in the directory WEB-INF/classes/resources? In times like this, if I can't figure out why something isn't finding a file I think it should find, I like to set up a file I/O monitor, that basically tracks all system calls, and

RE: html:errors/ not showing anything!

2003-03-25 Thread Alonso, Damian
- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 9:50 AM To: Struts Users Mailing List Subject: RE: html:errors/ not showing anything! And in your deployed WAR file, a file named application.properties is in the directory WEB-INF/classes/resources? In times like this, if I

RE: html:errors/ not showing anything!

2003-03-25 Thread Karr, David
- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 9:50 AM To: Struts Users Mailing List Subject: RE: html:errors/ not showing anything! And in your deployed WAR file, a file named application.properties is in the directory WEB-INF/classes/resources? In times

RE: html:errors/ not showing anything!

2003-03-25 Thread Alonso, Damian
It was Struts 1.1 RC1. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 10:08 AM To: Struts Users Mailing List Subject: RE: html:errors/ not showing anything! After you wrote this, I tried to get a new version of that utility

RE: html:errors/ not showing anything!

2003-03-25 Thread Mark Galbreath
Where did application.properties come from? -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 5:50 PM And in your deployed WAR file, a file named application.properties is in the directory WEB-INF/classes/resources?

RE: html:errors/ not showing anything!

2003-03-25 Thread Alonso, Damian
was to also add it to my web.xml file, not just my struts-config.xml file. Thanks for the responses. Damian. -Original Message- From: Karr, David [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 10:08 AM To: Struts Users Mailing List Subject: RE: html:errors/ not showing anything

Re: html:errors/ broken in Strtus 1.1 rc1, html-el?

2003-03-07 Thread David M. Karr
Jose == Jose Gonzalez Gomez [EMAIL PROTECTED] writes: Jose It seems that html:errors/ is broken in Struts 1.1rc1. I have a jsp with Jose the following code: Jose %@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html % Jose div

Re: html:errors/ broken in Strtus 1.1 rc1, html-el?

2003-03-07 Thread David Graham
More accurately, the Struts-EL version may be broken. The uri you supplied is the same as the normal html taglib. David From: Jose Gonzalez Gomez [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: html:errors/

Re: html:errors/

2003-02-17 Thread David Graham
http://jakarta.apache.org/struts/userGuide/struts-html.html#errors See the property attribute. David From: varma dvk [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: html:errors/ Date: Mon, 17 Feb 2003 18:09:03 +0530 Hi frenz, Here goes

Re: html:errors/

2003-02-17 Thread Affan Qureshi
Does this work for nested:errors/ as well? Or do I have to do something different? Affan - Original Message - From: David Graham [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, February 18, 2003 8:31 AM Subject: Re: html:errors/ http://jakarta.apache.org/struts/userGuide/struts

Re: html:errors/

2003-02-17 Thread David Graham
I don't use nested but I think it will work the same as html:errors. David From: Affan Qureshi [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: Re: html:errors/ Date: Tue, 18 Feb 2003 09:16:00 +0500 Does

Re: html:errors / trouble

2003-02-10 Thread alexj
(in fact when I run the app and enter bad datas I didn't get any errors message displayed on my login page) - Original Message - From: alexj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 6:42 PM Subject: html:errors / trouble Hi I

Re: html:errors / trouble

2003-02-10 Thread Sean Dockery
What forwards are defined for your action in struts-config.xml? - Original Message - From: alexj [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Monday, February 10, 2003 10:56 Subject: Re: html:errors / trouble (in fact when I run the app and enter bad datas

Re: html:errors / trouble

2003-02-10 Thread alexj
/ forward name=student path= / forward name=prof path= / /action - Original Message - From: Sean Dockery [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, February 11, 2003 12:16 AM Subject: Re: html:errors / trouble What forwards are defined for your action

Re: html:errors / trouble

2003-02-10 Thread alexj
I just saw my mapping definition was incomplete ... :)) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: html:errors/ question

2002-12-18 Thread Andrew Hill
Get the user to enter data into 7 of the fields before they submit the form. ;- -Original Message- From: Dmitry Vasilenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 20:52 To: Struts Users Mailing List Subject: html:errors/ question Dear, Describe: I have for example

RE: html:errors/ question

2002-12-18 Thread shirishchandra . sakhare
do some thing like... public static void logErrorOnce(ActionErrors errors, String errorKey) { if (errors.get(errorKey).hasNext() == false) { logError(errors, errorKey); } } -Original Message- From: vasilenko

Re: html:errors/ question

2002-12-18 Thread Dmitry Vasilenko
In my sample space for error information is limited. I want to outut only first 3 errors. :( - Original Message - From: Andrew Hill [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 3:05 PM Subject: RE: html:errors/ question Get

RE: html:errors/ question

2002-12-18 Thread Andrew Hill
Message- From: Dmitry Vasilenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 21:08 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: html:errors/ question In my sample space for error information is limited. I want to outut only first 3 errors. :( - Original

RE: html:errors ActionErrors.GLOBAL_ERROR

2002-12-18 Thread Sri Sankaran
(ERROR_KEY); log.debug(errors is:+errors);//this is null Thanx, Vijay -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 5:47 AM To: Struts Users Mailing List Subject: RE: html:errors ActionErrors.GLOBAL_ERROR Are you invoking

RE: html:errors/ question

2002-12-18 Thread Kris Schneider
- From: Dmitry Vasilenko [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 21:08 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: Re: html:errors/ question In my sample space for error information is limited. I want to outut only first 3 errors. :( - Original Message

RE: html:errors/ question

2002-12-18 Thread Andrew Hill
[mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 22:12 To: Struts Users Mailing List; [EMAIL PROTECTED] Subject: RE: html:errors/ question How 'bout using a dummy form with a select element whose size attribute is 3? Each error message would be rendered as an option element. Of course

Re: html:errors/ question

2002-12-18 Thread Dmitry Vasilenko
As I understand this is for Action class. In my sample i use DynaValidatorForm and I must cath error in the jsp page. - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 18, 2002 3:04 PM Subject: RE: html:errors/ question do some thing like

RE: html:errors ActionErrors.GLOBAL_ERROR

2002-12-17 Thread Sri Sankaran
Are you invoking saveErrors() in the action that generates the ActionErrors? Sri -Original Message- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:48 PM To: '[EMAIL PROTECTED]' Subject: html:errors ActionErrors.GLOBAL_ERROR Hi, I am doing the

RE: html:errors ActionErrors.GLOBAL_ERROR

2002-12-17 Thread Vijay Balakrishnan
is:+errors);//this is null Thanx, Vijay -Original Message- From: Sri Sankaran [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 17, 2002 5:47 AM To: Struts Users Mailing List Subject: RE: html:errors ActionErrors.GLOBAL_ERROR Are you invoking saveErrors() in the action that generates

Re: html:errors location

2002-12-13 Thread Scott Reisdorf
To place the error beside the text field, you explicitly call it next to each field. In your case, simply do this: html:text property=username /nbsp;html:errors property=username / br html:password property=password /nbsp;html:errors property=password / Hope this helps, -scott At 06:52 PM

RE: html:errors location

2002-12-13 Thread Yee, Richard K,,DMDCWEST
Joao, Did you do this? PUsername: html:text property=username/html:errors property=username//P PPassword: html:password property=password/html:errors property=password//P Regards, Richard -Original Message- From: Joao Araujo [SMTP:[EMAIL PROTECTED]] Sent: Friday,

RE: html:errors location

2002-12-13 Thread Joao Araujo
thank you guys. Joao, Joao, Did you do this? PUsername: html:text property=username/html:errors property=username//P PPassword: html:password property=password/html:errors property=password//P Regards, Richard -Original Message- From: Joao Araujo [SMTP:[EMAIL

Re: html:errors and logic:greaterThan w/out having to use scriptlets

2002-12-03 Thread Dennis Muhlestein
ok, I found the messagesPresent tag in the logic tags. I still have a problem though: What if I need the logic to display for two specific properties: It would be nice if I could do something like this: logic:messagesPresent property=field1,field2Some Logic Here/logic:messagesPresent Any

RE: html:errors/

2002-11-19 Thread Karr, David
It's been a few weeks since I've reviewed this, but I don't believe there's an easy way to get what you want. There is a bug on Bugzilla, #13565, where we've been hashing out some thoughts on this. If this is really an issue for you, please write a comment on the bug report with details of

Re: [html:errors] Separation of Global Errors from Specific Errors

2002-11-11 Thread Kris Schneider
Jerry, I really can't see a way to get at everything *except* the global errors. You should be able to get at *just* the global errors with: html:errors property=%= org.apache.struts.action.ActionErrors.GLOBAL_ERROR %/ Quoting Jerry Jalenak [EMAIL PROTECTED]: Any help on this at all?

Re: html:errors - how do you make a bulleted error list

2002-10-10 Thread Doug Bryant
My error messages do show up. They show up as one long string. For instance, they would show up like Text of error1. Text of error2. Text of error3 I would like to get this resolved without putting li tags around the messages themselves. thanks, Doug On Wed, 2002-10-09 at 17:37, David

RE: html:errors - how do you make a bulleted error list

2002-10-10 Thread Morycz, Felicia V
: Doug Bryant [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 8:47 AM To: Struts Users Mailing List Subject: Re: html:errors - how do you make a bulleted error list My error messages do show up. They show up as one long string. For instance, they would show up like Text of error1. Text

Re: html:errors - how do you make a bulleted error list

2002-10-09 Thread David Graham
Do any of your error messages show up, or just the header and footer? It will only print the prefix if there are errors to display. Dave From: Doug Bryant [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: html:errors

RE: html:errors/ not displaying message?

2002-08-21 Thread wbchmura
- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 5:17 PM To: Chmura, William B. Subject: RE: html:errors/ not displaying message? Should've read the rest of your message, the part where you changed the message-resources I made the same change, and lo

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
For your html:errors/ tag, don't specify the name attribute. Specify the property attribute instead. It would look like: html:errors property=userID / I hope this helps ya out. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
with localization? Ideas? Jerry -Original Message- From: Kamholz, Keith (corp-staff) USX [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 1:44 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? For your html:errors/ tag, don't specify the name

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
Could just not be finding your properties file... Should be in: /classes/com/labone/Messages/ApplicationResources.properties -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:02 PM To: struts-user Subject: RE: html:errors

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:28 PM To: [EMAIL PROTECTED] Subject: RE: html:errors/ not displaying message? Could just not be finding your properties file... Should be in: /classes/com/labone/Messages

RE: html:errors/ not displaying message?

2002-08-20 Thread Sri Sankaran
You mean html:html locale=true ? -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? Checked. it's there. I seem to remember a post sometime ago

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? Checked. it's there. I seem to remember a post sometime ago about having to specify locale= , but can't seem to remember where it needs to be coded. I went to check the archives about an hour ago and couldn't get

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? Would it go in the message-resources tag in your struts-config.xml? I haven't done it, but i think i remember seeing that on this list. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From

RE: html:errors/ not displaying message?

2002-08-20 Thread Kamholz, Keith (corp-staff) USX
http://www.buffalo.edu/~kkamholz -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:36 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message? Well, that's just it. I don't remember either, and can't see to find

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
I've never specified locale... I did get the ?en_US**? When it could not find my entry or my entire properties file... -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:36 PM To: struts-user Subject: RE: html:errors/ not displaying

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
The ?? Show that its not being found - within the ?? is the kjey its looking for... -Original Message- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:44 PM To: struts-user Subject: RE: html:errors/ not displaying message? The question marks MIGHT

RE: html:errors/ not displaying message?

2002-08-20 Thread Jerry Jalenak
In fact, I think I'll try to add an 'english' version of the file and see what happens. jerry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 2:54 PM To: [EMAIL PROTECTED] Subject: RE: html:errors/ not displaying message

RE: html:errors/ not displaying message?

2002-08-20 Thread wbchmura
other things). -Original Message- From: Jerry.Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:52 PM To: struts-user Subject: RE: html:errors/ not displaying message? I agree, it appears that the key is not being found. The ActionForm adds the message like

RE: html:errors/ not displaying message?

2002-08-20 Thread Robert Taylor
Are the following properties in your properties file? errors.header= errors.footer= robert -Original Message- From: Jerry Jalenak [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 20, 2002 3:23 PM To: 'Struts Users Mailing List' Subject: RE: html:errors/ not displaying message

RE: html:errors - highlight affected text field

2002-07-17 Thread Galbreath, Mark
You can use HTML syntax in your ApplicationResources.properties file for any error key like: default.global.error.key=table border=0 cellpadding='4' cellspacing='4' bgcolor='#FF'trtdspan class=errorValidation errors were encountered while processing your request.brPlease review your entries

RE: html:errors

2002-07-16 Thread Jan Vervecken
Something like this would make Struts more MVC-like I think, more flexible toward graphical design. Has anyone implemented tags that allow for this approach, or is it possible with existing Struts tags? tnx -Jan [EMAIL PROTECTED] 11-07-02 16:37 Like so? logic:messagesPresent font

RE: html:errors

2002-07-16 Thread wbchmura
Maybe I am misunderstanding you, but the tags I put in below exist already (the sample is right out of a working jsp page) -Original Message- From: Jan.Vervecken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:27 AM To: struts-user Subject: RE: html:errors Something like

RE: html:errors

2002-07-16 Thread Rene Eigenheer
]] Sent: Dienstag, 16. Juli 2002 15:40 To: [EMAIL PROTECTED] Subject: RE: html:errors Maybe I am misunderstanding you, but the tags I put in below exist already (the sample is right out of a working jsp page) -Original Message- From: Jan.Vervecken [mailto:[EMAIL PROTECTED

RE: html:errors

2002-07-16 Thread wbchmura
/ /html:messages /logic:messagesPresent I am too familiar with setting an error to a specific field though... maybe thats what you are looking for? -Original Message- From: reigenheer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:45 AM To: struts-user Subject: RE: html:errors

RE: html:errors

2002-07-16 Thread Jan Vervecken
[mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:27 AM To: struts-user Subject: RE: html:errors Something like this would make Struts more MVC-like I think, more flexible toward graphical design. Has anyone implemented tags that allow for this approach, or is it possible with existing

RE: html:errors

2002-07-16 Thread wbchmura
Sorry about that... I started with the older struts, but did not really start working with it alot until recently under the 1.1 regime -Original Message- From: Jan.Vervecken [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 10:17 AM To: struts-user Subject: RE: html:errors ah

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Galbreath, Mark
% ActionErrors ae = ( ActionErrors) request.getAttribute( Action.ERROR_KEY); boolean err = false; if( ae != null) { err = true; } % % if( err) { do_something } % Mark (back from Amsterdam) -Original Message- From: Chang, Henrique [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15,

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Chang, Henrique
Thanks, this is what I was looking for! Henrique. -Original Message- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 5:06 PM To: 'Struts Users Mailing List' Subject: RE: html:errors ActionErrors accessible as scripting variable? % ActionErrors ae

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Ajay Chitre
I have no idea if this is the best way to do this but I *believe* this will work; Object value = pageContext.getAttribute (Action.ERROR_KEY, PageContext.REQUEST_SCOPE); if (value == null) { //No errors found } else { //Errors encountered } I don't think there's any tag

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Martin Cooper
' Subject: RE: html:errors ActionErrors accessible as scripting variable? % ActionErrors ae = ( ActionErrors) request.getAttribute( Action.ERROR_KEY); boolean err = false; if( ae != null) { err = true; } % % if( err) { do_something } % Mark (back from Amsterdam) -Original

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
Hey, This kinda depends on what errors you are looking for. If you are using automatic form validation, then make the validate() method simply return an ActionErrors object with any error messages. If there are no errors, return null or an empty ActionErrors. Struts will automatically take the

Re: html:errors

2002-07-11 Thread @Basebeans.com
Subject: Re: html:errors From: Eric Rizzo [EMAIL PROTECTED] === [EMAIL PROTECTED] wrote: Like so? logic:messagesPresent font color=Redhtml:errors//font /logic:messagesPresent For that why not just put the font... and /font elements as the value of errors.header and errors.footer in your

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
with it. ~ Keith http://www.buffalo.edu/~kkamholz -Original Message- From: Struts Newsgroup [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 12:40 PM To: [EMAIL PROTECTED] Subject: Re: html:errors Subject: Re: html:errors From: Eric Rizzo [EMAIL PROTECTED] === [EMAIL PROTECTED

RE: html:errors

2002-07-11 Thread wbchmura
Message- From: kkamholz [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 2:10 PM To: struts-user Subject: RE: html:errors Yeah, that's what I do. I make the font part of the header/footer, as well as tags for a list. Then the individual error messages are list items. It creates

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 3:39 PM To: [EMAIL PROTECTED] Subject: RE: html:errors If you have the HTML in the resources file, you are stuck with that font across the whole application I would think. For a form or something its

  1   2   >