Re: How i can have multiple components with t:id on the page.

2010-12-16 Thread Taha Hafeez
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

How i can have multiple components with t:id on the page.

2010-12-15 Thread Dmitriy Vsekhvalnov
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:

Re: Multiple Components in

2010-07-08 Thread Thiago H. de Paula Figueiredo
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

Re: Multiple Components in

2010-07-08 Thread Kristian Marinkovic
: 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

Re: Multiple Components in

2010-07-08 Thread matt22
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

Re: Multiple Components in

2010-07-07 Thread Kristian Marinkovic
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

Multiple Components in

2010-07-07 Thread matt22
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

Multiple COmponents

2010-07-07 Thread matt22
-- 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

Re: How to catch an event from multiple components?

2010-03-30 Thread Michael Prescott
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?

Re: How to catch an event from multiple components?

2010-03-30 Thread Thiago H. de Paula Figueiredo
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 to catch an event from multiple components?

2010-03-30 Thread Michael Prescott
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

Re: Context and Multiple Components

2008-09-01 Thread Carl Crowder
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

Context and Multiple Components

2008-09-01 Thread Carl Crowder
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

Re: T5: Pushing Multiple Components into Render Queue

2008-04-15 Thread Howard Lewis Ship
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 > > ---

T5: Pushing Multiple Components into Render Queue

2008-04-15 Thread Christian Gorbach
(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 -

Re: T5: Same event from multiple components

2007-05-06 Thread Howard Lewis Ship
- 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

Re: T5: Same event from multiple components

2007-05-06 Thread Tim Sawyer
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

Re: T5: Same event from multiple components

2007-05-05 Thread Howard Lewis Ship
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

T5: Same event from multiple components

2007-05-05 Thread Tim Sawyer
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")

Re: Multiple components error with an If component (Help!)

2007-02-15 Thread Howard Lewis Ship
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

Multiple components error with an If component (Help!)

2007-02-15 Thread Daniel Anguita O.
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-18 Thread kranga
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-18 Thread Rui Pacheco
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-18 Thread kranga
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Aleksej
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Alex Kartashev
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Matt Welch
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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?

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread kranga
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread kranga
'" ; "'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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
- 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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
: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

Re: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
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

RE: A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread James Carman
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

A bit OT: how to manage database connections for multiple components rendered simultaneously.

2006-07-17 Thread Rui Pacheco
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