Hi Yves

$messageId is optional, though its frequently used, if im not wrong, for string traduction (will be used for msgid).

"the plugin attached to this message" is simply in which plugin was the message comming from.

so if you want to simply return a message:
$this->getServerContext()->addMessage($this, 'message1frommyplugin', "The message that will be sent back");

Regards
Oliver

Hello,
I didn't success to send data to client from server, if any idea ...
I try now to display informations in the developpeur message, is it the
correct code :
$serverContext = $this->getServerContext();
$serverContext->addMessage($this, 'tooManyImages', $this->layerData,
Message::CHANNEL_DEVELOPER);

What the messageId means ? Do I need to use it somewhere ?What mean "the
plugin attached to this message" in the API documentation ? Well as you can
see i am a little bit getting lost :-/

Thank you,

Y.
--
Yves Jacolin
http://yjacolin.gloobe.org
----
Stagiaire Conservatoire Régional des Espaces Naturels de la région Centre
http://cahiersnaturalistes.free.fr/cpnrc/
----
- Qu'est-ce que cela peut faire que je lutte pour la mauvaise cause
puisque je suis de bonne foi?
- Et qu'est-ce que ça peut faire que je sois de mauvaise foi
puisque c'est pour la bonne cause. (Jacques Prévert)

_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users


_______________________________________________
Cartoweb-users mailing list
Cartoweb-users@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/cartoweb-users

Reply via email to