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

2014-12-14 Thread Akshay
Hi Muhammad, That's what I try to explain in my example, that instead of making the fields driven by select component Ajax, one can use a single form to show or hide them, when the select compinent is changed. I tried using if in my example, may be if u have multiple fields or logic , you can

Re: Contributing client translators

2014-12-14 Thread Geoff Callender
I can't see how to use it. If it solves the problem then it would be good to get it documented. I've added the issue to JIRA. Please vote for it! https://issues.apache.org/jira/browse/TAP5-2429 Geoff On 11 Dec 2014, at 10:15 pm, Charlouze wrote: > Hey ! > > I'm not sure to unders

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

2014-12-14 Thread Muhammad Gelbana
@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. These fields are even database driven so the displayed fields cannot be kno

Re: Tapestry and Clojure

2014-12-14 Thread Thiago H de Paula Figueiredo
On Sat, 13 Dec 2014 17:48:09 -0200, Ilya Obshadko wrote: I have a question regarding potential Clojure integration in my application service layer. As of now, standard Tapestry mechanism of dependency injection won't work for Clojure-based services, because it's constructed using ServiceBui

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

2014-12-14 Thread Thiago H de Paula Figueiredo
On Sun, 14 Dec 2014 07:22:00 -0200, Muhammad Gelbana wrote: The ajax-form-loop does it but it doesn't fit my scenario. I need to display portions of the form based on a Select component changed value. And even if I try to do it using the Select component change event, I don't need to add ro

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

2014-12-14 Thread akshay
Hi, Why don't you try something like this. May not to be the best way but should work fine. Juts try removing the extra zone that you try to render from your form and do like below:- x.tml input fields other input fields based on the select field x.java @Property @Persist private bool

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

2014-12-14 Thread Muhammad Gelbana
The ajax-form-loop does it but it doesn't fit my scenario. I need to display portions of the form based on a Select component changed value. And even if I try to do it using the Select component change event, I don't need to add rows. I just need to update a zone with different form fields. I even