Mario, WFS layers are not supported, change your code to use Vector layers instead with a WFS protocol and e.g. a BBOX strategy.
Best regards, Bart > I didnt understand your reply... > Then it should work with wfs layers? I am not using vector layers... > How may I fix it? > > -----Original Message----- > From: Bart van den Eijnden (OSGIS) [mailto:[email protected]] > Sent: lunes, 28 de junio de 2010 9:43 > To: Mario Nuñez Jimenez > Cc: [email protected] > Subject: Re: [Users] legend panel usage > > Vector layers are supported as of release 0.7. > > Best regards, > Bart > >> Hello list, >> >> I have been looking at example in geoext website. >> >> >> >> new GeoExt.LegendPanel({ >> >> defaults: { >> >> labelCls: 'mylabel', >> >> style: 'padding:5px' >> >> }, >> >> title: 'Leyenda', >> >> bodyStyle: 'padding:5px', >> >> width: 350, >> >> autoScroll: true, >> >> region: 'west' >> >> }); >> >> >> >> This is the code I have used, it Works, it shows a legend panel but >> only >> wms layers are shown in it. I need wfs layers to getr shown alsoââ¬Â¦ >> >> The legend panel doesnââ¬â¢t shows any Picture, just texts so at the >> end >> isnââ¬â¢t useful as a legendââ¬Â¦ >> >> >> >> Anybody knows why? Anybody may help? >> >> Thank you in advance. >> >> Regards. >> >> Mario >> >> ------------------------------------------------------------------ >> This e-mail and the documents attached are confidential and intended >> solely for the addressee; it may also be privileged. If you receive >> this e-mail in error, please notify the sender immediately and destroy >> it. >> As its integrity cannot be secured on the Internet, the Atos Origin >> group liability cannot be triggered for the message content. Although >> the sender endeavours to maintain a computer virus-free network, >> the sender does not warrant that this transmission is virus-free and >> will not be liable for any damages resulting from any virus >> transmitted. >> >> Este mensaje y los ficheros adjuntos pueden contener informacion >> confidencial >> destinada solamente a la(s) persona(s) mencionadas anteriormente >> pueden estar protegidos por secreto profesional. >> Si usted recibe este correo electronico por error, gracias por informar >> inmediatamente al remitente y destruir el mensaje. >> Al no estar asegurada la integridad de este mensaje sobre la red, Atos >> Origin >> no se hace responsable por su contenido. Su contenido no constituye >> ningun >> compromiso para el grupo Atos Origin, salvo ratificacion escrita por >> ambas >> partes. >> Aunque se esfuerza al maximo por mantener su red libre de virus, el >> emisor >> no puede garantizar nada al respecto y no sera responsable de >> cualesquiera >> danos que puedan resultar de una transmision de virus. >> ------------------------------------------------------------------ >> _______________________________________________ >> Users mailing list >> [email protected] >> http://www.geoext.org/cgi-bin/mailman/listinfo/users >> > > > ------------------------------------------------------------------ > This e-mail and the documents attached are confidential and intended > solely for the addressee; it may also be privileged. If you receive > this e-mail in error, please notify the sender immediately and destroy it. > As its integrity cannot be secured on the Internet, the Atos Origin > group liability cannot be triggered for the message content. Although > the sender endeavours to maintain a computer virus-free network, > the sender does not warrant that this transmission is virus-free and > will not be liable for any damages resulting from any virus transmitted. > > Este mensaje y los ficheros adjuntos pueden contener informacion > confidencial > destinada solamente a la(s) persona(s) mencionadas anteriormente > pueden estar protegidos por secreto profesional. > Si usted recibe este correo electronico por error, gracias por informar > inmediatamente al remitente y destruir el mensaje. > Al no estar asegurada la integridad de este mensaje sobre la red, Atos > Origin > no se hace responsable por su contenido. Su contenido no constituye ningun > compromiso para el grupo Atos Origin, salvo ratificacion escrita por ambas > partes. > Aunque se esfuerza al maximo por mantener su red libre de virus, el emisor > no puede garantizar nada al respecto y no sera responsable de cualesquiera > danos que puedan resultar de una transmision de virus. > ------------------------------------------------------------------ > _______________________________________________ Users mailing list [email protected] http://www.geoext.org/cgi-bin/mailman/listinfo/users
