exception: A component event handler method returned the value
{birthDay:,birthMonth:,birthYear:,gender:male,postOfficeNumberAndName:1236
Trzin}. Return type net.sf.json.JSONObject can not be handled. Configured
return types are java.lang.Class, java.lang.String,
org.apache.tapestry5.Link
] TapestryModule.RequestExceptionHandler Processing of request failed
with uncaught exception: A component event handler method returned the
value
{birthDay:,birthMonth:,birthYear:,gender:male,postOfficeNumberAndName:1236
Trzin}. Return type net.sf.json.JSONObject can not be handled. Configured
:,birthYear:,gender:male,postOfficeNumberAndName:1236
Trzin}. Return type net.sf.json.JSONObject can not be handled. Configured
return types are java.lang.Class, java.lang.String,
org.apache.tapestry5.Link, org.apache.tapestry5.StreamResponse,
org.apache.tapestry5.ajax.MultiZoneUpdate
this error
message:
[ERROR] TapestryModule.RequestExceptionHandler Processing of request
failed
with uncaught exception: A component event handler method returned the
value
{birthDay:,birthMonth:,birthYear:,gender:male,postOfficeNumberAndName:1236
Trzin}. Return type net.sf.json.JSONObject can
Processing of request
failed
with uncaught exception: A component event handler method returned the
value
{birthDay:,birthMonth:,birthYear:,gender:male,postOfficeNumberAndName:1236
Trzin}. Return type net.sf.json.JSONObject can not be handled.
Configured
return types are java.lang.Class
You need to make sure that the form's zone parameter is set to the id and
not just the t:id of the Zone. I started generating my own xml id's from a
root name and the actual database id of the object I was about to use.
I can't speak to mixing in the custom javascript, except that when the Ajax
Thanks a lot..now this works for me...I am so happy about it as I have
been struggling through it since many days...
my another doubt is - if i replace submit component with linksubmit; my
javascript method onclick is not getting invoked...
Whereas, if i use JSON or mixin my script is invoked
Does this example help?
http://jumpstart.doublenegative.com.au/jumpstart/examples/javascript/ajaxform
On 23/06/2010, at 3:06 PM, SakshiAgarwal wrote:
Hi,
Thanks a lot for the reply. It works now.
I have been struggling hard to make zone work with Form Submit component.
I read
Hi,
I did check this example, but it helped me only to some extent.
The main problem in my case is:
the structure of my TML file is like this:
Loop
Zone
Form (defined photoZOne here)
Submit
the main problem is: counter value for first form does not function
Hi
Did u get the solution to ur problem.
I am facing the same problem
component event handler method returned the value Block[Body of
Photos:photozone, at context:Photos.tml, line 28]. Return type
org.apache.tapestry5.internal.structure.BlockImpl can not be handled
regards
sakshi
--
View
On Tue, 22 Jun 2010 03:09:56 -0300, SakshiAgarwal sakshi.a...@gmail.com
wrote:
Hi
Hi!
Did u get the solution to ur problem.
I am facing the same problem
component event handler method returned the value Block[Body of
Photos:photozone, at context:Photos.tml, line 28]. Return type
Hi,
Thanks a lot for the reply. It works now.
I have been struggling hard to make zone work with Form Submit component.
I read on http://www.infoq.com/articles/tapestry5-intro, how to make AJAX
request.
So accordingly from my attached Photos.tml file, I should make
onSuccessFromDisapprovePhoto
like it to continue down the line so @SetupRender of the component it is
mixed in is also executed.
I have partially solved this by annotating the mixing with @MixinAfter,
but now I execute the setup render methods of components that are never
shown which not ideal.
Is there another return type
On Mon, 07 Jun 2010 04:36:08 -0300, Joost Schouten (ml)
joost...@jsportal.com wrote:
Hi,
Hi!
Render phase return type equivalent to void: null.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina
So simple, I could have guessed that ;-)
Thanks,
Joost
Thiago H. de Paula Figueiredo wrote:
On Mon, 07 Jun 2010 04:36:08 -0300, Joost Schouten (ml)
joost...@jsportal.com wrote:
Hi,
Hi!
Render phase return type equivalent to void: null
=myZone/
/t:zone
In both versions, I get the following error:
Return type org.apache.tapestry5.internal.structure.BlockImpl can not be
handled. Configured return types are...
Could you please help me with this issue? I don't know, where my error is :(
A test with request.isXHR() always returns false
Make sure Javascript is enabled and there are no Javascript errors in your
page.
By the way, when Request.isXHR() returns false, you should return null to
refresh the page.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and
Wow, that was fast, thank you very much...
I don't use any custom javascript and other thinks like a autocomplete
work, so I don't think, it's a problem with my configuration.
To return null is what I do
if(request.isXHR) {
return zone.getBody();
}
else return null;
On 28.01.2010 14:13,
On Thu, 28 Jan 2010 11:36:07 -0200, Alexander Muthmann
amuthm...@dev-eth0.de wrote:
I don't use any custom javascript and other thinks like a autocomplete
work, so I don't think, it's a problem with my configuration.
To return null is what I do
if(request.isXHR) {
return zone.getBody();
}
The only error is caused by prototype:
Error: throw $continue is deprecated, use return instead {
message=throw $continue is deprecated, use return instead, more...}
Line: 4159
File: https://localhost/assets/scriptaculous/5.1.0.5/prototype.js
Nothing else
On 28.01.2010 14:45, Thiago H. de
A beginner question. A short answer will be enough.
What is the difference between returning a .class and an object from the
same class, by a method handler?
Thank you,
Mite
--
View this message in context:
http://www.nabble.com/Return-type-tp26058940p26058940.html
Sent from the Tapestry
Em Mon, 26 Oct 2009 10:34:37 -0200, Mite mitemeis...@gmail.com escreveu:
A beginner question. A short answer will be enough.
What is the difference between returning a .class and an object from the
same class, by a method handler?
None. :)
--
Thiago H. de Paula Figueiredo
Independent Java
Em Mon, 26 Oct 2009 10:39:05 -0200, cordenier christophe
christophe.corden...@gmail.com escreveu:
Hi
Hi!
The difference is that you will be able to call accessors on the object
that will allow to persist datas between request.
Use @Persist on persisted properties for the target page.
Thanks Thiago, my response was to quick :)
2009/10/26 Thiago H. de Paula Figueiredo thiag...@gmail.com
Em Mon, 26 Oct 2009 10:39:05 -0200, cordenier christophe
christophe.corden...@gmail.com escreveu:
Hi
Hi!
The difference is that you will be able to call accessors on the object
Thanks for the answers. :)
--
View this message in context:
http://www.nabble.com/Return-type-tp26058940p26059228.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
. The latter message gives me a much better clue as to where to
start looking for the problem.
--
View this message in context:
http://n2.nabble.com/Return-type-org.apache.tapestry5.json.JSONObject-can-not-be-handled-tp3295186p3311089.html
Sent from the Tapestry Users mailing list archive
request, or something
on the browser side prevented Tapestry from recognizing the request as
Ajax (it looks for an XHR header).
--
View this message in context:
http://n2.nabble.com/Return-type-org.apache.tapestry5.json.JSONObject-can-not-be-handled-tp3295186p3311186.html
Sent from the Tapestry
Amador fgama...@yahoo.com
Sent: Tuesday, July 21, 2009 11:04:05 PM
Subject: Re: Return type org.apache.tapestry5.json.JSONObject can not be
handled
Is JavaScript disabled for that client's laptop?
On Tue, Jul 21, 2009 at 10:55 AM, Franz Amadorfgama...@... wrote:
Our Tapestry5/Dojo web app
Our Tapestry5/Dojo web app works just fine everywhere except on one
customer's laptop. There he gets this error:
Return type org.apache.tapestry5.json.JSONObject can not be handled.
Configured return types are java.lang.Class, java.lang.String, java.net.URL,
org.apache.tapestry5.Link
Is JavaScript disabled for that client's laptop?
On Tue, Jul 21, 2009 at 10:55 AM, Franz Amadorfgama...@yahoo.com wrote:
Our Tapestry5/Dojo web app works just fine everywhere except on one
customer's laptop. There he gets this error:
Return type org.apache.tapestry5.json.JSONObject can
app works just fine everywhere except on one
customer's laptop. There he gets this error:
Return type org.apache.tapestry5.json.JSONObject can not be handled.
Configured return types are java.lang.Class, java.lang.String, java.net.URL,
org.apache.tapestry5.Link, org.apache.tapestry5
wrote:
I'm trying to figure out how to use an ILink return type for a listener
method in my page. I'm wanting to use it for the purpose of
redirect-after-post in order so that the page the user is sent to
displays the correct URL for it for page refreshes and user tracking
statistics
I'm trying to figure out how to use an ILink return type for a listener
method in my page. I'm wanting to use it for the purpose of
redirect-after-post in order so that the page the user is sent to
displays the correct URL for it for page refreshes and user tracking
statistics.
It seems ok
33 matches
Mail list logo