[Chameleon] UploadContext widget and ContextCollection

Eijnden, B. van den (Bart) b.vdeijnden at agi.rws.minvenw.nl
Wed Jan 4 07:47:58 EST 2006


Hi list,

I am a bit lost with the UploadContext widget and the ContextCollection.

The code assumes the root element of a context collection is
WMS_CONTEXT_COLLECTION, but according to the WMC 1.0.0 spec schemas
(http://schemas.opengis.net/context/1.0.0/collection.ccml) this is: 

ViewContextCollection

So I changed the code to use:

        //if ($name == "WMS_CONTEXT_COLLECTION")
        if ($name == "VIEWCONTEXTCOLLECTION")

Can anybody explain to me why Chameleon uses WMS_CONTEXT_COLLECTION?

Another question, what is the correct position to set
$_SESSION['ContextCollection'] ie how is it supposed to be set? Why can't
the context collection be specified as an attribute of the UploadContext
widget e.g.? At least that was my expectation :-).

Thanks in advance.

Best regards,
Bart


Disclaimer
************************************************************************
Aan dit bericht kunnen geen rechten worden ontleend. Dit bericht is
uitsluitend bestemd voor de geadresseerde. Als u dit bericht per abuis
hebt ontvangen, wordt u verzocht het te vernietigen en de afzender te 
informeren. Wij adviseren u om bij twijfel over de juistheid of de 
volledigheid van de mail contact met afzender op te nemen.

This message shall not constitute any rights or obligations.
This message is intended solely for the addressee.
If you have received this message in error, please delete it and
notify the sender immediately. When in doubt whether this message
is correct or complete, please contact the sender.
************************************************************************



More information about the Chameleon mailing list