[Chameleon] UploadContext widget and ContextCollection
Paul Spencer
pspencer at dmsolutions.ca
Wed Jan 4 11:45:23 EST 2006
Bart,
I bet we implemented this before the spec came out and this was a
minor difference between the working version we implemented and the
final. Go ahead and commit the change please.
Paul
On 4-Jan-06, at 7:47 AM, Eijnden, B. van den (Bart) wrote:
> 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.
> **********************************************************************
> **
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
+-----------------------------------------------------------------+
|Paul Spencer pspencer at dmsolutions.ca |
+-----------------------------------------------------------------+
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+
More information about the Chameleon
mailing list