Bug 609 - [Chameleon] Problem in OGC sample in V1.99b2
: [Chameleon] Problem in OGC sample in V1.99b2
Status: NEW
: Chameleon
Samples
: 1.99
: PC Linux
: P2 normal
: FUTURE
Assigned To:
:
:
:
:
:
  Show dependency treegraph
 
Reported: 2004-08-03 14:07 by
Modified: 2004-11-03 15:03 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2004-08-03 14:07:59
The ExtractContext widget in the samples/htdocs/tools_ogc.html template contains
an absolute reference to /chameleon/samples/extraction.php. This doesn't work if
your chameleon is installed at a different URL. Unfortunately, using a relative
path for extraction.php doesn't work either:

          <cwc2 type="ExtractContext"
extracturl="/chameleon/samples/extraction.php" styleresource="TextButtons"
label="Extract Context" image="icons/icon_extract.png" imagetip="Link to an
extraction server that can perform data extract based on a context"
popupwidth="200" popupheight="200">
            <image state="normal"/>
            <image state="selected"/>
            <image state="hover"/>
          </cwc2>
------- Comment #1 From 2004-08-04 07:59:53 -------
um.  tricky.  extraction.php is really just a sample to show that the right
stuff got passed to the extraction url.  You should be supplying your own
extraction script anyway.

The URL was built to work in the ms4w package, where the structure of the
aliases is such that the web address /chameleon/samples points to the directory
chameleon/samples/htdoc.

I can't see a convenient way to structure the url such that it will work in all
situations without fail :(

Suggestions welcome ...
------- Comment #2 From 2004-08-10 16:13:26 -------
Set target to 1.99 RC 1.
------- Comment #3 From 2004-11-03 15:03:07 -------
this is a FUTURE issue AFAIC