Hi,
OK, i got what you r trying to say .But the problem is the errors in the
list are need to be displayed from the bundle whereas the Title is user
entered .

Thanx
Suresh S



On Fri, 2004-07-30 at 14:24, Suresh S wrote:

> Hi ,
> Thanks for the quick reply.But still i will be having problem in
> identifying which is Title and Error.
> 
> i need to achieve something like this
> 
> Title 1
> 
> >   * error1
> >   * error 2
> >  Title 2
> >    * error1
> >    * error2
> >   ....
> > 
> >  Title n
> >    * error1
> >    * error2
> 
>  Thanx
> Suresh S
>  
> 
> On Fri, 2004-07-30 at 13:27, Erdem Ergin wrote:
> 
> > hi;
> > 
> > While you are generating your action messages you can use a format which is 
> > specified in your message resource file. 
> > 
> > Simple usage:
> > ...
> > msg = new ActionMessage("<<your key in message resources file>>", "stop");
> > messages.add("message2", msg)
> > ...
> > 
> > and in jsp use:
> > 
> > <html:messages id="msg" message="true">
> > <bean:write name="msg"/><br>
> > </html:messages>
> > 
> > which writes all the messages
> > 
> > Detailed example can be found at:
> > http://javaboutique.internet.com/tutorials/excep_struts/index-2.html
> > 
> > Erdem
> > 
> > -----Original Message-----
> > From: Suresh S [mailto:[EMAIL PROTECTED]
> > Sent: Fri 7/30/2004 10:38 AM
> > To: Struts Users Mailing List
> > Subject: Indentation using html:messages tag
> >  
> > hi friends,
> > 
> > I have a problem in displaying validation messages in using <html:
> > messages>  tag can some one help me on this? this is the problem i need
> > to display the validation messages in following format.
> > 
> >  Title 1
> >   * error1
> >   * error 2
> >  Title 2
> >    * error1
> >    * error2
> >   ....
> > 
> >  Title n
> >    * error1
> >    * error2
> >  
> > 
> > The problem here is all the contents are dynamic including the title
> > name . Thanks in advance for your suggestions.Pls reply asap 
> > 
> > Thanx
> > Suresh S
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ______________________________________________________________________
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to