Re: DWR and Tapestry5

2009-09-24 Thread sodium
Yes, actually i am trying to use DWR with T5IOC services only, just testing to make hopefully a simple ajax game. I wonder how that will scale since its pretty much lightweight to use both. On side note, i finally manage to configure my DWR to work. Thanks for the help guys. Andreas Andreou-4 wr

Re: How coooooooooool is this !!!

2009-09-24 Thread Thiago H. de Paula Figueiredo
Em Thu, 24 Sep 2009 17:14:32 -0300, Gunnar Eketrapp escreveu: Hi all! Hi! Of course I have undertaken a much too big job and the risk is huge! But what the heck! Hacking has never ever been so fun! Let's get fired in style! I really love this paragraph. If I had a quote in my e-mail sig

Re: How coooooooooool is this !!!

2009-09-24 Thread Daniel Jue
Great to hear about your technological metamorphosis! Let me know when you make a new Mafia Wars type app. =) And don't forget to lock down your app, security-wise. On Thu, Sep 24, 2009 at 4:14 PM, Gunnar Eketrapp wrote: > Hi all! > > I started fresh with T5 about a week ago and have some weeks

Re: question

2009-09-24 Thread Howard Lewis Ship
For the meantime, yes, move your code to Java code: ... public boolean isSufficientPlayers() { return playersOnline > 100; } This is not so terrible because of live class reloading. A future release of Tapestry will likely include a few more basic comparison operators. On Wed, Sep 23, 2009 at

Re: is tapestry.formos.com still accepted new projects?

2009-09-24 Thread Howard Lewis Ship
In theory, yes we could have more projects on Tapestry360. However, even before I left Formos, I was doing a very poor job of administering the site. I would encourage projects to put their code on GitHub or Google (along with wikis and issue tracking); Tapestry360 can store home pages and the Bam

Re: Not in GZIP format problem

2009-09-24 Thread Howard Lewis Ship
Actually, the t:formdata is always an object stream that has been GZiped and mime-encoded. The GZip support added in 5.1 concerns entire requests: for pages, for assets. On Thu, Sep 24, 2009 at 12:44 PM, Ovidiu Hurducas wrote: > Thanks! ... it was a wrong t:formdata value. Another thing: it is w

Re: Thoughts on an equivalent of "prototype" beans in Tapestry IOC

2009-09-24 Thread Howard Lewis Ship
What about nestable manual scopes? On Thu, Sep 24, 2009 at 1:29 PM, Paul Field wrote: > There was a recent thread that discussed implementing the equivalent of > Spring's "prototype" beans in Tapestry IOC. I was of the opinion that it > wasn't possible to implement sensibly: you either run the r

Thoughts on an equivalent of "prototype" beans in Tapestry IOC

2009-09-24 Thread Paul Field
There was a recent thread that discussed implementing the equivalent of Spring's "prototype" beans in Tapestry IOC. I was of the opinion that it wasn't possible to implement sensibly: you either run the risk of the service living too long or else Tapestry's proxies would mean that you created a

How coooooooooool is this !!!

2009-09-24 Thread Gunnar Eketrapp
Hi all! I started fresh with T5 about a week ago and have some weeks in order to transfer a huge existing JSP/Spring-MVC solution to T5. The site is a poker site with over 100 pages (most of them dynamic) in 4 different languages. There is a lot of admin pages and quite complex shares and commiss

Re: Please help

2009-09-24 Thread Daniel Jue
I agree, while the trolls on here tend to use a similar technique to bring up moot points (especially things that were answered in the previous few days), we should not jump to conclusions about someone with a genuinely reluctant team. Here is a tip: Have the developers who opposed the use of Tape

Re: Not in GZIP format problem

2009-09-24 Thread Ovidiu Hurducas
Thanks! ... it was a wrong t:formdata value. Another thing: it is working with and without GZIP-ing the request. Tapestry seems to handle both situations. On Thu, Sep 24, 2009 at 10:36 AM, Kalle Korhonen wrote: > And obviously you need to gzip the request. > > On Thu, Sep 24, 2009 at 12:32 AM,

Re: [Tapestry Central] Devoxx 2009: Tapestry and Clojure

2009-09-24 Thread Sebastian Hennebrueder
Howard schrieb: Coming up in November ... I'll be at the Devoxx 2009 conference in Antwerp, Belgium. I'll be presenting two 60 minute talks: one as an introduction to Tapestry (Nov 20th, 10:30-11:30, Room 9) and another as an introduction to Clojure (Nov 18th, 12:00-13:00, Room 6). Given that my

Re: Please help

2009-09-24 Thread Howard Lewis Ship
It's a little early to start dropping the "T" bomb. I'd like to thank Thiago for his response ... it's dead on. Although the upgrade from 5.0 to 5.1 was not quite as seamless as I would have liked, for the majority of users it represented a simple switch in dependencies, with a number of new featu

[Tapestry Central] Devoxx 2009: Tapestry and Clojure

