Re: [pmapper-users] QueryEditor bug/question
Brought to you by:
arminburger
From: Thomas R. <tr...@si...> - 2011-02-07 13:16:52
|
Le 07/02/2011 12:37, Dejan Gambin a écrit : > Thanks Thomas, > > I have several more questions, neither one is very important but it is good to know the options: > > 1. When I open the dialog I get 3 comparison fields displayed - queryeditor-attributeCriteriaComparisonNone, queryeditor-attributeCriteriaComparisonNum and queryeditor-attributeCriteriaComparisonTxt. As I can they get hidden in setAttributeType function, that is called by setAttributeName called by setLayerName. setLayerName is also called by reset() function that is again called by ready() function which sets default interface status. So, should the two comparison fields be hidden by default? OK, I've done the changes. I will commit them ASAP. > 2. I am using Quesry Editor by manually changing the values in "Generated Query" frame. When I have focus in this frame, every press on the arrow key makes the map pan. Is it possible to disable panning when focus is in this frame? > What is your p.mapper version? And your web browser ? > Thanks very much. This plugin is of so much help :D You're welcomed! Thomas > regards, dejan > On 7. vel. 2011., at 11:49, Thomas RAFFIN wrote: > >> Hi, >> >> You've just found a real bug. >> >> I will correct it in the dev version asap. If you need it quickly, just >> modify the file pmapper/plugins/queryeditor/queryeditor.php: >> - search the line with "$layers = >> $_SESSION['pluginsConfig']['queryeditor']['queryableLayers']['queryableLayer'];" >> - add just after it: >> if ($layers&& array_key_exists('name', $layers)) $layers = array($layers); >> >> Thanks >> >> Thomas >> >> Le 04/02/2011 15:48, Dejan Gambin a écrit : >>> Hi, >>> >>> I don't know if this is a bug or I am doing some stupid mistake: >>> >>> When I set layersType to 2 and have just one queryable layer I get 2 (and wrong) values in Layer name select list (instead of one). I have this defined in xml file: >>> >>> <pluginsConfig> >>> <queryeditor> >>> <layersType>2</layersType> >>> <queryableLayers> >>> <queryableLayer> >>> <name>kbroj</name> >>> <description>KBR</description> >>> </queryableLayer> >>> </queryableLayers> >>> <dlgType>dynwin</dlgType> >>> </queryeditor> >>> </pluginsConfig> >>> >>> The values I get in Layer name select list are "k" and "K" >>> >>> thx for any info >>> >>> regards, dejan >>> >>> >>> ------------------------------------------------------------------------------ >>> The modern datacenter depends on network connectivity to access resources >>> and provide services. The best practices for maximizing a physical server's >>> connectivity to a physical network are well understood - see how these >>> rules translate into the virtual world? >>> http://p.sf.net/sfu/oracle-sfdevnlfb >>> _______________________________________________ >>> pmapper-users mailing list >>> pma...@li... >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>> >>> >>> >> ------------------------------------------------------------------------------ >> The modern datacenter depends on network connectivity to access resources >> and provide services. The best practices for maximizing a physical server's >> connectivity to a physical network are well understood - see how these >> rules translate into the virtual world? >> http://p.sf.net/sfu/oracle-sfdevnlfb >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > |