Re: Tapestry5 and envers (2)

2009-12-18 Thread Howard Lewis Ship
I'm afraid I'm not familiar enough with envers to help ... I haven't heard of it before. On Fri, Dec 18, 2009 at 4:21 PM, Jim O'Callaghan wrote: > Still stumped on this - any pointers on where to look or Tapestry5 relevant > examples would be really helpful. > > Relevant envers listeners are con

Tapestry5 and envers (2)

2009-12-18 Thread Jim O'Callaghan
Still stumped on this - any pointers on where to look or Tapestry5 relevant examples would be really helpful. Relevant envers listeners are configured and are working correctly when entities are created / updated. Tapestry (specifically the hibernate session) does not appear to see the generat

How to contribute an ApplicationInitializer to load Spring Context

2009-12-18 Thread Juan Camilo Marín
Greetings I'm working with Tapestry 5.1 and the IoC of Spring 2.5.6. I'm using the tapx-tapestry library to make a offline-template render for my application, if I use the IoC of Tapestry the TemplateAPI ( com.howardlewisship.tapx.templating.TemplateAPI) launch the ApplicationContext perfectly bu

Re: Hibernate session should be cleared/flushed between lifecycle methods?

2009-12-18 Thread Thiago H. de Paula Figueiredo
Em Fri, 18 Dec 2009 17:40:10 -0200, Everton Agner escreveu: Hi, Hi! So, In my onSuccess() method, I update my "current" object on Session. But, I get a: "a different object with the same identifier value was already associated with the session:..." Are you using Session.update()?

Hibernate session should be cleared/flushed between lifecycle methods?

2009-12-18 Thread Everton Agner
Hi, I had a weird situation here and I want to know if it's really a "bug" of tapestry hibernate integration or not. I have a Edit Page. In my onValidate() method, I have already instantiated a "current" object (que object I'm editing), and I call a BO method for validation. That method load a

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-18 Thread Howard Lewis Ship
Further, the trunk (5.2) has reverted to using a standard SAX (not StAX) parser. I'm not sure what else is going to be necessary for GAE integration, but I'll be investigating. On Fri, Dec 18, 2009 at 1:53 AM, Dmitry Gusev wrote: > Not true. > > GAE supports XML parsers since version 1.2.6, and I

Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

2009-12-18 Thread olip
Hey Joachim, Thank you so much! This works like a charm! Thanks again for your quick help! Joachim Van der Auwera (PROGS bvba) wrote: > > Sometimes this is caused by the combine script settings which can give > problems in IE when the URL becomes too long. Switching off combine > scripts may

Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

2009-12-18 Thread Joachim Van der Auwera (PROGS bvba)
Sometimes this is caused by the combine script settings which can give problems in IE when the URL becomes too long. Switching off combine scripts may help. Kind regards, Joachim olip wrote: Found out that on 5.1.0.1 it is still working (tapestry.js is rendered) but 5.1.0.2. it is no longer w

RE: Affortable Hosting solutions for Tapestry WebApps

2009-12-18 Thread Newham, Cameron
I've been using Groove Systems since 2005 to host a Tapestry 3 app. Their support is first rate. However looking just now I see their company website doesn't seem to show any hosting solutions, so I'm not sure what happened there (my site still functions just fine - so no idea). -Original M

Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

2009-12-18 Thread olip
Found out that on 5.1.0.1 it is still working (tapestry.js is rendered) but 5.1.0.2. it is no longer working olip wrote: > > > I have the same problems with T5.1.0.5. I downgraded to 5.0.18 and the > Tapestry.js reappears in my code again. > > > > Eric Ma wrote: >> >> >> Howard Lewis Ship

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-18 Thread Sergey Didenko
http://slicehost.com is reliable and has a great support Depending on traffic needs, their sister service http://rackspacecloud.com(AKA mosso.com ) can be better alternative. Their support is also great.

RE: Tapestry5 and envers

2009-12-18 Thread Jim O'Callaghan
I resolved this and though I would share in case is of use to anyone: line 113 in org.hibernate.envers.configuration.metadata.reader.AnnotationsMetadataReader: XClass xclass = reflectionManager.classForName(pc.getClassName(), this.getClass()); throws a class not found exception when it tries t

Re: Passing a value from a page to another

