Injecting hivemind properties into spring beans

2006-12-09 Thread andyhot
Not sure if https://springmodules.dev.java.net/ (or their source) can help. On the other hand, it looks easier to do this the other way around, i.e. in hivemind Stefan Esterer wrote: > Hi guys... > > My goal would be to be able to define a bean in the spring config file like > this: > > Code: >

Re: Help overriding a service

2006-12-09 Thread andyhot
Andrea Chiumenti wrote: > Hello I need to override FormComponentContributorContext. How can I do ? > I'm looking at the 4.1 code, but this should also be valid for 4.0 You can't easily override that, because implementations of the interface you mentioned are directly created within ValidatableFie

Re: Re: @Persist weirdness

2006-12-09 Thread Howard Lewis Ship
That's an interesting interaction between @Persist and @InitialValue. After the loss of session, the instance variable should return to its true default, null (when there isn't an @InitialValue). I think I would need to see more of your code, to see where you are setting the value for the propert

Re: First pass at a Tapestry 5 Image Component

2006-12-09 Thread Howard Lewis Ship
Hey, if it works for you. description vs. alt : Early Tapestry 1.0 established the precendent of giving "Java-ish" aliases to common HTML attributes. A mistake, in my opinion, since it gained little, obscured some, and requires that much more documentation. In other words, I wouldn't inlcude a

Which Tomcat version is requiered for Tapestry 4?

2006-12-09 Thread Fabian Dittrich
Hi, which is the oldest Tomcat Version which will run with Tapestry 4? Greets Fabian

Help overriding a service

2006-12-09 Thread Andrea Chiumenti
Hello I need to override FormComponentContributorContext. How can I do ?

Re: First pass at a Tapestry 5 Image Component

2006-12-09 Thread Bill Holloway
Well, didn't end writer. Also "public'ed" methods -- @BeginRender void renderImageTag (MarkupWriter writer) { writer.element ("img", "src", _imageAsset.getResource().getPath(), "alt", _description

First pass at a Tapestry 5 Image Component

2006-12-09 Thread Bill Holloway
I needed one, so I took a shot at it. Flame away! :) Package declaration deliberately left out: import java.io.IOException; import org.apache.tapestry.Asset; import org.apache.tapestry.MarkupWriter; import org.apache.tapestry.annotations.BeginRender; import org.apache.tapestry.annotations.Compo