> Its working now as long my form components not rendered in loops or grids
Hmm... I'd call that broken ;)
On Tue, 17 Feb 2015 17:01:15 -0200, Erich Gormann
wrote:
Hi all,
Hi!
thanks for your precious hints. For this time @InjectContainer is
sufficient for my needs.
Its all about self written input field components, which render behavior
is controlled by user permissions determining if a us
Thiago H de Paula Figueiredo
Datum:13.02.2015 21:03 (GMT+01:00)
An: Tapestry users
Betreff: Re: How to get container inside self written component
On Fri, 13 Feb 2015 17:26:25 -0200, Erich Gormann
wrote:
Hi Thiago,
Hi!
I see what you mean, but I did not want to manipulate the
containerco
On Mon, 16 Feb 2015 18:43:18 -0200, Erich Gormann
wrote:
OK,
I'm not experienced in the InjectContainer annotation, but it seems that
one have to write it on each embedded component?
Yes.
I have to figure out.
The original intention was that the component's container must not be
menti
In my opinion, @InjectContainer is a bit fragile. I think you're much
better off using the Environment or a component parameter. Let's consider a
future case where you want to render the child component in a loop (or
maybe an 'if' component). In this case the parent will be the loop/if and
it won't
even not in an annotation.
Von Samsung Mobile gesendet
Ursprüngliche Nachricht
Von: Thiago H de Paula Figueiredo
Datum:13.02.2015 21:03 (GMT+01:00)
An: Tapestry users
Betreff: Re: How to get container inside self written component
On Fri, 13 Feb 2015 17:26:25 -0200, Erich Gorm
e gesendet
Ursprüngliche Nachricht
Von: Thiago H de Paula Figueiredo
Datum:13.02.2015 21:03 (GMT+01:00)
An: Tapestry users
Betreff: Re: How to get container inside self written component
On Fri, 13 Feb 2015 17:26:25 -0200, Erich Gormann
wrote:
> Hi Thiago,
Hi!
>
On Fri, 13 Feb 2015 17:26:25 -0200, Erich Gormann
wrote:
Hi Thiago,
Hi!
I see what you mean, but I did not want to manipulate the container
component, but only wanted to look up if a certain (self written)
annotation is present on it and then let the embedded component to do
certain
One last comment: you mentioned self-written component. For Tapestry,
there's absolutely no distinction at all at the components provided
out-of-the-box and the components you write. All components, regardless of
origin, are treated and work the same.
--
Thiago H. de Paula Figueiredo
Tapest
Hi Thiago,
I see what you mean, but I did not want to manipulate the container
component, but only wanted to look up if a certain (self written)
annotation is present on it and then let the embedded component to do
certain things.
According to my opinion that would be a nice way to get infor
On Fri, 13 Feb 2015 17:01:06 -0200, Erich Gormann
wrote:
Hello Daniel,
I wanted to avoid an additional parameter, because there are already
some parameters and if there would another way to manage it, this would
be better.
You're much better off with another parameter then accessing th
On Fri, 13 Feb 2015 16:44:52 -0200, Poggenpohl, Daniel
wrote:
Hello,
why don't you try @InjectContainer? Or give the necessary information
via parameters to the inner component?
Yep, an @InjectContainer private Object parentComponent; field will give
you the parent component. You can ch
rs
Betreff: How to get container inside self written component
Hi all,
seems to be a simple task, but I did not manage it right now.
I'm working with a self written component. Inside the code of this
component I want to retrieve information about the outer component
(container), my component is
treff: How to get container inside self written component
Hi all,
seems to be a simple task, but I did not manage it right now.
I'm working with a self written component. Inside the code of this
component I want to retrieve information about the outer component
(container), my component is curr
Hi all,
seems to be a simple task, but I did not manage it right now.
I'm working with a self written component. Inside the code of this
component I want to retrieve information about the outer component
(container), my component is currently used in.
I tried the service ComponentSource, but
15 matches
Mail list logo