[mapguide-users] Use of escape characters inside query builder

Wilson Herrera wherrera at pccadpanama.com
Sun Feb 19 18:00:58 EST 2012


Hello everyone,

i am trying to call a javascript function on a tooltip, the function resides
inside the main frame, this is only a call, everythings works fine until i
need to send a string i tried using standard escaping, but then it will be
reported as invalid characther.

allow me elaborate:

this is a fragment of a tooltip, with one image that will call a procedure
on the main page that takes as parameter a string

concat('<td align="center"> info.png </td> ')

and property name could be something like: global bank 

since this string has spaces, i need to escape it, but when i try to do \"
or \' i got this error

illegal character
conv( \
         ^

but if i dont try to escape it i got this one

missing ) after argument list
conv( GLOBAL BANK  );
                    ^         
is there a way to escape strings inside the query builder? 

thank you everyone for your help.

best regards,

Wilson H



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Use-of-escape-characters-inside-query-builder-tp4486183p4486183.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list