[mapguide-users] Jx Layout and Fusion

Mark Pendergraft markp at Meadgilman.com
Thu Dec 4 15:02:40 EST 2008


I found the problem.

In my index.html I had 2 references.  One to fusion.js and one to jx.js.
When I removed the jx.js reference, everything worked just fine.  Thanks
a bunch for your help regardless.

-Mark Pendergraft

-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Mark
Pendergraft
Sent: Thursday, December 04, 2008 8:08 AM
To: MapGuide Users Mail List
Subject: RE: [mapguide-users] Jx Layout and Fusion

Thanks Paul,
Here is my index.html, applicaitondefintion.xml and css.
The ApplicationDefinition.xml and CSS were copied from the
fusion/templates/aqua/ directory from the MGOS 2.02 installation with
only a few very slight modifications.

I essentially want a layout that is all map, but I'd like the
legend/SelectionPanel/TaskPane to be tabs (very similar to the LimeGold
layout) but in a movable and resizable dialog.

I did look through the examples on jxlib.org, but the jxlib seems to be
a later iteration of the code.  I am able to create a tabbox in a dialog
using the jxlib, just not using the fusion libraries.

Thanks for your help.
-Mark Pendergraft


-----Original Message-----
From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Paul
Spencer
Sent: Thursday, December 04, 2008 5:33 AM
To: MapGuide Users Mail List
Subject: Re: [mapguide-users] Jx Layout and Fusion

Hi Mark,

this is probably something to do with Jx.  Jx.Layout is used to make
things fill their containers, it sounds like you are missing something.
Perhaps if you post your code+html+css we could advise you ...

Cheers

Paul


On 3-Dec-08, at 1:46 PM, Mark Pendergraft wrote:

> I have a question about the Jx libraries in relation to Fusion.  I'm 
> trying to build my own layout for fusion similar to the aqua layout 
> supplied with MGOS.  I would like the Legend, SelectionPanel, and Task

> Pane to show up as tabs in a dialog.  The code works and they are 
> displayed as such, but the tabbox doesn't take up the entire dialog, 
> so there are scroll bars up/down and left/right and there is blank 
> space on the bottom and right of the dialog that the tabbox sits in.  
> There is also blank space on the bottom of the dialog that I have 
> created for the overview map, even though I used the same exact code 
> as the provided template.  Is this a Jx issue, or are the sizes of the

> controls handled in another part of the code?
> I looked in the css for the template, and I didn't see anything.
> Also, If I create separate dialog boxes for all three elements 
> (taskpane, selectionpanel, and legend) than each element fills it's 
> dialog completely like it's supposed to.
> Thanks for the help!
> -Mark Pendergraft
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users

_______________________________________________
mapguide-users mailing list
mapguide-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list