Hi,

I finally found some time to fix the WebServiceRequest -
GetFeatureInfoWSR - FeatureInfo chain!

* I removed the custom GetFeatureInfo widget from the mapViewer
example folder and replaced it by a new GetFeatureInfoWSR widget in
lib/widget.

* The GetFeatureInfoWSR widget is just an improved version of the old
GetFeatureInfo widget from the mapViewer example. It uses i18n message
output and has no more hard-coded references to the WebServiceRequest
tool. To achieve that, the widget has a new <controller> property to
point to the WebServiceRequest tool.

Conclusion: GetFeatureInfoWSR is the first example of a widget that
uses the WebServiceRequest architecture, which just needs an xsl in
tool/xsl to create service requests to arbitrary web services. The
idea is to enable users to create simple button or form widgets, that
collect parameters for WebServiceRequest.

If you compare GetFeatureInfo.js to GetFeaturInfoWSR.js, you can see
how much simpler it is for users to write a custom widget this way.

I hope you like it, comments are welcome.

Regards,
Andreas.

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

Reply via email to