Can you post the code of your widget? Luca
On 7/6/07, Grégory Babusiaux <[EMAIL PROTECTED]> wrote: > Hello again! > > I try to display a widget but i didn't get any luck so far .... > > Here is an extract of my main HTML file: > > <body onload="mbDoLoad()" > > <div id="header"> > <h1><a href="http://communitymapbuilder.org">MapBuilder</a> GML > Viewer - Belgique</h1> > </div> > > <div id="mainbody"> > <div id="data"> </div> HERE IS WHERE I WANT TO ADD MY DATA > <div id="mainMapPane"> > <noscript> > this page requires Javascript to be enabled > </noscript> > </div> > <div id="mainButtonBar"></div> > <div id="cursorTrack"></div> > <div id="legend"></div> > </div> > </body></html> > > Here is an extract of my config file: > > [...] > <models> > <OwsContext id="mainMap"> > <defaultModelUrl>Belgium/belgiumContext.xml</defaultModelUrl> > <widgets> > <MapPaneOL id="mainMapWidget"> > <htmlTagId>mainMapPane</htmlTagId> > <mapContainerId>mainMapContainer</mapContainerId> > </MapPaneOL> > <Widget id="dataTree"> MY DATA AS A WIDGET > <htmlTagId>data</htmlTagId> data TAG > <stylesheet>./arbre/data.xsl</stylesheet> STYLESHEET > <defaultModelUrl>./arbre/data.xml</defaultModelUrl> URL > TO SOURCE > </Widget> > <Legend id="contextLegend"> > <htmlTagId>legend</htmlTagId> > <stylesheet>./Legend2.xsl</stylesheet> > </Legend> > </widgets> > [...] > > I put some alert(this.id); everywhere I could ans my widget is well > defined but it won't display within <div id="data"></div> > > > Do you have any idea why it doesn't display? :S > > Thanks > > greg > > > > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > mapbuilder-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ mapbuilder-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel
