Hi
Hi
id and t:id are different. t:id is component id for server side tapestry use
and id is for javascript. So you can always use
a single onValueChangeFromEditor() for this use case to handle events from
the editor as t:id of the component for each iteration
in loop is the same.
Hope it helps
r
Hi all,
i'm doing grid editing, where each cell is in-place-editor and i'd like to
use one listener in the page to react to value change (my row & column
encoded to context), but tapestry dynamically assigns suffix to id only
when it's rendered multiple times in Loop.
I need something like:
On Thu, 08 Jul 2010 10:38:51 -0300, matt22 wrote:
hmmm, yes...
But I want to insert components dynamically, in class:
TML:
Two suggestions:
1) Implement a RenderCommand that adds the Blocks to the RenderQueue and
return it in getListOfComponents(). You'll need to cast the blocks to
Rend
: Multiple Components in
> correct... create a block with multiple coponents
>
> g,
> kris
>
>
>
> Von:matt22
> An: users@tapestry.apache.org
> Datum: 08.07.2010 07:15
> Betreff:Multiple Components in
>
>
>
> Hi,
> Is it
hmmm, yes...
But I want to insert components dynamically, in class:
TML:
> correct... create a block with multiple coponents
>
> g,
> kris
>
>
>
> Von:matt22
> An: users@tapestry.apache.org
> Datum: 08.07.2010 07:15
> Betreff:Multiple Co
correct... create a block with multiple coponents
g,
kris
Von:matt22
An: users@tapestry.apache.org
Datum: 08.07.2010 07:15
Betreff:Multiple Components in http://old.nabble.com/Multiple-Components-in-%3Ct%3Adelegate-...-tp29100029p29100029.html
Sent from the Tapestry - User
Hi,
Is it possible to render list of component in delegate?
http://old.nabble.com/Multiple-Components-in-%3Ct%3Adelegate-...-tp29100029p29100029.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To
--
View this message in context:
http://old.nabble.com/Multiple-COmponents-tp29100028p29100028.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr
Tue, Mar 30, 2010 at 5:08 PM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> On Tue, 30 Mar 2010 17:52:02 -0300, Michael Prescott <
> michael.r.presc...@gmail.com> wrote:
>
> How do you catch an event from multiple components (but not all
>> components?
On Tue, 30 Mar 2010 17:52:02 -0300, Michael Prescott
wrote:
How do you catch an event from multiple components (but not all
components?)
As long as your trying to handle the same event, all you need to do is to
*not* specify a component id in @OnEvent or in the method name. You don
How do you catch an event from multiple components (but not all components?)
You can't have multiple @OnEvent annotations on a single event handler
method, nor can you have the same t:id for multiple components. Does this
mean I need a separate event handler method (which of course
Sorry, I should have mentioned that the date-control and filter-control
things etc all submit their changes via forms.
It's just occurred to me that I could get the parent page using
ComponentResources during the onSuccess method, and pass in the new
values relevant to the control and get the pare
Hi all,
I'm writing a stats system where graphs have various abilities to be
filtered, changed and so on. To control the date range, I've got a date
range component, and to change the filtering, I have a filter control
component and so on. Some graphs don't use all of these components,
which is wh
onent into the render queue.
>
> Object[] beginRender
> Doesn't seem to work. Is there another approach to push multiple components
> into the queue? or should I add a Jira improvement issue?
>
> thanks in advance
> c)hristian
>
> ---
(embedded) component into the render queue.
Object[] beginRender
Doesn't seem to work. Is there another approach to push multiple
components into the queue? or should I add a Jira improvement issue?
thanks in advance
c)hristian
-
- that's where I ended up myself. I wondered if it was
possible to get away without having to do the onActionFromLogin2() method,
but it's not exactly difficult to write!
ta,
Tim.
On Sunday 06 May 2007 02:08, Howard Lewis Ship wrote:
> You can capture the action even from multiple
ion even from multiple components:
>
> void onAction() { ... }
>
> But you probably have more than one component that will fire action events
> and you don't want all of them to cause a login, so:
>
> void onActionFromLogin() { ...}
>
> Now, you have a second component on
You can capture the action even from multiple components:
void onAction() { ... }
But you probably have more than one component that will fire action events
and you don't want all of them to cause a login, so:
void onActionFromLogin() { ...}
Now, you have a second component on your
Hi folks,
I had a complex if/then structure in my component's html template, such that I
want to render different things under different conditions. Two of the
conditions will result in logins, but with different link text.
I therefore found myself wanting to do:
@OnEvent(component="login")
Anguita O. <[EMAIL PROTECTED]> wrote:
Hi all,
I'm trying to show different components with the same id using an If
component, but when I run the app it says that i have multiple
components with the same id, so it throws exception error.
For example:
Why i'm trying to
Hi all,
I'm trying to show different components with the same id using an If
component, but when I run the app it says that i have multiple
components with the same id, so it throws exception error.
For example:
value="ognl:person"/>
Why i'm trying
day, July 18, 2006 6:30 PM
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
Still, if the components were all rendered at the same time, you would be
tying up 9 connections simultaneously, and that would kill your response
times.
On 7/18/06
from a connection pool because then I would be opening/closing 0
connections in reality!
- Original Message -
From: "James Carman" <[EMAIL PROTECTED]>
To: "'Tapestry users'"
Sent: Monday, July 17, 2006 12:48 PM
Subject: RE: A bit OT: how to manage database co
s'"
Sent: Monday, July 17, 2006 12:48 PM
Subject: RE: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
So, you'd be okay with opening/closing 9 connections to the database
during
each request cycle? I'd think it would be better to
Rui Pacheco wrote:
Hi all
This is not a pure Tapestry question, but I believe you have seen this
before and might be able to give me some guiding light.
I have a web application, which I am splitting into several fragments,
ie,
components, each one rendering content stored in a database. I jus
IL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of
Matt Welch
Sent: Monday, July 17, 2006 1:08 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
This seems to be much ado about nothing:
1) He likely won't be actuall
Not if you set the maximum size of the pool to some reasonable number.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 1:18 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered
Monday, July 17, 2006 1:08 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
This seems to be much ado about nothing:
1) He likely won't be actually "opening" or "closing" 9 connections in a
requ
Welch
Sent: Monday, July 17, 2006 1:08 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
This seems to be much ado about nothing:
1) He likely won't be actually "opening" or "closing" 9 connectio
age-
> From: Rui Pacheco [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 17, 2006 12:05 PM
> To: Tapestry users
> Subject: Re: A bit OT: how to manage database connections for multiple
> components rendered simultaneously.
>
> I have several components. Each will retrieve on
Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 12:50 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
If I make my components wait, won't I be stalling the creation of the page?
ow to manage database connections for multiple
components rendered simultaneously.
I have several components. Each will retrieve one connection from the
pool,
do its thing and return it.
If they are done one at the time, then its great for me. But if each user
that calls the page causes 9 simultaneou
co [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 12:05 PM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
I have several components. Each will retrieve one connection from the pool,
do its thing and return it.
I
stry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
Even if all components ask for their own connection, assuming components
release connections when they are done, you would still expect only 1
connection in use (though it may
x page
is actually invoked.
- Original Message -
From: "James Carman" <[EMAIL PROTECTED]>
To: "'Tapestry users'"
Sent: Monday, July 17, 2006 11:36 AM
Subject: RE: A bit OT: how to manage database connections for multiple
components rendered simultane
ge database connections for multiple
components rendered simultaneously.
Unless I'm missing something, you will not be using 9 connections as the
components will render in serial order. So you will make 9 requests over a
single connection.
- Original Message -
From: "James Carman&qu
Unless all components ask for their own connection, which I think is what
they were saying.
-Original Message-
From: kranga [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 11:28 AM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components
'" ; "'Tapestry users'"
Sent: Monday, July 17, 2006 10:19 AM
Subject: RE: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
All code within one request can easily just use one connection. That's
what
we do with Taper
-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:32 AM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
Hmmm. I am not using Hibernate, the learning curve is too steep for this
project.
Can you su
:32 AM
To: Tapestry users
Subject: Re: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
Hmmm. I am not using Hibernate, the learning curve is too steep for this
project.
Can you sugest a way to solve this with handwritten code?
On 7/17/06, James Carman
h Tapernate.
-Original Message-
From: Rui Pacheco [mailto:[EMAIL PROTECTED]
Sent: Monday, July 17, 2006 10:13 AM
To: Tapestry users; Tapestry users
Subject: A bit OT: how to manage database connections for multiple
components rendered simultaneously.
Hi all
This is not a pure Tapestry ques
tions for multiple
components rendered simultaneously.
Hi all
This is not a pure Tapestry question, but I believe you have seen this
before and might be able to give me some guiding light.
I have a web application, which I am splitting into several fragments, ie,
components, each one rendering co
Hi all
This is not a pure Tapestry question, but I believe you have seen this
before and might be able to give me some guiding light.
I have a web application, which I am splitting into several fragments, ie,
components, each one rendering content stored in a database. I just realised
my index p
43 matches
Mail list logo