Re: Java support added to Google AppEngine

2009-04-12 Thread Ben Gidley
I am also trying to get this working and have hit a similar issue (I am using the latest snapshot). It all works fine locally it is only a problem when uploaded to Google App Engine. It seems to be because google app engine has restricted the XMLInputFactory and that seems pretty crucial to tapestr

Re: Java support added to Google AppEngine

2009-04-12 Thread Christian Köberl
I have Tapestry 5.0.18 working: http://tapestry-mail.appspot.com/ Tapestry 5.1.0.2 does not work on GAE - there seems to be a problem with the Woodstox Stax2 lib. -- Chris http://derkoe.wordpress.com/ -- View this message in context: http://n2.nabble.com/Java-support-added-to-Google-AppEngin

Re: Java support added to Google AppEngine

2009-04-12 Thread Ben Gidley
I have just spent a bit of time looking into this - the reason is because google have decided to not allow javax.xml.stream.* to be used on appengine. Woodstox extends classes in javax.xml.stream - therefore it doesn't. The bad bit here is, unless Google change their policy, this would suggest ther

Re: Re: tapestry5 on google appengine exception

2009-04-12 Thread oliverlee000
hi,Jun Tsai forgive me,this is not relate to your topic!! i am currently learn ur corner framework, when i try to run the example of one2many test page, i got the org.hibernate.QueryException: The collection was unreferenced the exception is throwed by RelativePersistentBasicTableModel.creat

Re: Java support added to Google AppEngine

2009-04-12 Thread Markus Lux
I grepped over the tapestry-core sources for "javax.xml.stream" and only found them imported in TemplateParser and StaxTemplateParser. Would it then be sufficient to just contribute another TemplateParser which isn't using Woodstox (maybe the one from 5.0.1.8)? ben.gidley wrote: > > I have jus

Re: Java support added to Google AppEngine

2009-04-12 Thread ஸ்ரீராம் கீர்த்தி
Thanks Christian K, Can you post your GAE application's folder structure (also how you integrated tapestry jars in it) and if possible the source of the demo app. I tried 5.0.18 version and I am getting NoClassDefFoundError on an inner class corelib.components.Loop$1 Thanks, Sriram Keerthy On Su

Re: Java support added to Google AppEngine

2009-04-12 Thread ஸ்ரீராம் கீர்த்தி
Running a GAE app locally via eclipse and using tapestry 5.0.18, I get the following exception: Actually I am getting the same exception when running locally using 5.1.0.3 and 5.1.0.4. HTTP ERROR: 500 org/apache/tapestry5/corelib/components/Loop$1 RequestURI=/ Caused by: java.lang.NoClassDefFou

Re: Java support added to Google AppEngine

2009-04-12 Thread Christian Edward Gruber
I'm getting the same issues. Very frustrating. Something strange is going on with the Instantiator code that isn't being politely treated by the appengine. Christian. On 12-Apr-09, at 07:05 , ஸ்ரீராம் கீர்த்தி wrote: Running a GAE app locally via eclipse and using tapestry 5.0.18, I g

Re: [DISCUSS] JavaScript, Degradation, Page Load, Script Placement

2009-04-12 Thread Sergey Didenko
Sorry if I ask a silly question, i'm a newbie to Tapestry. You mention there were race conditions on slow connections. How were they possible? If a page is rendering then it has already processed its handlers. So when a browser gets a half of the page, all the related handlers already finished th

Re: [DISCUSS] JavaScript, Degradation, Page Load, Script Placement

2009-04-12 Thread Sergey Didenko
Does it race when "render" request uses an object from HttpSession and concurrent "action" request changes that object? If so, can't it be handled on server? I'm worring that the current client-based approach is going to be overcomplicated. On Sun, Apr 12, 2009 at 8:19 PM, Sergey Didenko wrote:

tutorial fails with maven

2009-04-12 Thread Jason Viloria
Hi, I am very new to maven, not to linux, or java web dev however. I am trying to follow the tutorial at: http://tapestry.apache.org/tapestry5/tutorial1/first.html and on running: mvn -e archetype:create -DarchetypeGroupId=org.apache.tapestry -DarchetypeArtifactId=quickstart -DgroupId=org.apache

Re: tutorial fails with maven

2009-04-12 Thread Shing Hing Man
Have you look at http://tapestry.apache.org/tapestry5.1/quickstart/ ? The following works for me and I am using maven 2.1.0. mvn archetype:generate -DarchetypeCatalog=http://tapestry.formos.com/maven-repository Note that when you run the above command, you will be prompted for archetypeGr

Re: tutorial fails with maven

2009-04-12 Thread Jason Viloria
Hi Shing, Thank you very much, this worked perfectly well. /Jason On Sun, Apr 12, 2009 at 8:23 PM, Shing Hing Man wrote: > > Have you look at > http://tapestry.apache.org/tapestry5.1/quickstart/ > ? > > The following works for me and I am using maven 2.1.0. > > mvn archetype:generate -Darche

A document must have exactly one root element exception on 5.1.0.2 upgrade.

2009-04-12 Thread zack1403
Hey all, Just upgraded to 5.1.0.2 and am getting this exception: Caused by: org.apache.tapestry5.ioc.internal.util.TapestryException: A document must have exactly one root element. Element is already the root element. [at classpath:com/inavero/pulse/pages/report/Edit.tml, line 78] at or

@CommitAfter

2009-04-12 Thread daniel joyce
What classes are automatically decorated, and which ones need to be set up in the AppModule with a "DecorateTransactionally" method per the DAO example. The reason I ask is that with Hibernate, I can define named queries on the managed Entities. And then my DAOish methods simply reside on that obj

Re: @CommitAfter

2009-04-12 Thread daniel joyce
Also, when a entity is restored from @Persist('Entity'), is it restored detached, or attached to current Hib session that is assigned to the current request. On Sun, Apr 12, 2009 at 7:38 PM, daniel joyce wrote: > What classes are automatically decorated, and which ones need to be > set up in the

SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-12 Thread Jun Tsai
hi, I had deployed a demo application on GAE. http://ganshane.appspot.com I will write a tutorial.pls use Tapestry 5.0.18 version! -- regards, Jun Tsai 免费OA系统

Re: SUCCESSFULL deploy Tapestry5 on google appengine

2009-04-12 Thread Jun Tsai
The demo source : http://github.com/bitiboy/t5ongae/tree/master 2009/4/13 Jun Tsai > hi, > I had deployed a demo application on GAE. > > http://ganshane.appspot.com > > I will write a tutorial.pls use Tapestry 5.0.18 version! > > -- > regards, > Jun Tsai > 免费OA系统 > --