Some worries about Tapestry5 after comparing with wicket!!!
Hi, gus, I am investigating web frameworks for our products, which is a big ERP software. After that, I am interested in Tapestry5 and Wicket, and I think we will determine one of them to use. They are very similar and I prefer to T5, but I still would like to know the best solution to address my some concerns in tapestry5,some of them are pros in wicket. 1. How do we add the components or remove them dynamically by coding? 2. How do we set disabled property of components dynamically, by coding not EL expression to binding a method in page class. 3. Is it easy for tapestry to intergrate some other famous framework, like freemaker, velocity, Google guice and some thing like that. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849721p4849721.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Some worries about Tapestry5 after comparing with wicket!!!
1). You can use blocks to dynamically build a page from the 'blocks' or you can use Dynamic component in some of the more esoteric cases. 2). components can have any property you want, and can be set dynamically at runtime, via ajax for example. 3). Any frameworks are easily integrated. Guice is a special case because it's an IoC framework, and Tapestry has its own, which is better, so while its possible to integrate Guice, it's not necessary. On Sep 28, 2011, at 10:53 AM, Kevin Jing wrote: Hi, gus, I am investigating web frameworks for our products, which is a big ERP software. After that, I am interested in Tapestry5 and Wicket, and I think we will determine one of them to use. They are very similar and I prefer to T5, but I still would like to know the best solution to address my some concerns in tapestry5,some of them are pros in wicket. 1. How do we add the components or remove them dynamically by coding? 2. How do we set disabled property of components dynamically, by coding not EL expression to binding a method in page class. 3. Is it easy for tapestry to intergrate some other famous framework, like freemaker, velocity, Google guice and some thing like that. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849721p4849721.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Some worries about Tapestry5 after comparing with wicket!!!
On Wed, 28 Sep 2011 12:53:52 -0300, Kevin Jing kevinhig...@gmail.com wrote: Hi, gus, Hi! 1. How do we add the components or remove them dynamically by coding? In Tapestry, the component tree is static, but you can have them render very dynamically. Nice example here: http://tawus.wordpress.com/2011/04/20/tapestry-magic-3-plugin-blocks/. 2. How do we set disabled property of components dynamically, by coding not EL expression to binding a method in page class. Easy: a t:type=EventLink disabled=disableLink In your page or component class: public boolean isDisableLink() { ... } 3. Is it easy for tapestry to intergrate some other famous framework, like freemaker, velocity, Google guice and some thing like that. Very easy. ChennileKit provides FreeMarker and Velocity integration: http://www.chenillekit.org/chenillekit-template/index.html. Guice wasn't integrated yet as far as I know, but Spring integration is already provided and the same approach could be used for Guice or any other dependency injection framework. Geoff's Tapestry JumpStart has an example of integration at http://jumpstart.doublenegative.com.au/jumpstart/examples/state/ejb3, the Tapestry 5 wiki too: http://wiki.apache.org/tapestry/JEE-Annotation. By the way, Guice inspired Tapestry-IoC a lot. -- Thiago H. de Paula Figueiredo Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor Owner, Ars Machina Tecnologia da Informação Ltda. http://www.arsmachina.com.br - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Some worries about Tapestry5 after comparing with wicket!!!
Hi, gus, I am investigating web frameworks for our products, which is a big ERP software. After that, I am interested in Tapestry5 and Wicket, and I think we will determine one of them to use. They are very similar and I prefer to T5, but I still would like to know the best solution to address my some concerns in tapestry5,some of them are pros in wicket. 1. How do we add the components or remove them dynamically by coding? 2. How do we set disabled property of components dynamically, by coding not EL expression to binding a method in page class. 3. Is it easy for tapestry to intergrate some other famous framework, like freemaker, velocity, Google guice and some thing like that. Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849707p4849707.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Some worries about Tapestry5 after comparing with wicket!!!
Thanks for prompt replay and they are very clear so that I can understand some of them now. But for setting disabled property, I am still confuse. I would like to give a scenarios. When a user login the system, we need to check his/her permission, and then we will probably hide or disable the buttons or links, or disable an edittable, or make some cells readable or just set some other properties according to his/her permission. if so, I think the following solution is not the ones that I need because I hope I can change the properties dynamically by coding according to some conditions. Is there some better solution for this question in tapestry? In your page or component class: public boolean isDisableLink() { ... } Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849721p4851067.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: Some worries about Tapestry5 after comparing with wicket!!!
Tapestry-security has components that do exactly this. So I Isn't only possible but been done before. On Sep 28, 2011, at 7:22 PM, Kevin Jing kevinhig...@gmail.com wrote: Thanks for prompt replay and they are very clear so that I can understand some of them now. But for setting disabled property, I am still confuse. I would like to give a scenarios. When a user login the system, we need to check his/her permission, and then we will probably hide or disable the buttons or links, or disable an edittable, or make some cells readable or just set some other properties according to his/her permission. if so, I think the following solution is not the ones that I need because I hope I can change the properties dynamically by coding according to some conditions. Is there some better solution for this question in tapestry? In your page or component class: public boolean isDisableLink() { ... } Thanks a lot! -- View this message in context: http://tapestry.1045711.n5.nabble.com/Some-worries-about-Tapestry5-after-comparing-with-wicket-tp4849721p4851067.html Sent from the Tapestry - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org