[fusion-users] Panels and instantiations.
Paul Spencer
pspencer at dmsolutions.ca
Fri May 30 08:05:31 EDT 2008
Tómas,
the panel part is actually external to fusion at this time. If you
look in the index.html file, you will find some start up code that
sets up the page layout using Jx.Layout and creates some other Jx-
specific containers such as Jx.Splitter, Jx.Panel etc. The content
areas of these are assigned ids that match the <Name> of a widget in
the ApplicationDefinition.xml so Fusion creates the widgets inside
these containers.
This means that a Widget is not inherently a Panel but can be placed
*in* a Panel.
I think that there is work that could be done in the
ApplicationDefinition structure to define more Container types and
eventually manage the page layout through the ApplicationDefinition -
but I don't want to remove the flexibility that we have now so it
would definitely be optional!
Cheers
Paul
On 30-May-08, at 7:23 AM, Tómas Guðmundsson wrote:
> Hi all.
>
> I am trying to figure out how and where widget‘s like TaskPane and
> Legend.js get instantiated ? Is it onely from
> ApplicationDefinition.xml or is it somewhere called in fusion.js or
> fusion.combined.js ? Any help to how to construct a Panel Widget
> would be very helpful.
>
> Regards
> Tómas from the very recently earthquake shooken Iceland.
> _______________________________________________
> fusion-users mailing list
> fusion-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/fusion-users
__________________________________________
Paul Spencer
Chief Technology Officer
DM Solutions Group Inc
http://www.dmsolutions.ca/
More information about the fusion-users
mailing list