AFAIK there are two ways to do this:

1) insert a widget (like the FeatureList widget as in the example) in
the widgets tags of the model featureCollection defined in

<FeatureCollection id="featureCollection">
...
<widgets>
<FeatureList id="featureList"/>
</widgets>
...
</FeatureCollection>

Set that model in the transactionResponseModel tag of the WfsGetFeature
widget, like in the example:

<WfsGetFeature id="wfsGetFeature">
...
<transactionResponseModel>featureCollection</transactionResponseModel>
...
</WfsGetFeature>

That model will be populated when the WFS response is parsed from
mapbuilder and the widget (here the FeatureList widget) will be
triggered.
So you can change the FeatureList (for example) widget or create your
own.


2) change the WfsGetFeature widget

In the second case you have much control and trigger an action after the
click or after the WFS response but you will have to understand the
code.

Hope this helps

Luca Giandoso


On Mon, 2008-02-18 at 19:14 -0200, André Silva wrote:
> Hello Community 
> 
> Unfortunately my vocabulary in English is small, forgive me if I is
> not very clear in the explanation of the problem. 
> So...let's go... 
> 
> I must take coodenadas a point on the map. 
> Something similar to what happens in the example below: 
> 
> http://demo.communitymapbuilder.org/demo/mapbuilder-lib-1.5-rc1/examples/wfs-t/index.html
> 
> When I click on the button for draw a point on the map, appears below
> a Feature List once when I click on the map to enter the point of the
> coodenadas point are passed to the "gml: coordinates" of the Feature
> List. 
> How do I do this, take coodenadas after to click on the map? 
> If they have understood my question I can explain again. 
> 
> Since already grateful for the help! 
> 
> André
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________ Mapbuilder-users mailing list 
> [email protected] 
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to