HI, I couldn't find an answer to my problem.

I think I am misunderstanding the concept of listener.

I created a widget, a basic one, it displays data in gml viewer from  
an XML file through a XSLT file.

this widget is part of a generic model. I would like to act on the  
mainMap from this widget.

So within this widget definition I wrote a <targetModel>mainMap</ 
targetModel> tag.

That being done, I would like, when clicking on data, to be able to  
hid/show some layers.

In order to do that, I try to call the setHidden function from MY  
widget. This function is called with config.objects.$targetModel of  
course.

But nothing happens :S.

Is there a listener to implement in my widget although my targetModel  
is correctly set???

Sorry for my poor english :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

Reply via email to