You don't have to do it this way, but demo/gazetteerTools/PLaceName
implements support for filters using the WebServiceRequest tool.  This
tool has a property which points to a Filter model object, which is a
template for a filter expression.  The Filter model has a form widget
which handles the form submission, substituting in user input values
into the filter (this widget must be customized for each filter) and
issuing the event to execute the web service request.  The
WebServiceRequest tool then handles combining the filter expression and
other request parameters into a full request.

That demo has some issues with it and needs to be updated, but the basic
mechanism for adding filter expressions to the requests does work.

Mike

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of Denton
> Sent: Tuesday, May 29, 2007 05:58
> To: [email protected]
> Subject: Re: [Mapbuilder-users] how to add filters to WMS request?
> 
> 
> Hi Luis,
> 
> I had been dealing with the similar situation like you are. I 
> had to add SLD_BODY parameter to each dispatched WMS GetMap 
> request, to filter and highlight desired features....
> 
> - If you just need to modify WMS GetMap request, best place 
> to do that is MapPane.js source code. 
> (Look at the paint method)
> 
> - Remaining WMS requests (GetFeatureInfo, GetCapabilities) 
> are being dispatched trough the ProxyRedirect servlet, 
> because of the XMLHttpRequest object security 
> restriction...(btw good solution!)...You can modify the 
> requests here, if you need that.
> 
> regards Denton...;-)
> 
>  
> --
> View this message in context: 
> http://www.nabble.com/how-to-add-filters-to-WMS-request--tf383
> 1934.html#a10851079
> Sent from the MapBuilder Users mailing list archive at Nabble.com.
> 
> 
> --------------------------------------------------------------
> -----------
> 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-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
> 

-------------------------------------------------------------------------
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-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to