Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 11:49:35 -0200, Thilo Tanner wrote: Hi Thiago, Hi! Thanks a lot for your prompt feedback! I will try to use the BeanEditor by contributing new property editors. :) ;) I also thought about looping through the map entries and use the delegate component for the diff

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thilo Tanner
f you are not the intended recipient, please notify the sender - thank you. From: Thiago H de Paula Figueiredo Sent: Monday, January 12, 2015 13:56 To: Tapestry users Subject: Re: [T5.4] Dynamic Forms On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote:

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote: Is it possible to generate a dynamic form containing each of the parameters by loading a form fragment based on the given type? BeanEditor/BeanEditModel already do that. See section Adding New Property Editors in http://tapestry.apa

Re: [T5.4] Dynamic Forms

2015-01-12 Thread Thiago H de Paula Figueiredo
On Mon, 12 Jan 2015 09:46:12 -0200, Thilo Tanner wrote: Hi all, Hi! I'm currently working on a report generation tool (using JasperReports in the background). The reports will consist of multiple components. Beside having "static" parameters, I will need runtime parameters shared acr

[T5.4] Dynamic Forms

2015-01-12 Thread Thilo Tanner
Hi all, I'm currently working on a report generation tool (using JasperReports in the background). The reports will consist of multiple components. Beside having "static" parameters, I will need runtime parameters shared across the different components. The challenge I'm facing now, is to creat

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
OK, so we can omit validation when needed. That's great (I wasn't aware of such a method), but I don't like "hidden submit" concept either, it looks more like a workaround rather than a solution. I remember from my earlier experience with Tapestry that simply calling form.submit() without any hid

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
On Mon, 14 Apr 2014 09:39:33 -0300, Chris Poulsen wrote: I dont think onSuccess is called if validation fails, perhaps one could adjust the outcome of the validation phase of the form like suggested. Yeah, I just noticed that after I posted the message, and you're right about the validati

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Ville Virtanen
I think Thiago means onSubmit() (If there are errors, it will never reach on success, right?) This also means that client side validation must be disabled, or then a bit of JS must be used to disable it for the hidden button. (Js interface also exists to submit the form iirc, but for these bit

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Chris Poulsen
I dont think onSuccess is called if validation fails, perhaps one could adjust the outcome of the validation phase of the form like suggested. On Mon, Apr 14, 2014 at 2:19 PM, Thiago H de Paula Figueiredo < thiag...@gmail.com> wrote: > On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko > wrote:

Re: dynamic forms concept & possible solutions

2014-04-14 Thread Thiago H de Paula Figueiredo
On Mon, 14 Apr 2014 07:36:27 -0300, Ilya Obshadko wrote: - if we trigger form submission (it's possible to do that using hidden submit, it's not very elegant, but it works), we have to go through form validation which fails in most cases because at this point form is not yet completed; user

dynamic forms concept & possible solutions

2014-04-14 Thread Ilya Obshadko
I've tried to approach the problem from different angles, but unsuccessfully. Let's suppose the following scenario (that's what I'm working on right now actually). You have an event registration form and you may register another participant with you; you're using suggestion (autocomplete) to ente

Re: Dynamic forms

2012-04-25 Thread Lance Java
BeanEditForm and BeanEditor both accept a BeanModel parameter. You will need to implement a custom BeanModel which is likely based on config stored in a database

Re: Dynamic forms

2012-04-25 Thread trsvax
http://tapestry.1045711.n5.nabble.com/writer-writeRaw-String-text-td5601234.html#a5601626 -- View this message in context: http://tapestry.1045711.n5.nabble.com/Dynamic-forms-tp5665475p5665566.html Sent from the Tapestry - User mailing list archive at Nabble.com

Dynamic forms

2012-04-25 Thread Tim Koop
I'm making a way for the user to create a dynamic form, with their own defined fields. But how can I do this with Tapestry, since it links the form fields with Java variables? I can't create dynamic variables. Any ideas? Thanks. Tim Koop t...@timkoop.com www.timko

Re: Dynamic forms

2012-02-23 Thread Robert Zeigler
In general, it shouldn't be a problem to mix and match Cayenne objects with other object types. The integration tries hard to distinguish between objects it should analyze in a cayenne-specific manner, and those that should just pass through. Just looked at the line of code and at the point of f

Re: Dynamic forms

2012-02-23 Thread Richard Frovarp
On 02/23/2012 05:30 PM, Robert Zeigler wrote: Hey Richard, What version are you using of: the integration module Tapestry Cayenne ? Also, can you tell me what the actual exception was? Robert tapestry5-cayenne-core (and -server) 0.4 Tapestry 5.2.6 Line of code that threw the excep

Re: Dynamic forms

2012-02-23 Thread Robert Zeigler
Hey Richard, What version are you using of: the integration module Tapestry Cayenne ? Also, can you tell me what the actual exception was? Robert On Feb 22, 2012, at 2/225:56 PM , Richard Frovarp wrote: > I'm trying to create dynamic forms that will be configured from an

Re: Dynamic forms

2012-02-23 Thread Richard Frovarp
example code for actually doing dynamic forms? - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org

Re: Dynamic forms

2012-02-22 Thread Lenny Primak
Something ate your exception (probably Nabble) its not in your post. On Feb 22, 2012, at 6:56 PM, Richard Frovarp wrote: > I'm trying to create dynamic forms that will be configured from an outside > source. I know this question has been asked in the past, but I don't quite &

Dynamic forms

2012-02-22 Thread Richard Frovarp
I'm trying to create dynamic forms that will be configured from an outside source. I know this question has been asked in the past, but I don't quite get the answers. I've tried to create my own BeanModel, but I'm getting exceptions when copying the code from here: http:/

Re: Cross Validation in dynamic Forms

2010-02-18 Thread Stephan Windmüller
Dominik Gätjens wrote: > Thank you Stephan this works perfect and it was a big step in my > understanding of Tapestry. Do you mind if i create a wiki articel out > of your code example? Of course not. I would have done it myself but did not find the time. Regards Stephan --

AW: AW: Cross Validation in dynamic Forms

2010-02-18 Thread Dominik Gätjens
2010 16:23 An: users@tapestry.apache.org Betreff: Re: AW: Cross Validation in dynamic Forms Dominik Gätjens wrote: > I read this thread but don't understand it. Do you have a code example for me? The setup is complex. Follow these steps and let me know if there is anything unclear:

Re: AW: Cross Validation in dynamic Forms

2010-02-17 Thread Stephan Windmüller
Dominik Gätjens wrote: > I read this thread but don't understand it. Do you have a code example for me? The setup is complex. Follow these steps and let me know if there is anything unclear: 1. Save controlNames of all fields If your field has the id "myField", use this code: - private Ma

AW: Cross Validation in dynamic Forms

2010-02-17 Thread Dominik Gätjens
Cross Validation in dynamic Forms Dominik Gätjens wrote: > I'm building a dynamic form with textfields on the fly and need to do > some cross validation. This all works pretty and i find two fields > that are invalid together. > > But how can I report this error AND mark both fie

Re: Cross Validation in dynamic Forms

2010-02-17 Thread Stephan Windmüller
Dominik Gätjens wrote: > I'm building a dynamic form with textfields on the fly and need to do > some cross validation. This all works pretty and i find two fields > that are invalid together. > > But how can I report this error AND mark both fields as invalid? I > don't have a component to call

AW: Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
} I checked the onAfterSubmit() with my debugger and find always the two same TextField Objects. Dominik -Ursprüngliche Nachricht- Von: Ulrich Stärk [mailto:u...@spielviel.de] Gesendet: Dienstag, 16. Februar 2010 15:38 An: Tapestry users Betreff: Re: Cross Validation in dynamic

