Re: dependencies of tapestry5

2013-05-07 Thread Stefan Baur
Once you have your maven project set up, run this: mvn dependency:tree or mvn dependency:tree > tree.txt (to output the content into a file) This will show you a nice dependency tree for the whole maven project. 2013/5/8 Jon Williams > If you follow the instructions at tapestry.apache.org ge

Re: Hibernate Commit Advice doesn't work with InnoDB tables

2013-05-07 Thread Robert A. T. Káldy
On 05/07/2013 11:55 AM, Dmitry Gusev wrote: Make sure you've annotated your interfaces but not the implementations with @CommitAfter. Also try to remove last asterisk from @Match("*DAO*") to make it look like @Match("*DAO") Thanks, that solved it. Robert-Antonio -

Re: dependencies of tapestry5

2013-05-07 Thread Jon Williams
If you follow the instructions at tapestry.apache.org getting started page you can quickly create a standard tapestry prototype app using maven. Once you've done the initial configuration steps, and it builds, look in the lib directory of your build to see all the dependencies. On Tue, May 7, 201

dependencies of tapestry5

2013-05-07 Thread Angelo Chen
Hi, How to check the dependencies of tapestry5? does it use apache httpclient4? if yes, what version? Thanks, Angelo

Re: How to dynamically specify the template for the Dynamic component?

2013-05-07 Thread George Ludwig
Thanks Thiago, I'll try that. I did first look at the Tapestry docs, and saw that the template parameter was of type org.apache.tapestry5.services. dynamic.DynamicTemplate and I had not idea what to do what that. On Tue, May 7, 2013 at 11:22 AM, Thiago H de Paula Figueiredo < thiag...@gmail.com>

Re: How to dynamically specify the template for the Dynamic component?

2013-05-07 Thread Thiago H de Paula Figueiredo
On Tue, 07 May 2013 14:12:52 -0300, George Ludwig wrote: I'm trying to use the Dynamic component so I can specify the tml at runtime. Notice the template parameter is of type Asset, so that's what you should pass to it. The default binding is 'asset', and I guess you overlooked this im

How to dynamically specify the template for the Dynamic component?

2013-05-07 Thread George Ludwig
I'm trying to use the Dynamic component so I can specify the tml at runtime. These work:

Re: Dynamically add fields to form

2013-05-07 Thread Lance Java
Perhaps, as George mentioned, this is better handled by a single form with two submit buttons. You can use the onSelectedFromX() event to flag which submit button was pressed.

Re: Dynamically add fields to form

2013-05-07 Thread Nathan Quirynen
Hi, I'm trying this now, but I'm already stuck on rendering the FormInjector. Form A is submitted with ajax, then I want to rerender a zone containing the FormInjector. This always results in: No object of type org.apache.tapestry5.servi

Re: Tapestry performance

2013-05-07 Thread Ulrich Stärk
I think this benchmark is fundamentally flawed. It compares apples to oranges and is too simplistic to generalize anything. JSON serialization? Really? You aren't testing web framework performance with that. Interpreted languages in the same benchmark as compiled languages? How can you even try

Re: Tapestry performance

2013-05-07 Thread Denis Stepanov
> Isn't scaling out using multiple instances is the way to go? Yes, but I would better use more than one thread per process. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h

Re: Tapestry performance

2013-05-07 Thread Dmitry Gusev
On Tue, May 7, 2013 at 2:30 PM, Denis Stepanov wrote: > Finally they have added test that actually tests web frameworks - > "Fortunes test" but no Tapestry yet. Does anyone is going to contribute the > fortune test? > > >> Performance can be black magic. > >> > >> On the one hand, I've heard some

Re: loop pagination - T5 Bootstrap

2013-05-07 Thread Barry Books
It's true the mixin does not support GridDataSource, probably should but it works OK for most things as is. To support really large collections the pagination component would also need to be rewritten since it displays a link per page and that would not work well for thousands of pages. The other t

Re: Tapestry performance

2013-05-07 Thread Denis Stepanov
Finally they have added test that actually tests web frameworks - "Fortunes test" but no Tapestry yet. Does anyone is going to contribute the fortune test? >> Performance can be black magic. >> >> On the one hand, I've heard some specific things about Node.js performance >> that are very positiv

Re: Hibernate Commit Advice doesn't work with InnoDB tables

2013-05-07 Thread Dmitry Gusev
Hi, MyISAM doesn't support transactions so there's nothing to commit or rollback. Make sure you've annotated your interfaces but not the implementations with @CommitAfter. Also try to remove last asterisk from @Match("*DAO*") to make it look like @Match("*DAO") On Tue, May 7, 2013 at 1:21 PM,

Hibernate Commit Advice doesn't work with InnoDB tables

2013-05-07 Thread Robert A. T. Káldy
Hello, I put a commit advice to all my DAO classes: @Match("*DAO*") public static void adviseTransactions(HibernateTransactionAdvisor advisor, MethodAdviceReceiver receiver) { advisor.addTransactionCommitAdvice(receiver); } It works well for MyISAM tables, but no persist call is committed

Re: Usage of Tapestry Services from outside of Tapestry.

2013-05-07 Thread Lance Java
tapestry-hibernate provides a singleton hibernate session which can be looked up from the registry. This singleton is a proxy to a lazy-loaded, per-thread hibernate session instance. All service methods invoked on the thread will share the same hibernate session. You must call either Registry.clea

Re: loop pagination - T5 Bootstrap

2013-05-07 Thread Lance Java
Sorry for my previous answer… I didn't realise that this tapestry-bootstrap mixin existed. After looking at the source here: https://github.com/trsvax/tapestry-bootstrap/blob/master/src/main/java/com/trsvax/bootstrap/mixins/Pager.java It seems to me that this mixin does not do 'true' paging since