You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by "Trumpickas, Giedrius" <Gi...@radian.biz> on 2004/10/08 17:34:48 UTC
Resources loading
Hi All,
Is there is any standard tapestry way how to load resource bundle
(bundle name is not equals to page name or component name) in component
or page from WEB-INF.
Reason for such functionality is custom tab component:
<span jwcid="SomeTabName">
<span jwcid="Test1@Block">
</span>
<span jwcid="Test2@Block">
</span>
</span>
I would like to load resource bundle by component id (SimeTabName). This
bundle has titles for each tab.
Giedrius
Re: Resources loading
Posted by Erik Hatcher <er...@ehatchersolutions.com>.
The Workbench has an example using tabs with the information coming
from properties files. That would be worth a look to evaluate if it
fits with what you're doing.
Tapestry doesn't provide you with any additional capabilities beyond
its localization message resources abstraction. Java itself has nice
resource bundle facilities itself that you could use.
Erik
On Oct 8, 2004, at 11:34 AM, Trumpickas, Giedrius wrote:
> Hi All,
>
>
>
> Is there is any standard tapestry way how to load resource bundle
> (bundle name is not equals to page name or component name) in component
> or page from WEB-INF.
>
>
>
> Reason for such functionality is custom tab component:
>
>
>
> <span jwcid="SomeTabName">
>
> <span jwcid="Test1@Block">
>
> </span>
>
> <span jwcid="Test2@Block">
>
> </span>
>
> </span>
>
>
>
> I would like to load resource bundle by component id (SimeTabName).
> This
> bundle has titles for each tab.
>
>
>
> Giedrius
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org