[Chameleon] Problems to show the Legend
El Talp Dopat
eltalpdopat at gmail.com
Mon Jul 23 06:29:06 EDT 2007
Hi to everyone!
I'm trying to show the Legend but when i open the webpage, it shows this
error:
*Notice*: Only variable references should be returned by reference in *
C:\ms4w\apps\chameleon\htdocs\WidgetManager.php* on line *269*
*Notice*: Undefined property: Legend::$oMLT in *
C:\ms4w\apps\chameleon\htdocs\widgets\Legend\Legend.widget.php* on line *89*
*Fatal error*: Call to a member function get() on a non-object in *
C:\ms4w\apps\chameleon\htdocs\widgets\Legend\Legend.widget.php* on line *89*
In my template.html, i wrote:
<td>
<CWC2 TYPE="Legend"
POPUPWIDTH="200"
POPUPHEIGHT="400"
VISIBLE="True"
ENABLED="True"
Visible="true"
LABEL=" Llegenda:" />
<CWC2 TYPE="LegendTemplate"
TEMPLATE="legend_template.html" />
</td>
And in my map file, I wrote:
#Llegenda
LEGEND
KEYSIZE 18 12
LABEL
TYPE BITMAP
SIZE MEDIUM
COLOR 0 0 89
END
STATUS ON
END
I didn't modify the *legend_template.html* or *legend_template_widget.html*...
I don't know if I have to...
Could someone help me?
Thank you very much in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070723/4738e94e/attachment.html
More information about the Chameleon
mailing list