2009-09-24 Thread Howard
Coming up in November ... I'll be at the Devoxx 2009 conference in Antwerp, Belgium. I'll be presenting two 60 minute talks: one as an introduction to Tapestry (Nov 20th, 10:30-11:30, Room 9) and another as an introduction to Clojure (Nov 18th, 12:00-13:00, Room 6). Given that my existing talks tak

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread ningdh
I love mvnDebug with jetty:run, so not only the web tier, all the class changes are reloaded perfectly, except new a method and new a class. DH - Original Message - From: "Thiago H. de Paula Figueiredo" To: "Tapestry users" Sent: Thursday, September 24, 2009 10:37 PM Subject: Re: A su

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Kalle Korhonen
Yes, it works fine. I'm using all the latest stuff including m2eclipse dev version and life's good :) Kalle On Thu, Sep 24, 2009 at 10:25 AM, Ilya Obshadko wrote: >> >> That's simply not true. I love Jetty and it's very well implemented >> but the core Tomcat runs and starts up just as fast as

Re: JSP replacement quiz

2009-09-24 Thread Thiago H. de Paula Figueiredo
Em Thu, 24 Sep 2009 14:23:12 -0300, Gunnar Eketrapp escreveu: Hi! Hi! It's not that simple ... The level is displayd as (idx+1) and i dont even have acess to the index or do I? Loop's index parameter is the solution. In your class: @Property private int index; public getLineNumber

Re: JSP replacement quiz

2009-09-24 Thread Kalle Korhonen
Sure you have an access to the index, just like to the element itself. Read the documentation. I'd just do all of that logic in the page class and implement something like getStyleClass(). I don't agree with your "it would be nice if simple loops like this could be achieved in TML" statement. Havi

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Daniel Jue
> And that is for development, for deployment I have a bigger problem because > it is under Tomcat 6 which is behind AJP fronted by MS IIS. > And if the application is packaged from maven as a WAR, then all the classes > are inside packed in a JAR, which Tomcat extracts in a temporary place and > s

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Ilya Obshadko
> > That's simply not true. I love Jetty and it's very well implemented > but the core Tomcat runs and starts up just as fast as Jetty. I bet > Ilya's issue is he tries to use Eclipse own JEE container support, > which is using the traditional concept - copy files, redeploy > application on change.

Re: JSP replacement quiz

2009-09-24 Thread Gunnar Eketrapp
Hi! It's not that simple ... The level is displayd as (idx+1) and i dont even have acess to the index or do I? The class="tdalt" that is rendered on each second line can be solved by methods. But I haven't come up with a solution for the index and index+1 problem. Or am I stupid? Perhaps there

Re: A survey about redeployment time in the Java EE world

2009-09-24 Thread Kalle Korhonen
On Thu, Sep 24, 2009 at 6:49 AM, Thiago H. de Paula Figueiredo wrote: > Em Thu, 24 Sep 2009 10:46:31 -0300, Ilya Obshadko > escreveu: >> Live class reloading is a great feature. >> But I couldn't figure out yet how one should configure, for example, >> Tomcat 6 in development environment to avoid

Re: DWR and Tapestry5

2009-09-24 Thread Andreas Andreou
Well, the other idea is that you could expose T5IOC services to the web through DWR. On the other hand, there's http://code.google.com/p/t5-restful-webservices/ for that, so ... On Thu, Sep 24, 2009 at 7:32 PM, Peter Stavrinides wrote: > DWR is reverse AJAX, for comet (or push requests), which T

Re: Preventing Form Resubmission

2009-09-24 Thread Benny Law
This is a very informative article. Thanks for sharing, Sebastian. Benny On Thu, Sep 24, 2009 at 7:32 AM, Sebastian Hennebrueder wrote: > Hello, > > I described an approach without using Javascript. > > http://www.laliluna.de/tapestry-webframework-evaluation-test.html > > Best Regards > > Sebast

Re: DWR and Tapestry5

2009-09-24 Thread Alfonso Quiroga
Thanks for the answer, I used DWR but I didn't use it for reverse ajax On Thu, Sep 24, 2009 at 1:32 PM, Peter Stavrinides wrote: > DWR is reverse AJAX, for comet (or push requests), which Tapestry doesn't > provide. > > -- > If you are not an intended recipient of this e-mail, please notify the

Re: DWR and Tapestry5

2009-09-24 Thread Peter Stavrinides
DWR is reverse AJAX, for comet (or push requests), which Tapestry doesn't provide. -- If you are not an intended recipient of this e-mail, please notify the sender, delete it and do not read, act upon, print, disclose, copy, retain or redistribute it. Please visit http://www.albourne.com/email

Re: JSP replacement quiz

2009-09-24 Thread kalle.o.korhonen
You can just use Loop component - http://tapestry.apache.org/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/Loop.html Kalle On Thu, Sep 24, 2009 at 5:31 AM, Gunnar Eketrapp wrote: > I am converting jsp that produces a table like ... > > 1      317 > 2      45 > 3      118 >

Re: DWR and Tapestry5

2009-09-24 Thread Alfonso Quiroga
I have used DWR a lot with struts2.. by now I didn't develop any ajax-components in T5, but I don't think it would be hard.. so the question is, why use DWR in T5? On Thu, Sep 24, 2009 at 12:54 PM, wrote: > Okay so here is a quick sample I dug up: > > >