AW: AW: [T4] wierd ognl error

2007-08-07 Thread Peter Schröder
i dont think that logging an issue to jira will be successfull. T4.0.2 seems not to be supported any longer... -Ursprüngliche Nachricht- Von: Nick Westgate [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 8. August 2007 08:21 An: Tapestry users Betreff: Re: AW: [T4] wierd ognl error Looks

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
Hi, My problems has nothing to do with Spring. The problem is that the HiveMind's Lightweight Instance Initialization ( http://hivemind.apache.org/hivemind1/instance-initialization.html) simply is not usable in cases like this. So I rewrote hivemodule.xml this way: Encode/decode current f

Re: AW: [T4] wierd ognl error

2007-08-07 Thread Nick Westgate
Looks like an OGNL/Tapestry bug to me, so log a JIRA for Tapestry. Cheers, Nick. Peter Schröder wrote: hi lutz, ognl: prop: ... from my poit of view, the failure is in the first statement, cause this should constuct some property with an initial value, the prop should just read from that

AW: [T4] wierd ognl error

2007-08-07 Thread Peter Schröder
hi lutz, ognl: prop: ... from my poit of view, the failure is in the first statement, cause this should constuct some property with an initial value, the prop should just read from that property... but its just a guess. anyways that is something that should NEVER happen! the property is not

[T4] Tapestry-Acegi error

2007-08-07 Thread kael20
Hi, I am trying to setup tapestry-acegi using the wiki - http://wiki.apache.org/tapestry/AcegiSpringJava5 I have tried for several hours to solve this error but I have been unsuccessful. Hoping someone might be able to shed some light on this: exception javax.servlet.ServletException: Unable

Re: [T4] wierd ognl error

2007-08-07 Thread Lutz Hühnken
Excuse me for being picky, but your subject is misleading. You claim to have an ognl error, but obviously you are using tapestry-prop instead of ognl. >From a quick look at your code I would guess the problem is that at some point the value of radioId is "mnpnull". Although you have defined an ini

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Lutz Hühnken
Hi there, to me it seems the error message indicates that you don't have a method "setSpringContext" in your CurrentFooEncoder. I think hivemind will try to set that property using that method. Or maybe you need a constructor with an argument of that type. For a slightly different approach you mi

Re: [T5] Grid component failure with hibernate objects

2007-08-07 Thread Howard Lewis Ship
There's an issue with Tapestry and Hibernate duking it out w.r.t. class loaders. There was a similar bug fixed in 5.0.5. Are you using 5.0.5? On 8/6/07, Andres Alvarez <[EMAIL PROTECTED]> wrote: > > Hi all, > > I'm trying to display an object retrieved from hibernate, it has just one > relation

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
Hi again, I tried your suggestion, but I get an ApplicationRuntimeException: No property editor exists for property springContext of class foo.web.CurrentFooEncoder. What else must I do? It smells writing some glue code... Regards, Olle 2007/8/7, Richard Kirby <[EMAIL PROTECTED]>: > > Hi Olle,

RE: [T5] Grid component failure with hibernate objects

2007-08-07 Thread Jonathan Barker
I haven't had any problems navigating relationships in T5. But then again, I avoided the issue with the grid by collecting the properties I needed from the related objects and put them into one specifically tailored for the grid. If you don't need that relation, you could manually create the bean

Re: [t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Richard Kirby
Hi Olle, Try object="instance:CurrentFooEncoder,springContext=spring:springContext" /> Basically the instance: allows for properties to be set using comma separated property=value Hope that works for you Richard Olle Hallin wrote: Hi! I have written a simple (Tapestry4) custom service e

[t4] How do I inject arbitrary services into a custom service encoder?

2007-08-07 Thread Olle Hallin
Hi! I have written a simple (Tapestry4) custom service encoder (CurrentFooEncoder) which works ok for now. It inserts/removes "/foo" first in the encoding.getServletPath(). It is declared in hivemodule.xml like Now I wan't my CurrentFooEncoder to do some use

[T4] wierd ognl error

2007-08-07 Thread Peter Schröder
hi, we are running an t4 application wich has the following code in .jwc: and in .html: ... this normally renders to: ... but some times, ognl fails and renders to: ... the only way to solve this is to reload the application! any comments on this? kind regards, peter --

Re: JumpStart v1.6 - for Tapestry 4.1.2

2007-08-07 Thread Geoff Callender
Hi Renat, I should have re-read that thread sooner - you are quite right, EJB 3 doesn't solve that problem at all. Regards, Geoff On 04/08/2007, at 12:54 AM, Renat Zubairov wrote: BTW Could you, Geoff, comment on how EJB 3 solve Hibernate detached object multi-thread access problem? I di