You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Frank Lawlor <fr...@athensgroup.com> on 2002/01/16 18:15:02 UTC
html:errors error?
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 properties spec:
error.no_contact_name=You must specify a Contact Name.
The html generated almost looks like there are two
null error entries:
<font color="red" ><b>null
You must specify a Contact Name.
null
but when I add my message the error array is empty.
Anyone else on a nightly build noticed any funny error messages?
Thanks,
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: html:errors error?
Posted by Ted Husted <hu...@apache.org>.
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.
-- Tel +1 585 737-3463.
-- Web http://www.husted.com/struts/
Frank Lawlor wrote:
>
> 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 properties spec:
> error.no_contact_name=You must specify a Contact Name.
> The html generated almost looks like there are two
> null error entries:
>
> <font color="red" ><b>null
> You must specify a Contact Name.
> null
>
> but when I add my message the error array is empty.
>
> Anyone else on a nightly build noticed any funny error messages?
>
> Thanks,
>
> Frank Lawlor
> Athens Group, Inc.
> (512) 345-0600 x151
> Athens Group, an employee-owned consulting firm integrating technology
> strategy and software solutions.
>
> --
> To unsubscribe, e-mail: <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RES: html:errors error?
Posted by Rubens Gama <ru...@softsite.com.br>.
you must define in ApplicationResourses.properties:
error.header=""
error.footer=""
the problem is solved.
ok?
-----Mensagem original-----
De: Frank Lawlor [mailto:frank.lawlor@athensgroup.com]
Enviada em: quarta-feira, 16 de janeiro de 2002 15:15
Para: Struts (E-mail)
Assunto: html:errors error?
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 properties spec:
error.no_contact_name=You must specify a Contact Name.
The html generated almost looks like there are two
null error entries:
<font color="red" ><b>null
You must specify a Contact Name.
null
but when I add my message the error array is empty.
Anyone else on a nightly build noticed any funny error messages?
Thanks,
Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.
--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>