the bundle attribute is settable on the root element. Break your thing
down into multiple documents. Each panel that needs a different bundle
is in a new document.
then just call .render(...) multiple times. Once for each panel as you
dive down the tree of panels, adding each one in as the child of the
last one.
-Kate Rhodes
Open source consultant & Java developer
http://www.masukomi.org
On Jul 26, 2004, at 1:50 AM, Bharat Panchal wrote:
Hi,
How can I set different resource resource bundle for different panel in
SwiXML?
For example,
<?xml version="1.0" encoding="UTF-8" ?>
<dialog id="commonDialog" bundle="locale.UI" title="idDescription"
modal="true">
<panel id="pnl_descHead" constraints="BorderLayout.NORTH"
include="xml/Head.xml#PNL_head"
bundle="locale.UI1"/>
<panel id="pnl_descContent" constraints="BorderLayout.CENTER"
include="xml/Content.xml#PNL_content"
bundle="locale.UI2"/>
<panel id="pnl_descFooter" constraints="BorderLayout.SOUTH"
include="xml/Footer.xml#PNL_Footer"
bundle="locale.UI3"/>
</dialog>
In above xml, I want to use different bundle properties for each panel.
I tried to specify bundle seperately for each panel, but observed that
It
uses locale.UI bundle and not at all using locale.UI1/UI2/UI3.
Can I tell me, where am I wrong OR How can I achieve my goal?
Thanks,
Bharat Panchal
Sr. Software Engineer
Patni Computers Systems Ltd.
India
_______________________________________________
Forum mailing list
Forum@carlsbadcubes.com
http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com