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

2004-03-08 Thread Max Kovalenkov
] wrote: Hi! I have a custom validator which works fine, but when the html:errors/ tag is being executed, it throws a ClassCastException. My validator has the following line for adding to error messages: errors.add( field.getKey(), new ActionMessage(errors.dates, date1, date2)); If validation

html:errors/ throws exception

2004-03-05 Thread Max Kovalenkov
Hi! I have a custom validator which works fine, but when the html:errors/ tag is being executed, it throws a ClassCastException. My validator has the following line for adding to error messages: errors.add( field.getKey(), new ActionMessage(errors.dates, date1, date2)); If validation passes

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

html:errors /

2004-02-17 Thread Daniel
I'm using ActionMessages class and ActionMessage for manipulate my errors and show it in the html:errors / at jsp file but the message don't show , I was using the ActionErrors and ActionError and was ok, no problems. How can I make to solve it. cheers Daniel S.

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
Struts Xslt generator for Eclipse (http://easystruts.sf.net). title bean:message key=logon.efetuar.logon //title /head body html:messages id=error property=foo bean:write name=error / /html:messages html:form action=logon senha : html:password property=senha/html:errors property=senha//br

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

html:errors break line

2004-01-16 Thread Vinicius Carvalho
Hi there! I have a page that renders all my erros, called errors.jsp (duh!). What I'm trying to do is if the user's session has expired, I'll forward him using a javascript, after an alert: Here's how my code looks like: SCRIPT function sessionExpired(){ alert(html:errors property

html:errors breakline (version 2)

2004-01-16 Thread Vinicius Carvalho
: SCRIPT function sessionExpired(){ alert(html:errors property=sessionExpiredString/); top.frames.location=index.jsp; } function refreshScreen() { html:errors property=sessionExpiredFunction/ } /SCRIPT Now, let's suppose the session has expired: the code displays this: SCRIPT function

html:errors Tag Deprecated?

2003-12-08 Thread John Topley
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 errors? Any code examples appreciated. Thanks, John

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

html:errors indexed?

2003-09-30 Thread Matthias Fraass
Hi, I've got a JSP page with some elements which are drawn by iterating through a collection. Each of these elements can be validated individually. The problem is that html:errors doesn't handle the indexed tag as the other controls (e.g. html:text) do. How can I show specific error messages

html:errors tag..

2003-09-15 Thread Ritvik
Hi There, I am using html:errors\ tag at top of my page to display any validation errors when a form is submitted, but for some reason, I couldn't see any errors message even I have left some mandatory fields blank. I am not getting any errors in server log as well. I have added the validation

Re: html:errors tag..

2003-09-15 Thread koen boutsen
Message - DATE: Mon, 15 Sep 2003 10:22:27 From: Ritvik [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: Hi There, I am using html:errors\ tag at top of my page to display any validation errors when a form is submitted, but for some reason, I couldn't see any errors message even I have left some

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

html:errors

2003-08-27 Thread Yakov Belov
Dear All, I have a question about html:errors tag. There is an optional attribute, bundle as in html:errors bundle=something/ My question is how do I use bundle attribute; is it a reference to a properties file or reference to a line in the default properties file? Thank you in advance, Yakov

RE: html:errors

2003-08-27 Thread Mohd Amin Mohd Din
List Subject: html:errors Dear All, I have a question about html:errors tag. There is an optional attribute, bundle as in html:errors bundle=something/ My question is how do I use bundle attribute; is it a reference to a properties file or reference to a line in the default properties file? Thank

Re: html:errors

2003-08-27 Thread Yakov Belov
Thanks Amin. But I still have a query. I use in my ActionForm: ActionErrors errors = new ActionErrors(); errors.add(persDet1, new ActionError(error.option.required)); and then in the jsp file: html:errors property=persDet1 bundle=persDet/ where persDet.properties exists and has

Re: html:errors

2003-08-27 Thread Yakov Belov
Thanks Amin. But I still have a query. I use in my ActionForm: ActionErrors errors = new ActionErrors(); errors.add(persDet1, new ActionError(error.option.required)); and then in the jsp file: html:errors property=persDet1 bundle=persDet/ where persDet.properties exists and has

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
[mailto:[EMAIL PROTECTED] Sent: Monday, August 18, 2003 10:51 AM To: '[EMAIL PROTECTED]' Subject: html:errors/ throwing null servlet exception Using the nightly build from 8/14, I'm now getting a null servlet exception on an html:errors/ statement. I've also had to change from using

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread David Graham
. ActionMessage. I made some changes this weekend to allow html:errors to use ActionMessage and ActionError objects. So, you shouldn't be using ActionError anymore but you still have to use ActionErrors because it's returned from the forms' validate() method. Just add ActionMessage objects to ActionErrors

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread Jerry Jalenak
on the html:errors/ statement (gives me a 'null' servlet exception.) Since you've been working on making all this play nice, do I just need to pull down a more recent nightly (I'm using 8/14 currently...) Thanks! Jerry Jalenak Team Lead, Web Publishing LabOne, Inc. 10101 Renner Blvd. Lenexa, KS 66219 (913) 577

RE: html:errors/ throwing null servlet exception

2003-08-18 Thread David Graham
) ee.getErrorKey())); my JSP blows up on the html:errors/ statement (gives me a 'null' servlet exception.) Since you've been working on making all this play nice, do I just need to pull down a more recent nightly (I'm using 8/14 currently...) Try the latest nightly. The html:errors tag

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: Two forms on one page - html:errors/

