[Chameleon] Problems to show the Legend

giska eltalpdopat at gmail.com
Mon Jul 30 07:47:21 EDT 2007


Problem solved!!



giska wrote:
> 
> 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.
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 
> 

-- 
View this message in context: http://www.nabble.com/Problems-to-show-the-Legend-tf4128850.html#a11862253
Sent from the chameleon general mailing list archive at Nabble.com.



More information about the Chameleon mailing list