Re: [Ext] Re: file upload doesn't set file value

2017-12-14 Thread Dongmei Cao
Thanks for your example! Just for anyone who might run into to the same issue. It was the SpringBoot causing the issue for our case (we migrated to SpringBoot as we upgrade the Tapestry version). Had to specify a Multipart File Size in SpringBoot to have it work properly. Dongmei From: y

Re: Dynamic form fields

2017-12-14 Thread Norman Franke
That definitely works. You can also just add all the fields you’ll need to the form and then use JavaScript to hide fields that you don’t need at the time. This method is super simple, although you may need to validate some fields on the server side. Or set the values to null when you hide them.

Re: Dynamic form fields

2017-12-14 Thread Thiago H. de Paula Figueiredo
On Thu, Dec 14, 2017 at 8:47 AM, Nathan Quirynen < nat...@pensionarchitects.be> wrote: > Hi, > Hi! > This subject has been spoken about more in the past, but I still have not > found a good solution to this and still struggle with this. > > What is the best practice (Tapestry 5.4+) to add field

Re: Dynamic form fields

2017-12-14 Thread Bob Harner
Nathan, Have you tried the FormFragment component? See https://tapestry.apache.org/5.4/apidocs/org/apache/tapestry5/corelib/components/FormFragment.html On Dec 14, 2017 5:47 AM, "Nathan Quirynen" wrote: Hi, This subject has been spoken about more in the past, but I still have not found a goo

Dynamic form fields

2017-12-14 Thread Nathan Quirynen
Hi, This subject has been spoken about more in the past, but I still have not found a good solution to this and still struggle with this. What is the best practice (Tapestry 5.4+) to add fields to a form "dynamically". In my use case I just want to add some fields to a form when a checkbox (