Oh cool.

In the meantime I have just created a GenericPage.java that my other pages
will extend and put all my global messages into GenericPage.properties as
the message catalog inheritance seems to be working.

On 5/23/07, SergeEby <[EMAIL PROTECTED]> wrote:


Hi,

I believe this is now available in 5.0.5-SNAPSHOT.

/Serge


Jason Lea wrote:
>
> I'm using Tapestry 5.0.4 and have some localized fields getting messages
> from message catalog for the page working correctly, but I cannot get an
> application wide message catalog to work
>
> In the page Target.html:
>           <input type="submit" t:type="Any" value="message:button.next
"/>
>
> (have also tried <input type="submit" t:type="Any" value="message:
> button.next"/> )
>
> In web.xml:
>           <filter>
>               <filter-name>app</filter-name>
>               <filter-class>org.apache.tapestry.TapestryFilter
> </filter-class>
>           </filter>
>
> So from what I have read about the global message catalog coming from
the
> name of the filter, I should put a file here
> WEB-INF/app.properties:
>           button.next=Next
>
> But this gives me the message on my button:  [[missing key: button.next
]]
> I have put button.next into Target.properties and it found it.
> Target.properties was sitting in the same folder as Target.java.
>
> So have I called it the wrong name or put it in the wrong place?
>
> Thanks for any help,
>
> --
> Jason Lea
>
>

--
View this message in context:
http://www.nabble.com/T5-application-wide-message-catalog-tf3801451.html#a10756715
Sent from the Tapestry - User mailing list archive at Nabble.com.


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




--
Jason Lea

Reply via email to