Re: [t5.3.1 - AjaxFormLoop] How to prevent removing the last row ?

2012-10-18 Thread Taha Siddiqi
You can return HttpError but that will also result in a error alert. On Oct 19, 2012, at 2:50 AM, Muhammad Gelbana wrote: > Would it be easier to override the http return code ? I'm not sure if > that's even possible but it would be easier to write a line of java code > than to override the java

Re: New article re: T5-Flash integration

2012-10-18 Thread ael
Ioko-Tapestry-Commons 1.11.0 is compatible with T5.3.6 :) https://github.com/ioko-tapestry-commons/ioko-tapestry-commons Just build the source to have a jar file. -- View this message in context: http://tapestry.1045711.n5.nabble.com/New-article-re-T5-Flash-integration-tp2422860p5717048.html

Re: Tapestry 5.3 with Tapestry-swfobject 1.5.0 not working.

2012-10-18 Thread ael
Ioko-Tapestry-Commons 1.11.0 is compatible with T5.3.6 :) https://github.com/ioko-tapestry-commons/ioko-tapestry-commons Just build the source to have a jar file. -- View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-5-3-with-Tapestry-swfobject-1-5-0-not-working-tp57

Re: [t5.3.1 - AjaxFormLoop] How to prevent removing the last row ?

2012-10-18 Thread Muhammad Gelbana
Would it be easier to override the http return code ? I'm not sure if that's even possible but it would be easier to write a line of java code than to override the javascript stack I guess. On Thu, Oct 18, 2012 at 3:17 AM, Taha Siddiqi wrote: > Hi > > The formLoopRemoveLink does not check the ret

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread Thiago H de Paula Figueiredo
On Thu, 18 Oct 2012 16:02:38 -0300, bhorvat wrote: I like this approach. btw is there any particular reason why this can not be achieved? Something> similar like event link that has parameter event. Or better yet ability to put multiple OnEvent annotations on one method or to specify m

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread bhorvat
Thiago H de Paula Figueiredo wrote > the event handler could just invoke another method > that handles forms 1, 2 and 3 and invoke another method for form 4. > -- > Thiago H. de Paula Figueiredo > > - I like this approach. b

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread Thiago H de Paula Figueiredo
On Thu, 18 Oct 2012 15:02:23 -0300, bhorvat wrote: Hi Taha, Hi! Well my main concern is how can I have a few t:form and have them process by the same method. If I omit the form id in the OnEvent annotation then I can achieve that. However then that method is triggered for all other f

Re: Event parameter on the form or Multiple from handle in one method

2012-10-18 Thread bhorvat
Hi Taha, Well my main concern is how can I have a few t:form and have them process by the same method. If I omit the form id in the OnEvent annotation then I can achieve that. However then that method is triggered for all other forms as well. In other words. How can I make it so that form 1,2 and

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread dinesh707
Hi, it is working fine. I had some JS bugs created becouse of using jQuery in the same code. When i fix all those problems it started to work. Thank you all -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-make-a-zone-refresh-with-a-JavaScript-polling-tp5717032p5717

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread dinesh707
I tried the jump start demo. it compiles and run without any errors. But it do not refresh the time as its shown in demo. It will call only the "getServerTime()" once. and it never calls the "onRefreshTimeZone()". Any idea whats going on there? I have some other codes in the system too. So its no

Re: Update value in frontend by push from backend?

2012-10-18 Thread Lance Java
https://github.com/uklance/tapestry-cometd -- View this message in context: http://tapestry.1045711.n5.nabble.com/Update-value-in-frontend-by-push-from-backend-tp5717037p5717038.html Sent from the Tapestry - User mailing list archive at Nabble.com. -

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread Charlouze
Hey, You can also try this one : http://java.dzone.com/articles/periodic-zone-refresh-mixin I have been using it in one of my company application and it works great. Charles. 2012/10/18 Dieter Sauvillers > Hi, > > have look at the periodic ajax update from jumpstart > > > http://jumpstart.dou

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread Lance Java
I've created a push library for tapestry here: https://github.com/uklance/tapestry-cometd -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-to-make-a-zone-refresh-with-a-JavaScript-polling-tp5717032p5717035.html Sent from the Tapestry - User mailing list archive at Nabb

Re: How to create custom using t:loop functionality

2012-10-18 Thread Dusko Jovanovski
The jumpstart project is an awesome resource for beginners http://jumpstart.doublenegative.com.au/jumpstart/examples/ For your scenario, take a look at http://jumpstart.doublenegative.com.au/jumpstart/examples/tables/li

Re: How to make a zone refresh with a JavaScript polling?

2012-10-18 Thread Dieter Sauvillers
Hi, have look at the periodic ajax update from jumpstart http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/periodicupdate On 18 October 2012 12:57, dinesh707 wrote: > I need to refresh a page zone. Is there a way that I write the JavaScript > code to call some method in Tapesrty (

Re: Why ActionLink Click is not working?

2012-10-18 Thread Kristian Marinkovic
Hi, check the value of the context; if it is not set (null) only onActionFromPlay() will be called; use the EventContext if you want to catch this use case; g, Kris On Thu, Oct 18, 2012 at 9:14 AM, dinesh707 wrote: > Follofwing are some of my code parts. The system.out even do not create any >

Why ActionLink Click is not working?

2012-10-18 Thread dinesh707
Follofwing are some of my code parts. The system.out even do not create any output on ActionLink click. what am i doing wrong? Object onActionFromPlay(int videoId){ System.out.println("onActionFromPlay(int videoId) CLICKED ==="); Video _v;