See comments inline...
On 10/4/06, massimo malvestio <[EMAIL PROTECTED]> wrote:
Hi all!
I have on my portlets some init parameters I would centralize on a
properties file, but I also have yet another properties file that
contains localizations. Is it possible having inside portlet.xml
<resource-bundle>a.b.c.d.resources.LocalizationResources</resource-bundle>
<resource-bundle>a.b.c.d.resources.SystemResources</resource-bundle>
???
No, you can't declare multiple resource bundles, although it would be
sweet if you could.
SystemResources contains my parameters.
I ask this because;
1) these parameters are dependent on deployment and I don't want to
modify my portlet.xml every time;
2) I tried, but system fails to load localizations, I would like to know
if I misunderstood XSchema on JSR 168 for portlet.xml or it's a problem
of the system.
JSR 168 only allows the configuration of the one resource bundle.
If you are developing custom portlets, then you could add some logic
to the init method to load the additional resource bundle.
-aaron
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]