BTW, the page Shing referred you to covers the use-case you gave.
Look for the code passing a message to the border component:
<t:layout title="message:page-title">.

(I realise you probably want to do more of the work from the layout though.)

Cheers,
Nick.



ra wrote:
> 
> Yes, of course, but that case is not described and I don't know t5
> internals
> I think I've to inject kind of message provider to get message bundle by
> page name
> 
> 
> 
> Shing Hing Man wrote:
>> 
>> Have you checked out 
>> http://tapestry.apache.org/tapestry5/tapestry-core/guide/localization.html
>> ? 
>> Shing
>> 
>> --- ra <[EMAIL PROTECTED]> wrote:
>> 
>>> 
>>> how to load messages for the specific page in a
>>> component ?
>>> I've a kind of border component used by many pages
>>> and would like get for
>>> example page-label value which is defined for each
>>> page in its bundle
>>> -- 
>>> View this message in context:
>>>
>> http://www.nabble.com/t5-how-to-load-messages-tf4254673.html#a12108897
>>> Sent from the Tapestry - User mailing list archive
>>> at Nabble.com.
>>> 
>>> 
>>>
>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail:
>>> [EMAIL PROTECTED]
>>> For additional commands, e-mail:
>>> [EMAIL PROTECTED]
>>> 
>>> 
>> 
>> 
>> Home page : http://www.lombok.demon.co.uk/
>> 
>> 
>> 
>>       ___________________________________________________________
>> Yahoo! Answers - Got a question? Someone out there knows the answer. Try
>> it
>> now.
>> http://uk.answers.yahoo.com/ 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/t5-how-to-load-messages-tf4254673.html#a12110628
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to