Re: Cross Validation in dynamic Forms

2010-02-16 Thread Ulrich Stärk
Depends on how you are doing the "dynamic" part. If you are looping over your textfields, then injecting them into the page class should work, e.g. /> and "@Inject private TextField foo" should give you the field of the current iteration. Uli On 16.02.2010 14:34 schrieb Dominik Gätjens: Hello

Cross Validation in dynamic Forms

2010-02-16 Thread Dominik Gätjens
Hello List, I'm building a dynamic form with textfields on the fly and need to do some cross validation. This all works pretty and i find two fields that are invalid together. But how can I report this error AND mark both fields as invalid? I don't have a component to call Form.recordErro

Re: dynamic forms

2009-09-20 Thread Thiago H. de Paula Figueiredo
Em Sun, 20 Sep 2009 21:24:17 -0300, Alfonso Quiroga escreveu: Hi! When I use static forms in T5'tmls everything OK but... what happens if I have And when I'm rendering the page, in javascript (maybe via ajax) I want to append inputs to that form? Is it possible? I was thinking that maybe t

dynamic forms

2009-09-20 Thread Alfonso Quiroga
Hi! When I use static forms in T5'tmls everything OK but... what happens if I have And when I'm rendering the page, in javascript (maybe via ajax) I want to append inputs to that form? Is it possible? I was thinking that maybe there are problems with inputs unique names, and the manner of receiv

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Thu, 27 Aug 2009 13:06:14 -0300, Sparqle escreveu: Hi Thiago, Hi! Based on your post, I am thinking that this type of behavior is not supported by T5. I would say that it is supported, but out-of-the-box you would be way better supported if not using this modeling you're using. I

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Sparqle
I would appreciate if you can point me to any other alternatives without "predefined" classes for "Book", "DVD" etc in T5. Thiago H. de Paula Figueiredo wrote: > > Em Wed, 26 Aug 2009 21:14:01 -0300, sparqle > escreveu: > >> Hi, > > Hi! >

