Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 65383 invoked from network); 13 Dec 2002 23:53:15 -0000 Received: from exchange.sun.com (HELO nagoya.betaversion.org) (192.18.33.10) by daedalus.apache.org with SMTP; 13 Dec 2002 23:53:15 -0000 Received: (qmail 14607 invoked by uid 97); 13 Dec 2002 23:54:15 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@jakarta.apache.org Received: (qmail 14575 invoked by uid 97); 13 Dec 2002 23:54:14 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 14505 invoked by uid 98); 13 Dec 2002 23:54:13 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-Id: <5.1.0.14.2.20021213185226.02714b98@mail.wireless-networks.com> X-Sender: joao@mail.wireless-networks.com X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Fri, 13 Dec 2002 18:52:55 -0500 To: struts-user@jakarta.apache.org From: Joao Araujo Subject: html:errors location Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N >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: > > errors.add( > "username", new ActionError("error.username.required")); > > If we specify a property, we can use the > tag (or any of the alternatives) like this: > >

Username:

>

Password:

> > I Did exactly this. Unfortunately, the error does not appear by > the side of the input. But, > It appears at page top when I use the tag. > > What should I do to put it by the side of an input ( property..../>)? > > > Thanks in advance. >Joao, -- To unsubscribe, e-mail: For additional commands, e-mail: