I think there is an issue with using single quotes
inside error messages and variables in JavaScript.  Or
it might have been just variables.  You should
definitely be able to escape a double quote though if
you have any problems with the single quote.
-
David

--- Ted Husted <[EMAIL PROTECTED]> wrote:
> You probably need to escape the quote character,
> either by using '' or
> maybe \'
> 
> -- Ted Husted, Husted dot Com, Fairport NY US
> -- Developing Java Web Applications with Struts
> -- Tel: +1 585 737-3463
> -- Web: http://husted.com/about/services
> 
> "Struts Newsgroup (@Basebeans.com)" wrote:
> > 
> > Subject: Struts Validator: Use of anchor tag
> > From: "Arthur Frankel" <[EMAIL PROTECTED]>
> >  ===
> > Due to lots of fields on a form, I am trying to
> offer links within the error
> > messages (using Struts Validator).   I would
> assume that I can do something
> > like this,
> > 
> > errors.date=<A HREF='#{0}'>{0}</A> is not a date
> and must be in the format
> > of {1}.
> > 
> > but this just dumps out the <A HREF.... as text on
> the page.
> > 
> > Any ideas?
> > 
> > Arthur.
> > 
> > --
> > To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to