2003-08-14 Thread Michael Ruppin
... /html:messages m --- David Thielen [EMAIL PROTECTED] wrote: Hi; I have two forms on one page. In this case, how do I handle html:errors/ for each form? I want to put the errors from each form above that form. thanks - dave __ Do you Yahoo!? Yahoo

Two forms on one page - html:errors/

2003-08-14 Thread David Thielen
Hi; I have two forms on one page. In this case, how do I handle html:errors/ for each form? I want to put the errors from each form above that form. thanks - dave

html:errors/ not working!

2003-07-31 Thread Samanth Athrey
Hi, I have this tag html:errors/ in my jsp file. But when error occurs, this fails to display the error messages on the jsp file. There is only single copy of my ApplicationResources.properties file. I am overriding the validate() method of the ActionForm class. Could anybody tell me where am

Re: html:errors/ tag

2003-07-31 Thread Andrew Geery
is in request scope. If such a bean is not found, nothing will be rendered. You could also modify your message resource properties to display your errors in a table and let Struts do all of the work for you. From the description of the html:errors tag (http://jakarta.apache.org/struts/userGuide

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

html:errors/ not displaying the errors?

2003-07-30 Thread James Adams
Hello, I'm using DynaValidatorForm to check certain form fields are entered as required. The validation is done sucessfully but I've recently added somthing that seems to have stopped html:errors/ from displaying the errors? Does anyone have any suggestions why this might have happened

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
- From: James Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: html:errors/ not displaying the errors? Hello, I'm using DynaValidatorForm to check certain form fields are entered as required. The validation is done sucessfully but I've recently

RE: html:errors/ not displaying the errors?

2003-07-30 Thread Bailey, Shane C.
rid of the custom bundle name in the module the errors showed up. -Original Message- From: James Adams [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: html:errors/ not displaying the errors? Hello, I'm using DynaValidatorForm to check

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

html:errors/ problems

2003-07-02 Thread Brian McSweeney
all the error messages from the resource bundle etc. In my jsp I have the following tag to try to output the ActionError messages html:errors/ What's happening is, my jsp is being validated, but the messages just aren't getting outputted. I'm getting white space where the messages should

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
: 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 captured. The first few lines of your validate method look like they just ignore the result of calling super.validate

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

html:errors / tag causing 500 error under OC4J

2003-06-20 Thread frankgriffithiii
When I use the html:errors / tag under OC4J, I get a 500 error. All other html tags work fine. Has anyone had this type of problem before? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

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

html:errors / tag in javascript alert

2003-06-12 Thread Anurag Garg
Hi, I want to display the validation error message from ActionForm in javascript alert box, ragther than displaying on my jsp page. I am doing it in a javascript function at page load time like this, alert(html:errors /) But i am getting the java script error saying Object expected. Any

html:errors tag lost?

2003-06-10 Thread Gregory F. March
While playing with Kevin's action input= suggestion, I found I needed to mess with the redirect= values. If I set redirect=true, my relative paths work fine. However, I am using the html:errors tag and it seems that it has gotten lost, i.e. I do not get my validation errors displayed. I'm

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
intact. -Josh -Original Message- From: Gregory F. March [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 3:08 PM To: Struts Users Mailing List Subject: html:errors tag lost? While playing with Kevin's action input= suggestion, I found I needed to mess with the redirect= values. If I

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

html:errors

2003-05-30 Thread jailani . s
I have used the tag html:errors/ for displaying error messages, It is displaying in the front end as null message null , why the message is preceded and appended with null. What could be the problem please advise. Regards, Jailani.S This e-Mail may contain proprietary and confidential

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

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

html:errors/ not showing anything!

2003-03-25 Thread Alonso, Damian
I currently have a Struts 1.1 application that I am currently moving to use frames and tiles. I am still not sure if my html:errors/ is not working because I am using frames, or because it is not reading the application.properties. This is where I need your help! :-) When I expect an error

RE: html:errors/ not showing anything!

2003-03-25 Thread Karr, David
application that I am currently moving to use frames and tiles. I am still not sure if my html:errors/ is not working because I am using frames, or because it is not reading the application.properties. This is where I need your help! :-) When I expect an error, I was getting the expected

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

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

2003-03-07 Thread Jose Gonzalez Gomez
It seems that html:errors/ is broken in Struts 1.1rc1. I have a jsp with the following code: %@ taglib uri=http://jakarta.apache.org/struts/tags-html; prefix=html % div class=disableTextboldhtml:errors//div This page works fine, but whenever I change the uri to use the html-el taglib

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 class

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: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-23 Thread Steve Armstrong
i l l i a m b o y d [mailto:[EMAIL PROTECTED] Sent: Saturday, February 22, 2003 10:00 PM To: Struts Users Mailing List Subject: Help: ActionError - html:errors / does not expand the {0} placeholder hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet

Re: Help: ActionError - html:errors / does not expandthe{0}placeholder

2003-02-23 Thread Jeff Kyser
clarified, is of no use to me and my setup. SHEESH!!! - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 3:59 AM Subject: Re: Help: ActionError - html:errors / does not expand the{0}placeholder Sorry, Will, I

RE: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-23 Thread Robert Taylor
Please stop sending emails with 'Return receipt requested'. Its rather annoying. robert -Original Message- From: w i l l i a m b o y d [mailto:[EMAIL PROTECTED] Sent: Sunday, February 23, 2003 2:36 AM To: Struts Users Mailing List Subject: Re: Help: ActionError - html:errors / does

Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread w i l l i a m b o y d
hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically similar setup; but deployment os is xp. i got a jsp page that has a choice box that allows multiple choices. i set a validation rule in my action form's validate

Re: Help: ActionError - html:errors / does not expand the {0}placeholder

2003-02-22 Thread Jeff Kyser
So what does your validation.xml file look like w.r.t. the rule in question? -jeff On Saturday, February 22, 2003, at 09:00 PM, w i l l i a m b o y d wrote: hello all, developing on w98 with tomcat 3.2.24, mysql 3.23.36, struts 1.0.2, jdk 1.3.1., servlet 2.2. will be deploying on basically

Re: Help: ActionError - html:errors / does not expand the {0}placeholder

2003-02-22 Thread Jeff Kyser
For example, on my loginForm, where field userName depends on the required rule: form-validation formset form name=loginForm field property=userName depends=required arg0 key=loginForm.username.displayname/ /field

Re: Help: ActionError - html:errors / does not expand the {0}placeholder

2003-02-22 Thread w i l l i a m b o y d
constructor isn't being included in the error message that is being output. - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 3:06 AM Subject: Re: Help: ActionError - html:errors / does not expand the {0

Re: Help: ActionError - html:errors / does not expand the{0}placeholder

2003-02-22 Thread Jeff Kyser
passed into the ActionError constructor isn't being included in the error message that is being output. - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 3:06 AM Subject: Re: Help: ActionError - html:errors

Re: Help: ActionError - html:errors / does not expand the{0}placeholder

2003-02-22 Thread w i l l i a m b o y d
!!! - Original Message - From: Jeff Kyser [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 3:59 AM Subject: Re: Help: ActionError - html:errors / does not expand the{0}placeholder Sorry, Will, I missed the 1.0.2 reference. Have only worked

Re: Help: ActionError - html:errors / does not expand the{0}placeholder

2003-02-22 Thread Chris Trawick
am i the only one scratching my head at this? did i miss something? - Original Message - From: w i l l i a m b o y d [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Saturday, February 22, 2003 11:17 PM Subject: Re: Help: ActionError - html:errors / does not expand

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread David M. Karr
w == w i l l i a m b o y d w writes: w Sorry! Youve selected too many choices for {0}. (what happened to my w apostrophe in You've ?) w here is the appropriate line from my resource bundle: w error.prefs.limit=Sorry! You've selected too many choices for {0}. w

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread w i l l i a m b o y d
thanks, david i will give that a try. in the meantime, any more suggestions from others would be sincerely appreciated. - Original Message - From: David M. Karr [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 4:56 AM Subject: Re: Help: ActionError - html:errors

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread Paul Linden
Your comment about the apostrophe is a clue - it's a special character in the MessageFormat class that's used for quoting. Use two apostrophes to display '. I think you'll find {0} will then be evaluated. And relax - Jeff's response may have been no help to you, but he was trying. And please

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread w i l l i a m b o y d
PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 6:40 AM Subject: Re: Help: ActionError - html:errors / does not expand the {0} placeholder Your comment about the apostrophe is a clue - it's a special character in the MessageFormat class that's used

Re: Help: ActionError - html:errors / does not expand the {0} placeholder

2003-02-22 Thread w i l l i a m b o y d
- From: w i l l i a m b o y d [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Sunday, February 23, 2003 7:14 AM Subject: Re: Help: ActionError - html:errors / does not expand the {0} placeholder thanks paul, you are right. for what it's worth, i'd already solved my

javascript alert with the content of html:errors

2003-02-20 Thread Jose Ramon Diaz
Hi all, I would like to get a javascript alert with the content of html:errors/, so I tried this in the JSP: ... script alert('html:errors/'); /script ... But the HTML code generatd is the following, script alert

html:errors/

2003-02-17 Thread varma dvk
Hi frenz, Here goes my problem... How can i display action errors at different different places in jsp. For example i have username and password fields in a jsp.If the username is null then i want display the error right behind the username text box...n the same for password.. how can i do

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

html:errors / trouble

2003-02-10 Thread alexj
/table html:errors / /html:form /center /body /html My login form : // Created by Xslt generator for Eclipse. // XSL : not found (java.io.FileNotFoundException: (Le chemin d'accès spécifié est introuvable)) // Default XSL used : easystruts.jar$org.easystruts.xslgen.JavaClass.xsl

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]

Question about ActionErrors html:errors

2003-01-31 Thread Ali Khan
Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages. Don't understand why the null's occur ? It shows like this: null Definition

RE: Question about ActionErrors html:errors

2003-01-31 Thread Greg.Reddin
To: [EMAIL PROTECTED] Subject: Question about ActionErrors html:errors Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages. Don't understand why

Re: Question about ActionErrors html:errors

2003-01-31 Thread Anders Hermansen
* Ali Khan ([EMAIL PROTECTED]) wrote: Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages. Don't understand why the null's occur ? It shows like

Re: Question about ActionErrors html:errors

2003-01-31 Thread Ali Khan
Thanx, that did it, cheers. Anders Hermansen wrote: * Ali Khan ([EMAIL PROTECTED]) wrote: Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages

Re: Question about ActionErrors html:errors

2003-01-31 Thread David Graham
html:errors Date: Fri, 31 Jan 2003 23:18:03 +0100 Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages. Don't understand why the null's occur ? It shows like

Re: Question about ActionErrors html:errors

2003-01-31 Thread atta ur rehman
Subject: Question about ActionErrors html:errors Hi, have made an simple struts-application. I got one problem. That is when my actionerrors are shown generated with html:errors /, it shows null in start and in the end of the error-messages. Don't understand why the null's occur ? It shows

[html:errors] Displaying error with form elements

2003-01-27 Thread Ashish Bansal
Hi! I am a new bie with Struts trying to figure out a way to display form errors along with the form elemtn which was the source of the error. For example, if the form is for new user registration, and it had two errors - a. User name already exists b. passwords dont match these would be

ActionErrors - html:errors/

2002-12-23 Thread Puneet Agarwal
, Errors, Warnings, Information. 2. html:errors/, shows all of them in the same window, how to segragate them into different types. Any help in this regard may help me in getting Struts used in our project. Also if any of the developers, who read this mail, think that this features can be developed

RE: ActionErrors - html:errors/

2002-12-23 Thread Arnaud HERITIER
You can use the property attribute of html:errors/ In your Action or in your FormBean you save your errors under an appropriate key : In an action : ActionErrors errors = new ActionErrors(); errors.add(Constants.FATAL_LEVEL, new ActionError()); or errors.add(Constants.ERROR_LEVEL, new

html:errors/ question

2002-12-18 Thread Dmitry Vasilenko
Dear, Describe: I have for example 10 form field (with validaton required). I see in the jsp(html:errors/) 10 errors when I try to inut ntohing. Question: I want to see in the jsp only for example 3 errors. Best regards, Dmitry. -- To unsubscribe, e-mail: mailto:[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
:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 1:52 PM To: struts-user Cc: vasilenko Subject: html:errors/ question Dear, Describe: I have for example 10 form field (with validaton required). I see in the jsp(html:errors/) 10 errors when I try to inut ntohing. Question: I want to see

  1   2   3   4   >