You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Xavier Saint-Denis <st...@free.fr> on 2003/03/24 13:32:42 UTC

and message resource

Hi,

I have the following problem :

In the strust config file I declare this :

<!-- ========== Message Resources Definitions
=========================== -->
    <message-resources parameter="ApplicationRessources" null="false"/>

Where the "promt.empty=------------" is defined in the property file and
used with no problem elsewhere in the code.


in a tiles jsp, i use a an <html:action> like this :

<html:option key="prompt.empty" value=""/>

but the message is not rendered.... and I wonder why...?

Have you any idea why this occur ?

Xav



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


Re: and message resource

Posted by James Mitchell <jm...@apache.org>.
On Mon, 2003-03-24 at 07:32, Xavier Saint-Denis wrote:
> Hi,
> 
> I have the following problem :
> 
> In the strust config file I declare this :
> 
> <!-- ========== Message Resources Definitions
> =========================== -->
>     <message-resources parameter="ApplicationRessources" null="false"/>
> 
> Where the "promt.empty=------------" is defined in the property file and
> used with no problem elsewhere in the code.
> 
> 
> in a tiles jsp, i use a an <html:action> like this :
> 
> <html:option key="prompt.empty" value=""/>
> 
> but the message is not rendered.... and I wonder why...?

Maybe because you mispelled 'prompt' in the bundle ???

> 
> Have you any idea why this occur ?
> 
> Xav
> 
> 


-- 
James Mitchell
Software Developer/Struts Evangelist
http://www.open-tools.org




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