On Fri, 15 Apr 2016 17:34:03 -0300, Barry Books wrote:
yes
Tapestry mixins may not be easy to understand at first, but when you do,
you realize how powerful they are, specially when combined with a class
transformation when you need to apply them to several component
yes
On Friday, April 15, 2016, Ilya Obshadko wrote:
> Barry, thanks for your suggestion - I think this is what I need.
>
> Do you mean an implementation of ComponentClassTransformWorker2?
>
> On Fri, Apr 15, 2016 at 2:12 PM, Barry Books
Pavel, thanks!
My point is to handle this on modal level: this should be completely
transparent for the form itself.
On Fri, Apr 15, 2016 at 2:33 PM, Pavel Chernyak
wrote:
> Ilya, greetings.
>
> As for submit button i search inside modal body for form component or
>
Ilya, greetings.
As for submit button i search inside modal body for form component or
specify form name in modal component.
So, after clicking button form submits.
Onsuccess i invoke hideModal function(via hidemodal event).
OnFailure i do nothing except updating formzone to show messages/errors
Barry, thanks for your suggestion - I think this is what I need.
Do you mean an implementation of ComponentClassTransformWorker2?
On Fri, Apr 15, 2016 at 2:12 PM, Barry Books wrote:
> I'm not exactly sure I understand the requirements but I think you could do
> this with a
I'm not exactly sure I understand the requirements but I think you could do
this with a mixin on the form. At the very least this would allow
communication with the form mixin and the modal via the Environment
service. The modal could put something in the environment and the mixin
could add some
Is there any way to search for specific component down the component
hierarchy?
Consider the following use case:
- I have a component responsible for rendering Bootstrap modal
- this modal may (or may not) contain a form
- if modal contains a form and submission is successful, the modal should
I write this so it goes on web archives and maybe (even though is not
probabile) one day someone will find it useful.
The solution is to avoid this
https://wiki.apache.org/tapestry/EasyBrowserRedirection
never raise that exception.
Instead use
PageRedirectException
in case you want to pass