Revision 8528
trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wfs/filters/BinaryTree.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.1 2006-10-05 10:25:15 jorpiell |
|
48 |
* Revision 1.2 2006-11-06 13:09:39 jorpiell |
|
49 |
* Hay que quitarle las cmillas dobles a los nombres de los atributos en el Filtro |
|
50 |
* |
|
51 |
* Revision 1.1 2006/10/05 10:25:15 jorpiell |
|
49 | 52 |
* Implementado el filter encoding |
50 | 53 |
* |
51 | 54 |
* |
... | ... | |
86 | 89 |
}else if(value.equals(")")){ |
87 | 90 |
currentNode = currentNode.parentNode; |
88 | 91 |
}else{ |
89 |
currentNode.value = value; |
|
92 |
currentNode.value = value.replaceAll("\"","");
|
|
90 | 93 |
} |
91 | 94 |
} |
92 | 95 |
|
trunk/libraries/libRemoteServices/src/org/gvsig/remoteClient/wfs/filters/FilterEncoding.java | ||
---|---|---|
177 | 177 |
String param = words[0]; |
178 | 178 |
String operator = words[1]; |
179 | 179 |
String value = words[2]; |
180 |
int operatorCode = getRelationalOperator(param);
|
|
180 |
int operatorCode = getRelationalOperator(operator);
|
|
181 | 181 |
operator = getRelationalOperator(operatorCode); |
182 | 182 |
return createExpression(operator,param,value); |
183 | 183 |
} |
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSFilterPanel.java | ||
---|---|---|
349 | 349 |
Object node = treePath.getLastPathComponent(); |
350 | 350 |
if ((node != null) && (node instanceof XMLElement)) { |
351 | 351 |
XMLElement element = (XMLElement) node; |
352 |
putSymbol(element.getName()); |
|
352 |
XMLElement parent = element.getParentElement(); |
|
353 |
String path = element.getName(); |
|
354 |
while (parent.getParentElement() != null){ |
|
355 |
path = parent.getName() + "/" + path; |
|
356 |
parent = parent.getParentElement(); |
|
357 |
} |
|
358 |
putSymbol("\"" + path + "\""); |
|
353 | 359 |
} |
354 | 360 |
} |
355 | 361 |
} |
Also available in: Unified diff