RE: [mapguide-users] Java error in script - runs fine from studio

2007-10-01 Thread Ivan Milicevic
Could you post entire frameset here, so we can hellp you...



From: [EMAIL PROTECTED] on behalf of nicolej
Sent: pon 1.10.2007 0:43
To: mapguide-users@lists.osgeo.org
Subject: [mapguide-users] Java error in script - runs fine from studio



I have been working on a invoke url function in studio the function gets a list 
of features the user selects the feature they want to zoom to then clicks a 
button and the map zooms to the specified location and selects the appropriate 
feature.  This works like a charm in studio and when you click on the link to 
view on the web.  As soon as I put the web layout into a 'web page' an attempt 
this functionality it throws and error.

 

'parent.parent.mapFrame' is null or not an object...if someone could shed some 
light on what is going on I would be grateful

 

NJ

 

winmail.dat___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Java error in script - runs fine from studio

2007-10-01 Thread nicolej
Ok I'm not sure what you mean by frame set but this my default page I used
and old sample script. 

 

ListLanguages.php and zoomSelectLanguage.php are the scripts running the got
to language feature

 

The map works without fail every time through studio or without using my
default.php page.

 

Thanks for the help

NJ



default.php
Description: Binary data


listLanguages.php
Description: Binary data


zoomSelectLanguage.php
Description: Binary data
___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


[mapguide-users] Java error in script - runs fine from studio

2007-09-30 Thread nicolej
I have been working on a invoke url function in studio the function gets a
list of features the user selects the feature they want to zoom to then
clicks a button and the map zooms to the specified location and selects the
appropriate feature.  This works like a charm in studio and when you click
on the link to view on the web.  As soon as I put the web layout into a 'web
page' an attempt this functionality it throws and error.

 

'parent.parent.mapFrame' is null or not an object.if someone could shed some
light on what is going on I would be grateful..

 

NJ

 

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


Re: [mapguide-users] Java error in script - runs fine from studio

2007-09-30 Thread Jackie Ng

Does this happen consistently or is it a random event?

- Jackie


nicolej wrote:
 
 I have been working on a invoke url function in studio the function gets a
 list of features the user selects the feature they want to zoom to then
 clicks a button and the map zooms to the specified location and selects
 the
 appropriate feature.  This works like a charm in studio and when you click
 on the link to view on the web.  As soon as I put the web layout into a
 'web
 page' an attempt this functionality it throws and error.
 
  
 
 'parent.parent.mapFrame' is null or not an object.if someone could shed
 some
 light on what is going on I would be grateful..
 
  
 
 NJ
 
  
 
 
 ___
 mapguide-users mailing list
 mapguide-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapguide-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Java-error-in-script---runs-fine-from-studio-tf4545433s16610.html#a12971277
Sent from the MapGuide Users mailing list archive at Nabble.com.

___
mapguide-users mailing list
mapguide-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users