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
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
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
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:
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
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
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.
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
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
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 outside
> sour
On 02/22/2012 05:57 PM, Lenny Primak wrote:
Something ate your exception (probably Nabble) its not in your post.
No, that was my fault. I do see that it might not be a problem with the
main Tapestry code, but instead the Cayenne integration.
However, in general, does anyone have any good ex
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
> get the answers. I
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
13 matches
Mail list logo