Re: Restoring Live Page Class Reloading

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 17:39:55 -0300, Rich M wrote: Yea, if the environment is per thread then I don't see how it would be getting env.pop'ed anywhere else manually by my code. As far as my knowledge goes the loading is something like: Index page loads Containing Page. My suggestion of hav

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Rich M
Yea, if the environment is per thread then I don't see how it would be getting env.pop'ed anywhere else manually by my code. As far as my knowledge goes the loading is something like: Index page loads Containing Page. Containing page fires BeginRender annotated method which pushes PageId into t

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Robert Zeigler
Hm... are you sure you aren't env.pop'ing that PageId somewhere else? It really ought to still be available in environment in AfterRender. Thiago is correct that you don't /have/ to pop it since the service is per-thread, but it's disturbing to me that it's not there in AfterRender... unless on

Re: [T5.2] Identity of the active page not established

2010-08-23 Thread Robert Zeigler
There is a jira for this one (TAP5-1201/TAP5-1234... there might be one more related?). It is fixed in trunk. Robert On Aug 23, 2010, at 8/2311:31 AM , Blower, Andy wrote: > I disabled checksum checking and got our app running with T5.2. > > I've already fixed a few migration issues, but stil

tapestry-component-report: How to use?

2010-08-23 Thread Inge Solvoll
http://tapestry.apache.org/tapestry5.1/tapestry-component-report/ Is this something that generates nice component documentation? If so, how do I invoke it from mvn command line?

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 13:38:14 -0300, Rich M wrote: I'm assuming you mean in the Containing Page? Yes. I tried switching it to onActivate instead of beginRender and in this case the afterRender method throws a NoSuchElementException when trying to pop the Object from the Environment, code

Re: Restoring Live Page Class Reloading

2010-08-23 Thread Rich M
I'm assuming you mean in the Containing Page? I tried switching it to onActivate instead of beginRender and in this case the afterRender method throws a NoSuchElementException when trying to pop the Object from the Environment, code as below: //@BeginRender public void onActivate(){

[T5.2] Identity of the active page not established

2010-08-23 Thread Blower, Andy
I disabled checksum checking and got our app running with T5.2. I've already fixed a few migration issues, but still not got a page to render yet. I'm getting the following error, but I have no idea why: ERROR [17:11:11,834] btpool0-1 (onesearch.pages.SessionEnded:82) - Render queue error in B

Re: Using latest Hibernate with Tap 5.1.0.5

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 13:18:10 -0300, Mats Andersson wrote: I have encountered a problem with Hibernate 3.3.1.GA and I tried to override the version with 3.5.5-Final in my project pom-file, How did you do that? Have you checked if you don't have two Hibernate versions in your app's class

Using latest Hibernate with Tap 5.1.0.5

2010-08-23 Thread Mats Andersson
I have encountered a problem with Hibernate 3.3.1.GA and I tried to override the version with 3.5.5-Final in my project pom-file, but it seems that I have to build tapestry from source using the same Hibernate version (see stack trace). If this is the case, I wonder if there are many Tapestry

Re: [T5.1] Loop and position of elements

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 10:47:20 -0300, badluck13 wrote: Sorry I mislead you, I already do that onActivate() method... Even if you initialize your field in onActivate(), you shouldn't initialize it in its declaration unless the value is immutable (String, primitive types, etc). Any other p

Re: [T5.1] Loop and position of elements

2010-08-23 Thread badluck13
Sorry I mislead you, I already do that onActivate() method... Any other possible solutions? :( -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-1-Loop-and-position-of-elements-tp2644473p2644669.html Sent from the Tapestry - User mailing list archive at Nabble.com. ---

Re: [T5.1] Loop and position of elements

2010-08-23 Thread Thiago H. de Paula Figueiredo
On Mon, 23 Aug 2010 07:32:09 -0300, badluck13 wrote: Hello dear list, Hi! I have little issue here, I have a collection that I fill with values using action links, its empty in begging and I'm adding objects afterwards... @Persist private List l = new ArrayList(); Never initialize a

[T5.2] Javassist 3.12.1.GA checksum error

2010-08-23 Thread Blower, Andy
I'm trying to migrate our application to T5.2, but I'm getting a checksum error with Javassist 3.12.1.GA C:\tmp>fciv -sha1 javassist-3.12.1.GA.jar 526633327faa61aee448a519e8a4d53ec3057885 javassist-3.12.1.ga.jar http://repository.jboss.org/nexus/content/groups/public-jboss/java

[T5.1] Loop and position of elements

2010-08-23 Thread badluck13
Hello dear list, I have little issue here, I have a collection that I fill with values using action links, its empty in begging and I'm adding objects afterwards... @Persist private List l = new ArrayList(); onActionFromAdd(Object o){ l.add(o); } and with help of zone I redisplay loop...

Re: How to serve "nearly static" resources

2010-08-23 Thread Jochen Berger
Hi, Am Montag, den 23.08.2010, 08:53 +0200 schrieb Jochen Berger: > I already tried two approaches - by implementing a Dispatcher and an > AssetFactory (which seems the right direction to me), - but neither > seemed to feel absolutely right. I just remembered another approach that I tried: contri