html:errors breakline (version 2)

2004-01-16 Thread Vinicius Carvalho
w my code looks like: function sessionExpired(){ alert("<html:errors property="sessionExpiredString"/>"); top.frames.location="index.jsp"; } function refreshScreen() { <html:errors property="sessionExpiredFunction"/> } Now, let'

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: function sessionExpired(){ alert(&q

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 spe

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

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")); } retur

html:errors tag..

2003-09-15 Thread Ritvik
Hi There, I am using 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 logic in valid

RE: html:errors tag lost?

2003-06-10 Thread Josh Rayls
butes 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= val

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

[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

RE: html:errors & ActionErrors.GLOBAL_ERROR

2002-12-18 Thread Sri Sankaran
27; Subject: RE: html:errors & ActionErrors.GLOBAL_ERROR Hi, I tried using saveErrors(request,errors) in the 1st action.But the 2nd action to which it is forwarded doesn't seem to get the error. Here is my code in the 2nd action: while (enum.hasMoreElements()){ Objec

RE: html:errors & ActionErrors.GLOBAL_ERROR

2002-12-17 Thread Vijay Balakrishnan
ibute(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

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,

html:errors & ActionErrors.GLOBAL_ERROR

2002-12-16 Thread Vijay Balakrishnan
Hi, I am doing the following in the first Action: ActionErrors errors = new ActionErrors(); errors.add(ActionErrors.GLOBAL_ERROR,new ActionError("individual.backbutton.error")); return forward; I am forwarding to another Action which in turn forwards to another Act

RE: html:errors location

2002-12-13 Thread Joao Araujo
thank you guys. Joao, Joao, Did you do this? Username: Password: -Original Message- > From: Joao Araujo [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 10:45 AM > To: [EMAIL PROTECTED] > Subject: html:errors location > > Hi, > >

RE: html:errors location

2002-12-13 Thread Yee, Richard K,,DMDCWEST
Joao, Did you do this? Username: Password: -Original Message- > From: Joao Araujo [SMTP:[EMAIL PROTECTED]] > Sent: Friday, December 13, 2002 10:45 AM > To: [EMAIL PROTECTED] > Subject: html:errors location > > Hi, > > According to th

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP " Don't settle for " at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the "username" property, we would code this instead: err

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:     Hope this helps, -scott At 06:52 PM 12/13/2002 -0500, you wrote: Hi, According to the TIP " Don't settle for " at http://husted.com/struts/tips/index.html,

html:errors location

2002-12-13 Thread Joao Araujo
Hi, According to the TIP " Don't settle for " at http://husted.com/struts/tips/index.html, from Ted Husted I can add an error by the side of the property that caused it. something like this: To specify that this message is for the "username" propert

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: Some Logic Here Any Suggestions? Thanks Dennis On Tue, 2002-12-03 at 14:22, Dennis Muhle

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

2002-12-03 Thread Dennis Muhlestein
In addition to displaying errors by a specific field, i'd like to display some additional information. ie: <% if errors.size( "someField" ) > 0 { %> Some Additional Info .. <% } %> Problem is, I can't see a way to do that with any of the logic tags because there is no property that

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: Quoting Jerry Jalenak <[EMAIL PROTECTED]>: > Any help on this at all? > > > > I know I've this answer before, but I cannot seem to find it in the > a

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

2002-11-11 Thread Jerry Jalenak
Any help on this at all? I know I've this answer before, but I cannot seem to find it in the archives. I am setting ActionErrors for both specific properties as well as global errors. In other words, in my action I have errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("myError")

html:errors

2002-11-07 Thread Chen, Gin
Hi, I am using: It worked when I did manual validation and added the errors to with add.errors property But now I'm trying to use the struts validator and created a validator.xml. How do I tell the Struts-validator where to put the errors? Can I get

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

2002-11-07 Thread Jerry Jalenak
I know I've this answer before, but I cannot seem to find it in the archives. I am setting ActionErrors for both specific properties as well as global errors. In other words, in my action I have errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("myError")); and errors.add(

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

2002-10-10 Thread Morycz, Felicia V
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 of error2. Text of error3" I would like to get this r

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

2002-10-10 Thread Doug Bryant
AIL PROTECTED]> > >To: Struts Users Mailing List <[EMAIL PROTECTED]> > >Subject: html:errors - how do you make a bulleted error list > >Date: 09 Oct 2002 17:14:14 -0400 > > > >Hello, > > > >We are trying to display a list of errors at the top

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

2002-10-09 Thread David Graham
st <[EMAIL PROTECTED]> >Subject: html:errors - how do you make a bulleted error list >Date: 09 Oct 2002 17:14:14 -0400 > >Hello, > >We are trying to display a list of errors at the top of a page. We are >trying to make each error bulleted, but are running into difficulty.

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

2002-10-09 Thread Doug Bryant
Hello, We are trying to display a list of errors at the top of a page. We are trying to make each error bulleted, but are running into difficulty. I looked through the 1.1b2 examples and saw that there were a couple of examples using "errors.prefix" and "errors.suffix" to wrap errors in bullet

RE: Property "errors.prefix" not used by HTML:errors ?

2002-09-30 Thread James Mitchell
] > Sent: Sunday, September 29, 2002 5:46 PM > To: [EMAIL PROTECTED] > Subject: Property "errors.prefix" not used by HTML:errors ? > > > Hi all ! > > Complete newbe trying to get the to print pretty. > I include the following into my ApplicationResources.proper

Property "errors.prefix" not used by HTML:errors ?

2002-09-29 Thread Pel Oliver Kristiansen
Hi all ! Complete newbe trying to get the to print pretty. I include the following into my ApplicationResources.properties errors.header=Feil oppstod! errors.prefix=* errors.sufffix= errors.header= (ignore the lame tags they are just for testing) The "errors.header" and "errors.header" are di

How to pass paramaeters to display dynamic text using html:errors tag?

2002-07-30 Thread Ravi Kora
Hi, I am a newbie to struts. Right now, I am able to display server side errors using the html:errors tag. But, I want to extend the functionality of this to display some dynamic text. I want to pass a parameter to the tag in Application.properties file which adds the parameter to the text

html:errors tag behaves strangely.

2002-07-28 Thread dave sag
hi people using struts1.1beta i want to display my errors such that i get any major errors at the top of the page and then any form specific validation errors down with my form. doing this simply was in fact my main motivation for migrating to struts. so i have set up my page and it all wor

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=Validation errors were encountered while processing your request.Please review your entries and resubmit the form. But be sure to keep it all on a single line. Mark -Origin

html:errors - highlight affected text field

2002-07-17 Thread Adrian Theuma
Hi, I am using the tag to display accumulated errors that were encountered on the form after the user submits the form. I would like to be able to highlight the text field that has the error. My life gets complicated further since I am also using nested tags and the names of the input fields

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

2002-07-16 Thread Jan Vervecken
--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 this would make Struts more MVC-like I think, more flexible toward graphical design. Has anyone implemented tags that allow for this appro

RE: html:errors

2002-07-16 Thread wbchmura
: Tuesday, July 16, 2002 9:45 AM To: struts-user Subject: RE: html:errors once I wished to have a possibility like this: I wished struts could (based on the action errors set) which field has an error and which not > -Original Message- > From: [EMAIL PROTECTED] > [mail

RE: html:errors

2002-07-16 Thread Rene Eigenheer
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
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 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? -- To unsubscribe, e-ma

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Martin Cooper
Or, without scriptlets: // Display your errors here -- Martin Cooper > -Original Message- > From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] > Sent: Monday, July 15, 2002 2:06 PM > To: 'Struts Users Mailing List' > Subject: RE: html:errors ActionError

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Ajay Chitre
;s any tag for this so you may want to create it. -Original Message- From: Chang, Henrique [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 1:46 PM To: 'Struts Users Mailing List' Subject: html:errors ActionErrors accessible as scripting variable? I have JSP page that shou

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? <% Ac

RE: html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Galbreath, Mark
day, July 15, 2002 4:46 PM To: 'Struts Users Mailing List' Subject: html:errors ActionErrors accessible as scripting variable? I have JSP page that should determine whether there are errors or not in order to display certain parts of the page. So, is there a way to access the ActionError

html:errors ActionErrors accessible as scripting variable?

2002-07-15 Thread Chang, Henrique
I have JSP page that should determine whether there are errors or not in order to display certain parts of the page. So, is there a way to access the ActionErrors object in a JSP as a scripting variable, or even better, a tag lib structure so that I can check for the existence of the ActionErrors

RE: html:errors

2002-07-11 Thread wbchmura
July 11, 2002 4:09 PM To: struts-user Subject: RE: html:errors True, putting the html in the resources file does cut down a little bit on customization, but sometimes it's nice. I'm doing an entire application on my own, so I don't really have to worry about what other programmer

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
edu/~kkamholz -Original 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. Fo

RE: html:errors

2002-07-11 Thread wbchmura
--Original 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.

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
a problem 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]> ===

Re: html:errors

2002-07-11 Thread @Basebeans.com
Subject: Re: html:errors From: Eric Rizzo <[EMAIL PROTECTED]> === [EMAIL PROTECTED] wrote: > Like so? > > > > For that why not just put the and elements as the value of errors.header and errors.footer in your ApplicationResources file? Eric -- Eric Rizzo So

Re: AW: html:errors

2002-07-11 Thread @Basebeans.com
Subject: Re: AW: html:errors From: Eric Rizzo <[EMAIL PROTECTED]> === [EMAIL PROTECTED] wrote: > Yes I know. Probably my question was wrong. > Can I use the tag with some > tags? > like > > > Do Some stuff for errors. > I use <%@ page import

RE: html:errors

2002-07-11 Thread wbchmura
Like so? -Original Message- From: mhanel [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:50 AM To: struts-user Subject: AW: html:errors Yes I know. Probably my question was wrong. Can I use the tag with some tags? like Do Some stuff for errors

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
L PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:50 AM To: [EMAIL PROTECTED] Subject: AW: html:errors Yes I know. Probably my question was wrong. Can I use the tag with some tags? like Do Some stuff for errors. -Ursprüngliche Nachricht-

AW: html:errors

2002-07-11 Thread mhanel
truts Users Mailing List' Betreff: RE: html:errors 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 o

RE: html:errors

2002-07-11 Thread Kamholz, Keith (corp-staff) USX
o.edu/~kkamholz -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 11, 2002 8:17 AM To: [EMAIL PROTECTED] Subject: html:errors How do I check on the jsp if some error occured? If an error occured I wanna display a Dialog with the errormessages i

html:errors

2002-07-11 Thread mhanel
How do I check on the jsp if some error occured? If an error occured I wanna display a Dialog with the errormessages inside when the page gets reloaded. Hanel Matthias Fachinformatiker (Anwendungsentwic

html:errors and property and header bug

2002-06-26 Thread Boris Nieuwenhuis
Hi, I find some strange behaviour in de tag, when I use a form and have two input fields and I separate the errormessages with the property attribute in a form, like: and the name text box, is empty so in validation I add an actionerror, but the password is filled. so the second error tag d

Re: html:errors tag funny null strings -SOLVED

2002-06-21 Thread Jan Fetyko
> > List" >

AW: html:errors tag funny null strings

2002-06-21 Thread Kölbl Norbert
are missing entries for > "errors" as in... > > > > errors.header=Validation > ErrorYou must > > correct the following error(s) before proceeding: > > errors.footer= > > > > > > -Original Message- > > From: Jan Fetyko [mailto:[EMA

Re: html:errors tag funny null strings

2002-06-20 Thread Tim T. Young
List" Subject: Re: html

Re: html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
before proceeding: > errors.footer= > > > -Original Message- > From: Jan Fetyko [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 20, 2002 1:51 PM > To: Struts Users Mailing List > Subject: html:errors tag funny null strings > > > Hi, > > I'm using

RE: html:errors tag funny null strings

2002-06-20 Thread Celestino Pena
To: Struts Users Mailing List Subject: html:errors tag funny null strings Hi, I'm using the tag to display errors after the form validation fails. The problem is that when the error is displayed it contains a "null" string at the begining and at the end on the actual error mes

html:errors tag funny null strings

2002-06-20 Thread Jan Fetyko
Hi, I'm using the tag to display errors after the form validation fails. The problem is that when the error is displayed it contains a "null" string at the begining and at the end on the actual error message. Ex.: "null Password is required null". What's going on ? Is this fix-able ? Jf -

html:errors / html:messages

2002-06-04 Thread Peter Onthrops
I am trying to display error messages for properties in a list. The property key in the messages object is object[0].property. Is there support to display these message individually? Thanks, P. - Do You Yahoo!? Sign-up for Video Highlights of 2002 FIFA World

maximum number of errors in html:errors ?

2002-04-26 Thread Muthukumar Subramanian
  Is there any limit for the html:errors..   Or is the error object.finalise() is not called..     I tries to increase the default buffer size for page context from 8Kb to 20 Kb.   Where can be the problem . How to solve it? [25/Apr/2002 16:10:27:1] error: Exception: SERVLET-run_failed: Fail

Bug in html:errors and html:messages? Problem with printing errors.

2002-04-02 Thread Wellie W. Chao
I am having some weird problems with the html:errors and html:messages tags in struts-html from the 1.1-b1 version. I am certain the Request object has an attribute named "org.apache.struts.action.ERROR" because I have printed out all attributes in the Request object on the page footer.

Re: RT expression in html:errors tag

2002-03-08 Thread Jonathan Fuerth
On Fri, Mar 08, 2002 at 06:05:42PM -0500, Jonathan Fuerth wrote: > I figured it out. I changed the above line to: And now it works just as I wanted it to! Does anyone know why this is? Something to do with the way RTExpr attributes are supposed to work in JSP? Or maybe it's a quirk with

RT expression in html:errors tag

2002-03-08 Thread Jonathan Fuerth
Hi. I'm trying to do this on a JSP page: And my form's validate method adds to the ActionErrors using: errors.add("foo"+i, new ActionError("errors.badFoo")); The problem is, I can get all the error messages back with a simple tag, but the above construct doesn't show the error messa

RE: redirect html:errors to popup window

2002-02-09 Thread Arik Levin ( Tikal )
To: [EMAIL PROTECTED] Subject: redirect html:errors to popup window Any suggestions on how to redirect output to a popup window rather than the page that the form is located on? Thanks, Jim Canter -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

RE: redirect html:errors to popup window

2002-02-08 Thread Steve Earl
___ -Original Message- From: Sean Willson [mailto:[EMAIL PROTECTED]] Sent: Friday, February 08, 2002 2:06 AM To: Struts Users Mailing List Subject: Re: redirect html:errors to popup window redirect html:errors to popup windowThe only way I think you could do this is via JavaScript

Re: redirect html:errors to popup window

2002-02-07 Thread Sean Willson
redirect html:errors to popup windowThe only way I think you could do this is via JavaScript ... you could use this tag set: ... to determine if there are errors, if so open a popup window, save the handle ... and then within this tag: ... append to that window the error messages. The

redirect html:errors to popup window

2002-02-07 Thread jcanter
Any suggestions on how to redirect output to a popup window rather than the page that the form is located on? Thanks, Jim Canter -- To unsubscribe, e-mail: For additional commands, e-mail:

html:errors/

2002-01-25 Thread jcanter
hen the list of missing fields. For example, the output from my .jsp would be: Required Fields: Name, Address, Phone Number, email. The html:errors/ output is randomly sorted however. My actual output may be: Name Address Required Fields Phone Number email A snippet of the validati

Re: html:errors error?

2002-01-20 Thread Ted Husted
Did you switch over to the messages tag? The orignal errors tag requires a errors.header and errors.footer in the properties files, to provide markup, but these are optional with the messages tag. -- Ted Husted, Husted dot Com, Fairport NY USA. -- Building Java web applications with Struts. --

RES: html:errors error?

2002-01-16 Thread Rubens Gama
you must define in ApplicationResourses.properties: error.header="" error.footer="" the problem is solved. ok? -Mensagem original- De: Frank Lawlor [mailto:[EMAIL PROTECTED]] Enviada em: quarta-feira, 16 de janeiro de 2002 15:15 Para: Struts (E-mail) Assunto: ht

html:errors error?

2002-01-16 Thread Frank Lawlor
I just noticed that my error messages are acting strange. I recently changed to a nightly build (approx 1/2). For example, instead of getting the text: You must specify a Contact Name. I am now getting: null You must specify a Contact Name. null There are no substitution parms in the propert

RE: html:errors handling

2001-12-17 Thread Frederic Houbie - ABSIS-GROUP
Great helps, thanks -Original Message- From: Keith Bacon [mailto:[EMAIL PROTECTED]] Sent: lundi 17 decembre 2001 17:44 To: Struts Users Mailing List Subject: RE: html:errors handling Fridiric, I think you need these 2 lines in your ApplicationResources.properties file. (obviously the

RE: html:errors handling

2001-12-17 Thread Keith Bacon
2 AM > To: Struts-User > Subject: html:errors handling > > > Hi, > > I have a strange behaviour in my application. in my > logonaction, I do some > check, when error occurs, I use errors.add(xxx, > "yyy") to set some errors. > But when I use tag to dis

RE: html:errors handling

2001-12-17 Thread Jesse Alexander (KABS 11)
Hi, have you defined the errors.header and .footer texts in the application resource file? hope this helps Alexander Jesse -Original Message- From: Frédéric Houbie - ABSIS-GROUP [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 5:22 PM To: Struts-User Subject: html:errors

RE: html:errors handling

2001-12-17 Thread Barry Jia
did you set your error text in your application resource file ? -Original Message- From: Frédéric Houbie - ABSIS-GROUP [mailto:[EMAIL PROTECTED]] Sent: Monday, December 17, 2001 11:22 AM To: Struts-User Subject: html:errors handling Hi, I have a strange behaviour in my application. in

html:errors handling

2001-12-17 Thread Frédéric Houbie - ABSIS-GROUP
Hi, I have a strange behaviour in my application. in my logonaction, I do some check, when error occurs, I use errors.add(xxx, "yyy") to set some errors. But when I use tag to display it, I get "null My_Error null", so my error message is preceded by null text et followed by null text. I don't u

Re: html:errors and redirection

2001-10-22 Thread Matt Raible
This is a similar problem with iPlanet Application Server - where it doesn't allow forwarding from one action to another. The "workaround" for us was to add redirect="true" to the forward. We have the same solution as you - adding messages to the session, and grabbing them from the session. Mat

html:errors and redirection

2001-10-22 Thread Heijink, Dick
Hi there,   We've been using struts for our projects and we've run into some problems with error reporting. We have the following action:   public ActionForward perform(ActionMapping mapping,ActionForm form,HttpServletRequest request,HttpServletResponse response) {   ActionErrors errors=ne

Re: html:errors

2001-10-19 Thread David Winterfeldt
ctionErrors.GLOBAL_ERROR, > new > ActionError("error.password.mismatch")); > > IN YOUR RESULTING JSP PAGE > > > > - Original Message - > From: "storck" <[EMAIL PROTECTED]> > To: "User Struts (E-Mail)" > <[EMAIL PROTEC

Re: html:errors

2001-10-19 Thread Jonathan Asbell
uts (E-Mail)" <[EMAIL PROTECTED]> Sent: Friday, October 19, 2001 7:10 AM Subject: html:errors > Hi, > > COULD you help me! > Is there a possibility to write the ONLY the error for a CERTAIN property of > a FormBean out at a possition where I want it? > I have somethin

html:errors

2001-10-19 Thread storck
Hi, COULD you help me! Is there a possibility to write the ONLY the error for a CERTAIN property of a FormBean out at a possition where I want it? I have something in mind where I have a form with different inputfields and if a field has a wrong value than I have a message under that field wich t

Re: Javascruot with html:errors

2001-10-02 Thread Adam Grohs
1 11:46 AM Subject: RE: Javascruot with html:errors > Adam, > > Yes, I am interested in learning more. Thanks. > > Shu, Kwang-shi | Tel 732-460-7848 > Village Networks, Inc. | Fax 732-460-9851 > 246 Industrial Way West | > Eatontown, NJ 078724| email: [EMAIL PROT

JavaScript with html:errors - new STRUTS validation

2001-09-30 Thread Adam Grohs
ce without having to modify any existing STRUTS application, and theSTRUTS folder contains nearly identical code following the full path above,but will require some configuration.Thanks,Adam S. Grohs[EMAIL PROTECTED]- Original Message -From: "Adam Grohs" <[EMAIL PROTECTED]

JavaScript with html:errors - new STRUTS validation

2001-09-30 Thread Adam Grohs
existing STRUTS application, and the STRUTS folder contains nearly identical code following the full path above, but will require some configuration. Thanks, Adam S. Grohs [EMAIL PROTECTED] - Original Message - From: "Adam Grohs" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED

Re: Javascruot with html:errors

2001-09-30 Thread Adam Grohs
"JavaScript with html:errors - new STRUTS validation" thread coming up very soon, I am just putting the finishing touches on the files. Thanks, Adam S. Grohs [EMAIL PROTECTED] - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Sept

Re: Javascruot with html:errors

2001-09-23 Thread martin . cooper
: <[EMAIL PROTECTED]> Sent: Sunday, September 23, 2001 9:13 PM Subject: Javascruot with html:errors > Hi, > > Would anyone know how to call a javascript method from a tag? > Basically I would like to highlight a field where an error occurs... > > Any ideas?? > Francois.

Javascruot with html:errors

2001-09-23 Thread Francois Duchaussoy
Hi, Would anyone know how to call a javascript method from a tag? Basically I would like to highlight a field where an error occurs... Any ideas?? Francois.

RE: html:errors tag?

2001-07-18 Thread David Winterfeldt
k.net/~dwinterfeldt --- "Gogineni, Pratima" <[EMAIL PROTECTED]> wrote: > Hi - I just did this in my form. > > html:errors itself doesnt do this. My actionform > holds the row and column > index of my error field which are set at the of > validation. > >

Re: html:errors tag?

2001-07-18 Thread David Winterfeldt
gt; case of an error > another one? > > Can I do this with the struts-tag-libs > (html:errors)? > > Thanls > __ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail http://personal.mail.yahoo.com/

RE: html:errors tag?

2001-07-18 Thread Gogineni, Pratima
Hi - I just did this in my form. html:errors itself doesnt do this. My actionform holds the row and column index of my error field which are set at the of validation. what i do is check if the error object exists and if the row and column indices match one of the fields being displayed - the

html:errors tag?

2001-07-18 Thread Matthias Brahm
labels of the invalid input fields should have the font color red. In general, is it possible to output one text and in case of an error another one? Can I do this with the struts-tag-libs (html:errors)? Thanls

RE: Override the presentation of html:errors

2001-05-02 Thread Firmin David
7;d be interested in it too :-) Hope this helps. Regards David -Original Message- From: Jeff Trent [mailto:[EMAIL PROTECTED]] Sent: 02 May 2001 14:25 To: [EMAIL PROTECTED] Subject: Re: Override the presentation of html:errors Yes, this helps. I need to next research how to do that ;

Re: Override the presentation of html:errors

2001-05-02 Thread Jeff Trent
Yes, this helps.  I need to next research how to do that ;^)   - Original Message - From: Natra, Uday To: '[EMAIL PROTECTED]' Sent: Tuesday, May 01, 2001 9:39 PM Subject: RE: Override the presentation of html:errors When U add Ur err

RE: Override the presentation of html:errors

2001-05-01 Thread Natra, Uday
7;Subject: RE: Override the presentation of html:errors The best way to handle errors is to name them separatly and then access each one indiviually in your jsp.  See the Java docs for more info on error handling.  It covers this approach quite well. -Original Message-From:

RE: Override the presentation of html:errors

2001-05-01 Thread Graeme Miller
a stylesheet Regards, Graeme. -Original Message- From: Jeff Trent [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 2 May 2001 8:36 a.m. To: [EMAIL PROTECTED] Subject: Override the presentation of html:errors Short of writing my own taglib (which I'd like to avoid if I can), how doe

  1   2   >