Re: t5: Dynamic Forms & Grids

2009-08-27 Thread Thiago H. de Paula Figueiredo
Em Wed, 26 Aug 2009 21:14:01 -0300, sparqle escreveu: Hi, Hi! I would like to understand how to create dynamic forms and grids in T5. T5 is all about static structure, dynamic behaviour. Now I would like to store all of item types (book, car, tv etc.) in 1 database table called

t5: Dynamic Forms & Grids

2009-08-26 Thread sparqle
Hi, I would like to understand how to create dynamic forms and grids in T5. For example, suppose I am trying to build a site like Amazon.com with lot of items for sale (including books, tvs, computers etc.). Each type of item may have its own set of attributes - books (author, number of pages

Re: Bug with large dynamic forms?

2006-10-15 Thread Norbert Sándor
You should create a JIRA issue with an attached test case. Regards, Norbi [EMAIL PROTECTED] wrote: Hello all! I think I way be experiencing a bug in tapestry but wanted to find out if anyone else had experienced it or has heard about it. When I have a large dynamic form, with fields rendered

Re: Bug with large dynamic forms?

2006-10-15 Thread D&J Gredler
mework can only work within a threshold, then it seems like a bug, be it in the framework or the docs. > Original Message > Subject: Re: Bug with large dynamic forms? > From: Jabbar <[EMAIL PROTECTED]> > Date: Sun, October 15, 2006 4:22 pm > To: "Tape

RE: Bug with large dynamic forms?

2006-10-15 Thread thaddeus
. > Original Message > Subject: Re: Bug with large dynamic forms? > From: Jabbar <[EMAIL PROTECTED]> > Date: Sun, October 15, 2006 4:22 pm > To: "Tapestry users" > > Hello, > > I've never had to show hundreds of objects. Can'

Re: Bug with large dynamic forms?

2006-10-15 Thread Jabbar
Hello, I've never had to show hundreds of objects. Can't you reduce the number of objects to show? On 15/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: Sorry about that, this is with version 4.0.2. > Original Message > Subject: Bug with large

RE: Bug with large dynamic forms?

2006-10-15 Thread thaddeus
Sorry about that, this is with version 4.0.2. > Original Message > Subject: Bug with large dynamic forms? > From: [EMAIL PROTECTED] > Date: Sun, October 15, 2006 4:16 pm > To: users@tapestry.apache.org > > Hello all! > > I think I way be experie

Bug with large dynamic forms?

2006-10-15 Thread thaddeus
Hello all! I think I way be experiencing a bug in tapestry but wanted to find out if anyone else had experienced it or has heard about it. When I have a large dynamic form, with fields rendered for a couple hundred objects in my collection, the Form component seems to wig out and not render the f