Thanks for answer.
The joke is, its not my component. Its component in Tapestry-jquery module. So if i understood correctly... ....it is a bug and i should report it, isn't it?
BR,
Jan
On Mon, 24 Jun 2013 23:42:36 +0200, Thiago H de Paula Figueiredo <thiag...@gmail.com> wrote:
On Mon, 24 Jun 2013 17:54:14 -0300, Jan Fryblik <jan.fryb...@ebrothers.cz> wrote:Hi guys,Hi!Caused by: org.apache.tapestry5.ioc.util.UnknownValueException: A component event handler method returned the value {}. Return type org.apache.tapestry5.json.JSONObject can not be handled.These "Return type XXX can not be handled" messages usually mean that you tried to return an AJAX value in a non-AJAX request or vice-versa. In your AJAX event handler methods, always have a "if (request.isXHR()) { return null; }" (where request is @Inject private Request request) check or something like the @Ajax annotation written by Taha in his blog.--Thiago H. de Paula Figueiredo
--
S pozdravem
Mgr. Jan Fryblík
jednatel
+420 739 094 784
jan.fryb...@ebrothers.cz
eBrothers Software s.r.o. | www.ebrothers.cz
jednatel
+420 739 094 784
jan.fryb...@ebrothers.cz
eBrothers Software s.r.o. | www.ebrothers.cz