Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
Yea I get. But I won't be able to fill these fields with their default values from the server side. The select component may have unpredictable amount of elements, each element will control what fields to be displayed and what default values should they have. This is all database driver. You soluti

Re: Correct usage of BeanEditForm to auto generate form, how to ?

2014-12-16 Thread Thiago H de Paula Figueiredo
On Tue, 16 Dec 2014 15:37:17 -0200, Deepak wrote: AddCelebrity.tml --- AddCelebrity.java - public class AddCelebrity { @Persist @Property private Celebrity celebrity; } What am I doing wrong ? Add this to AddCelebrity: void onPrepare() {

RE: Correct usage of BeanEditForm to auto generate form, how to ?

2014-12-16 Thread Akshay
HI Deepak, please have a look at the below documentation :- http://tapestry.apache.org/5.3/apidocs/org/apache/tapestry5/corelib/components/BeanEditForm.html 2. You do not need the constructor explicitly defined I believe. And this is with java, you do not need super in the parameterized constru

Re: Correct usage of BeanEditForm to auto generate form, how to ?

2014-12-16 Thread Deepak
> > I've started learning Tapestry with ver 5.3.7 from the book by Alexander > Koleshnikov. I'm having problems using BeanEditForm to create a form: > > Render queue error in SetupRender[AddCelebrity:celebrityform.editor]: > Exception instantiating instance of tapestry5.inaction.model.Celebrity > (

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Thiago H de Paula Figueiredo
On Tue, 16 Dec 2014 13:48:50 -0200, Muhammad Gelbana wrote: @Thiago, do you mean I should do that using ajax on the client side ? No. :) Maybe some JS, but not AJAX. -- Thiago H. de Paula Figueiredo Tapestry, Java and Hibernate consultant and developer http://machina.com.br --

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
@Thiago, do you mean I should do that using ajax on the client side ? *-* *Muhammad Gelbana* http://www.linkedin.com/in/mgelbana On Tue, Dec 16, 2014 at 3:27 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > > On Sun, 14 Dec 2014 18:08:33 -0200, Muhammad Gelbana

Re: CompressionAnalyzerImpl exception

2014-12-16 Thread George Christman
All set, thanks guys. https://issues.apache.org/jira/browse/TAP5-2430 On Mon, Dec 15, 2014 at 5:24 PM, Kalle Korhonen wrote: > > On Mon, Dec 15, 2014 at 12:35 PM, Thiago H de Paula Figueiredo < > thiag...@gmail.com> wrote: > > > > On Mon, 15 Dec 2014 12:05:52 -0200, George Christman < > > gchris

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Thiago H de Paula Figueiredo
On Sun, 14 Dec 2014 18:08:33 -0200, Muhammad Gelbana wrote: @Thiago ​I need the server​ to populate these fields with default values. Also the fields will be unexpected until runtime because the selected element in the Select component is essential to decide which fields to display. The

Re: Tapestry and Clojure

2014-12-16 Thread Thiago H de Paula Figueiredo
On Mon, 15 Dec 2014 18:29:22 -0200, Ilya Obshadko wrote: How are Java objects usually passed to Clojure code? The recommended way? Java objects are passed to Clojure functions in exactly the same way they are passed to Java method (because internally Clojure function is just an implementa

Re: [5.4-beta-22] Adding forms to a form using ajax

2014-12-16 Thread Muhammad Gelbana
@Akshay I understand now. But then I'll have to submit the whole form to (without validating it) to keep the user input data. I though there was a more efficient and intuitive method in tapestry. I like to use tapestry in the best possible way. Thank you for your time. *-* *M

AW: Problems with the Palette component

2014-12-16 Thread Berghoff, Benjamin
First of all, thank you for your help. The problem has been the Tapestry5-jQuery dependency. If I would have read the tapestry5-jQuery site, http://tapestry5-jquery.com/ under Usage, it say:s " How to use it Just add tapestry5-jquery to your classpath (see Maven dependency snippet below)! T