You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Sony Thomas <so...@genialgenetics.com> on 2006/01/13 12:04:39 UTC

Please give me an example

Hi all,

Can anyone give me an example of how to use <html:messages header> 
<html:messages footer>; suppose I want to display my messages inside two 
horizontal lines how to configure that in my properties file. Can anyone 
give me some code examples

thanks in advance

sony

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: Please give me an example

Posted by Pieter Pareit <pp...@gmail.com>.
<html:errors/>

<logic:messagesPresent message="true">

<bean:message key="warnings.header"/>

<html:messages id="msg" message="true">

+ <bean:write name="msg" /><br>

</html:messages>

<bean:message key="warnings.footer"/>

</logic:messagesPresent>


On 1/13/06, Sony Thomas <so...@genialgenetics.com> wrote:
>
> Hi all,
>
> Can anyone give me an example of how to use <html:messages header>
> <html:messages footer>; suppose I want to display my messages inside two
> horizontal lines how to configure that in my properties file. Can anyone
> give me some code examples
>
> thanks in advance
>
> sony
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>