Re: Tapestry 5 and Java EE6/CDI

2013-04-08 Thread Geoff Callender
Oops, when I referred to "client-side" and server-side" I actually meant "web-tier" and "business-tier". Geoff On 9 April 2013 16:26, Geoff Callender wrote: > I realise you are referring to more than just Conversations support but > I'll just address Conversations since I don't know what other b

Re: Tapestry 5 and Java EE6/CDI

2013-04-08 Thread Geoff Callender
I realise you are referring to more than just Conversations support but I'll just address Conversations since I don't know what other benefits you're hoping to get. >From my reading, Wicket's Conversation CDI module is at best controversial, eg: http://comments.gmane.org/gmane.comp.java.wick

Re: Tapestry 5 and Java EE6/CDI

2013-04-08 Thread hantsy
Hi Bob, Thanks for clarifying this for me Exactly as u said, I only want to use Tapestry5 as JSF alternative for web tier. CDI is the standard DI in Java EE, not only a DI container, but provides other features, such as State management, events etc. Wicket provides a official CDI module for Java

Re: 5.4-alpha-4 build error

2013-04-08 Thread Howard Lewis Ship
Use Gradle 1.3 or, better yet, the gradlew (Gradle Wrapper). Gradle Wrapper is a tiny script (or .bat for Windows) and JAR file that downloads the rest of Gradle as needed; we keep the wrapper synchronized with the version of Gradle we're using for development ... you can build Tapestry using the

Re: Acces page properties file within a component?

2013-04-08 Thread George Ludwig
I got a chance to look in to this a little more. Thiago, from your email, it sounded like you were saying that there was an automatic hierarchical reading of properties, but testing indicates that reading the message catalog within a component only gives access to the component level properties. I

Re: getting context from java Class

2013-04-08 Thread Ivan Khalopik
If you need context path you can inject Request: @Inject private Request request; public String getContextPath() { return request.getContextPath() } On Mon, Apr 8, 2013 at 10:25 AM, Taha Hafeez Siddiqi < tawus.tapes...@gmail.com> wrote: > > Hi > > You can use assets in your page using @P

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2013-04-08 Thread Lenny Primak
Good to hear. Yes you are correct. You need to include the rhino version you want. On Apr 8, 2013, at 3:27 AM, Rural Hunter wrote: > thanks. this works though I need to include a rhino dependency specifically. > > 于 2013/4/4 2:06, Lenny Primak 写道: >> Here is something that may help you: >>

Re: AssetsModule.ResourceMinimizer Exception yui compressor

2013-04-08 Thread Rural Hunter
thanks. this works though I need to include a rhino dependency specifically. 于 2013/4/4 2:06, Lenny Primak 写道: Here is something that may help you: This loads a replacement of tapestry-yuicompressor that bundles in the yuicompressor library and rhino in such a way that it doesn't conflict with

Re: getting context from java Class

2013-04-08 Thread Taha Hafeez Siddiqi
Hi You can use assets in your page using @Path annotation. @Inject @Path("context:images/tapestry_banner.gif") private Asset banner; Read more about it at http://tapestry.apache.org/assets.html regards Taha On 08-Apr-2013, at 12:28 PM, Alberto Fernández wrote: > Context is already working