Hello, In the page, I have two parts : 1) on the left, an xml portlet which is the menu (from an xml file) 2) right part which is the content of the link where the user has clicked from the menu.
The menu portlet is based on a xml file : Web-INF/xml/navigation.xml . I have written a xsl file too, in order to say him how to display the content of the xml file : Web-INF/xml/navigation.xsl. In the file xreg which contains all the portlets , I have the following definition : <portlet-entry name="navigation" hidden="false" type="ref" parent="XSL" application="false"> <meta-info> <title>Menu</title> <description>Portlet de menu</description> </meta-info> <classname>org.apache.jetspeed.portal.portlets.XMLPortlet</classname> <url cachedOnURL="true">/WEB-INF/xml/navigation.xml</url> <parameter name="stylesheet.text/html" value="/WEB-INF/xml/navigation.xsl" hidden="false"/> <media-type ref="html"/> <category group="Jetspeed">MENU</category> </portlet-entry> The content of my xml file is like this : <?xml version="1.0" encoding="UTF-8" ?> <MenuConfig> <Menus> <Menu name="mRub1" title="Espace clients"> <Item name="mSousRub11" title="Sous rubrique 11" toolTip="Sous rubrique 11" page="essaiSous rub1" /> <Item name="mSousRub12" title="Sous rubrique 12" toolTip="Sous rubrique 12" page="" /> <!-- cms in action, will find content related to ABOUT --> <Item name="mSousRub13" title="Sous rubrique 13" toolTip="Sous rubrique 13" page="" /> </Menu> </Menus> </MenuConfig> But I want that the page attribute will contain the link for the pag. How can I write it ? (with the possibility to switch on the different lan,guages) Is it more clear ? Can you help me please ? Thank you by advance. Ya�l ----- Original Message ----- From: "Andrey Almirov" <[EMAIL PROTECTED]> To: "Jetspeed Users List" <[EMAIL PROTECTED]> Sent: Monday, October 20, 2003 5:46 PM Subject: Re[4]: XML portlets > Hello Yael, > > ym> But I have an other problem too : How > ym> do we define a portlet from an XML file ? > could you describe your problem more closely? > > Or give some examples... > > Thanks. > > andrey > > > --------------------------------------------------------------------- > 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]
