|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
re-use of xmlHi,
I am wondering how an xml file(a panel with standard buttons like "OK", "Cancel", and "Apply") can be reused; in a bigger application there are some button panels/parts that repeat constantly. So, my question is: Instead of coding the same button panels in every xml file they occur, could we write this repeating stuff in a separate xml file and then insert it in all the other xml that needs the given button panels with statements like "#import myButtonPanel.xml"? Does it conflict with the id map if we have many xml files referring to our button panel? Thanks in advance, Emil __________________________________ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com _______________________________________________ Forum mailing list Forum@... http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com |
|
|
Re: re-use of xmlEmil,
Take a look at example 10 on the sample page here: With the include attribute, you can either include a whole xml document or just a sub-hierarchy using an xpointer like notation <panel id="pnl_footer" constraints="BorderLayout.SOUTH" include="xml/fragments.xml#PNL_OK_CANCEL"/> This panel tag for instance would include the content of a tag with the id 'PNL_OK_CANCEL' to be found in the 'fragments.xml' document. --wolf On Oct 22, 2005, at 4:48 AM, List for Users of Carlsbad Cubes' Technologies and Products wrote:
-- Wolf Paulus 707.202.3937 C a r l s b a d C u b e s Dedicated to Excellence CONFIDENTIALITY NOTICE: This message is intended only for the use of the individual or entity to which it is addressed, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. _______________________________________________ Forum mailing list Forum@... http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com |
|
|
Re: re-use of xmlList for Users of Carlsbad Cubes' Technologies and Products <Forum@...> schrieb am 22.10.05 18:59:08: > Does it > conflict with the id map if we have many xml files > referring to our button panel? Emil, the id's do not conflict, as long as you do'nt use the same id in the including and included file. It is ok to have several panels rendered with a button id="common.ok" Frank _______________________________________________ Forum mailing list Forum@... http://carlsbadcubes.com/mailman/listinfo/forum_carlsbadcubes.com |
| Free embeddable forum powered by Nabble | Forum Help |