[Chameleon] Problems with Query Widget Customizing Results

Sašo Celarc Saso.Celarc at snt.si
Tue Aug 23 20:39:24 EDT 2005


Hi !

 

I followed the instructions in HYPERLINK "http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults"http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustomizingResults but I get the message >Your session is invalid or has expired.< in the query results popup window. 

 

I echoed the variables and the value:

document.forms[0].sid.value  

in expression:

var url = 'query.php?x=' + nX + '&y=' + nY + '&sid=' + document.forms[0].sid.value; 

has value >undefined<, 

so I call the url:

window.open("query.php?x=321&y=305&sid=undefined", null, "width=500, height=400, directories=no, location=no, menubar=no, scrollbars=no, status=no, toolbar=no, resizable=no").

 

I think, that this >undefined< causes the >Your session is invalid or has expired.< error. The default QueryWidget works OK.

 

Where is the problem ? 

 

Regards,

Saso Celarc

 

 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.14/79 - Release Date: 22.8.2005
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20050824/12dff311/attachment.html


More information about the Chameleon mailing list