[mapguide-users] Problem loading a Dynamic Web Layout

nclayton lord_jigg at hotmail.com
Mon Jan 25 15:11:44 EST 2010


Hello everyone,
I'm working on making modifications to the ajax viewer to fit the needs of
the company that I work for. What I am currently trying to do is load up a
dynamically generated web layout. Everything works until I get to the line
to create the web layout. 

Here is the code that breaks:
$webLayout = new MgWebLayout($resourceSrvc, $rid);

I've checked, $rid is a valid resourceId, and it exists based on
$resourceSrvc->ResourceExists($rid)

An error is generated, stating "The specified object was not found".

I tried looking up details on MgWebLayout in the MapGuide Web API Reference,
but there is not an entry for MgWebLayout.

Has anyone else ran into this issue?
-- 
View this message in context: http://n2.nabble.com/Problem-loading-a-Dynamic-Web-Layout-tp4456391p4456391.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list