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 this
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
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
11 matches
Mail list logo