Hallo Paul,
I tried so but it does not work. For example I have a file menu which looks like this: <j:jelly xmlns:j="jelly:core" xmlns="jelly:swt" xmlns:log="jelly:log"> <menu var="menu" style="bar"> <menuItem text="File" style="cascade"> <menu> <menuItem text="New"> <onEvent type="Selection"> <log:info>Selected New option with event ${event}</log:info> </onEvent> </menuItem> <menuItem text="Open"/> <menuItem style="separator"/> <menuItem text="Save"/> </menu> </menuItem> <menuItem text="Help" style="cascade"> <menu> <menuItem text="About"/> </menu> </menuItem> </menu> </j:jelly> Secondly my components file should link all defined components together, like this: <j:jelly xmlns:j="jelly:core" xmlns="jelly:swt" xmlns:log="jelly:log" xmlns:u="jelly:util" xmlns:x="jelly:xml" trim="no"> <shell text="Application" var="shell" size="700,500" style="border, close, min, max, resize, title"> <image src="com\gieseckedevrient\uilayer\jelly\jcmc.gif"/> <u:file var="fileName" name="menu.xml"/> <x:parse var="menu" xml="${fileName}"/> </shell> </j:jelly> My problem is now to do something like this: <menu> ${menu} </menu> to get the menu in the current shell, but this does not work. I tried many times with different implementations but I dont get it working... Any suggestions ? Best regards, Patrick Paul Libbrecht <[EMAIL PROTECTED] org> An "Jakarta Commons Users List" 28.10.2005 12:45 <commons-user@jakarta.apache.org> Kopie Bitte antworten Thema an Re: jellySWT "Jakarta Commons Users List" <[EMAIL PROTECTED] arta.apache.org> Why does core:include and core:parse not work for this ? paul Le 28 oct. 05, à 12:16, [EMAIL PROTECTED] a écrit : > I'am working with jellySWT and I think it's great. But I have one > problem. > I woud like to define any component (menu, table, tree, ...) in a > seperate > jelly file. After > defining the single components I want to link them in one shell > together > but this is not working. > can anyone tell me how this is possible? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]