2009-12-18 Thread Thiago H. de Paula Figueiredo
Em Fri, 18 Dec 2009 07:23:03 -0200, Alessandro Bottoni escreveu: public class Register { // this class is used by a BeanEditor-based page template private String id = "Id From Register"; Never initialize a page class field in its declaration. It can lead to very nasty bug

Re: Passing a value from a page to another

2009-12-18 Thread Stephan Windmüller
Am 18.12.2009 12:46, schrieb Ashwanth Kumar: Well, did u try using @Persist for UserProfile page's UserID value? This is going to break tabbed browsing. - Stephan - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.o

Re: Passing a value from a page to another

2009-12-18 Thread Ashwanth Kumar
Well, did u try using @Persist for UserProfile page's UserID value? HTH - Ashwanth On Fri, Dec 18, 2009 at 2:53 PM, Alessandro Bottoni wrote: > I'm trying to pass a value from a page called "Register" to a page > called "UserProfile" following the instruction supplied by A. Kolesnikov > in his

Re: Passing a value from a page to another

2009-12-18 Thread Geoff Callender
On 18/12/2009, at 9:29 PM, Alessandro Bottoni wrote: > Il 18/12/2009 10:33, Stephan Windmüller ha scritto: >> It is passed to the second page, but after that the page is being >> passivated. You need to implement onActive(String) and onPassivate(). >> Please have a look at page 66 of your book. >

Re: Passing a value from a page to another

2009-12-18 Thread Alessandro Bottoni
Il 18/12/2009 10:33, Stephan Windmüller ha scritto: > It is passed to the second page, but after that the page is being > passivated. You need to implement onActive(String) and onPassivate(). > Please have a look at page 66 of your book. Thanks Stephan, thanks Inge and thanks Olle. Now it works.

using web.xml in a PageTester

2009-12-18 Thread Pierre DEVREUX
Hi, I define a filter in web.xml with is executed before Tapestry filter. Is it possible to use a such web.xml with PageTester. PageTester constructor takes context path in parameter, but it seems not to take into account web.xml file. How can I manage this ? Thanks. -- View this message

Re: Affortable Hosting solutions for Tapestry WebApps

2009-12-18 Thread Dmitry Gusev
Not true. GAE supports XML parsers since version 1.2.6, and I have app running T5.2.SNAPSHOT on GAE. On Fri, Dec 18, 2009 at 10:30, Olle Hallin wrote: > Google App Engine does not work for Tapestry 5.1 > > T5.1 uses an XML parser that is incompatible with GAE. > > T5.0.18 works fine from what I

Re: Passing a value from a page to another

2009-12-18 Thread Stephan Windmüller
Am 18.12.2009 10:23, schrieb Alessandro Bottoni: The Id Value is not passed from the first page to the second one (that is: I always get the default string "Id from UserProfile" as the Id rendered on the UserProfile page). It is passed to the second page, but after that the page is being pass

Re: Passing a value from a page to another

2009-12-18 Thread Inge Solvoll
http://202.177.217.122:8080/jumpstart/examples/state/passingdatabetweenpages1 On Fri, Dec 18, 2009 at 10:23 AM, Alessandro Bottoni wrote: > I'm trying to pass a value from a page called "Register" to a page > called "UserProfile" following the instruction supplied by A. Kolesnikov > in his Tape

Re: Passing a value from a page to another

2009-12-18 Thread Olle Hallin
A long-shot in the dark... Try to rename UserId to userId to comply with JavaBean naming conventions. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/18 Alessandro Bottoni > I'm trying to pass a value from a page

Re: [T5.1.0.5] 'Tapestry' is undefined JavaScript error on form submit

2009-12-18 Thread olip
I have the same problems with T5.1.0.5. I downgraded to 5.0.18 and the Tapestry.js reappears in my code again. Eric Ma wrote: > > > Howard Lewis Ship wrote: >> >> Well, you could verify that with a "view source"; it seems unlikely to >> me, but that would be a start towards investigating th

Passing a value from a page to another

2009-12-18 Thread Alessandro Bottoni
I'm trying to pass a value from a page called "Register" to a page called "UserProfile" following the instruction supplied by A. Kolesnikov in his Tapestry 5 book (pages 59 - 62). The value I want to pass is just a simple String Id. Here is (a simplified version of) my code: public class Register

Re: T5 PageRedirectExeption

2009-12-18 Thread Olle Hallin
Or, a java.net.URL if you want to redirect to an arbitrary location outside the own app. Olle Hallin Senior Java Developer and Architect olle.hal...@crisp.se www.crisp.se http://www.linkedin.com/in/ollehallin 2009/12/17 Thiago H. de Paula Figueiredo > Em Thu, 17 Dec 2009 15:11:53 -0200, Marce