sorry, the URL is:
http://edit.csic.es:8080/edit_geo/prototype/edit.html
Denton wrote:
>
>
> joe GIS wrote:
>>
>> hi everybody,
>>
>> I want to put the results of a GetFeatureInfo query in a new window.
>>
>> I've tried modifying widgetbasexsl.js
>>
>> if (widgetNode.nodeName != 'FeatureInfo') {
>> objRef.node.appendChild(tempNode.firstChild);
>> }
>> else
>> {
>> window.open('new_window.html');
>> ....
>>
>> and in the new_window.html I put a <div id="featureListTag">
>>
>> But no luck :.(
>> I've seen the GeoBliki example and wfs-t (both using wfsGetFeature as
>> query tool) but I think it's not what I need. I should work with
>> GetFeatureInfo tool.
>>
>> Thanks in advance.
>> Joe
>>
>
>
> Hey Joe,
>
> what you're trying to achieve is not easy to implement....In my opinion,
> mapbuilder loaded in your main frame have absolutely no idea about the
> <div id="featureListTag"> tag, putted in the separate new_window.html
> file. That's why you don't see anything in the new browser instance...At
> least I suppose that you're seeing empty window..:-). Anyway, you have
> several choices, howto have semantic datas in the new window...
>
> - I would try to propagate GetFeatureInfo request to the 'new_window.html'
> via URL parameter....Then I would send the GetFeatureInfo request from
> new_window.html file, via XMLHttpRequest object...But this is for advanced
> JavaScript programmers and it's not easy as well...
>
> - If you just want to have semantic datas in the new window, why you
> didn't use Dojo floating windows widgets? When I had been evaluating
> Mapbuilder I was playing with Dojo windows a lot and the GetFeatureInfo
> result, putted in the Dojo floating window, worked fine for me...And it
> was very easy to implement.
>
> - Or just obtain an document reference to the newly opened window and try
> to append your data directly via DOM methods..
>
>
> I wish you good luck.
>
> Tomas.
>
>
>
>
--
View this message in context:
http://www.nabble.com/pop-up-window-after-getfeatureinfo---tf4193631.html#a12014258
Sent from the MapBuilder Users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users