Re: Forcing a component to re-render itself

2005-10-24 Thread Erik Dreyer
That sounds great Jesse. Looks like you guys have already given this a lot of thought. I'm more than happy to get involved and contribute where I can. Thanks for all the input. --Erik On 10/24/05, Jesse Kuhnert <[EMAIL PROTECTED]> wrote: > > You should probably just go download the source :) > >

Re: Forcing a component to re-render itself

2005-10-24 Thread Jesse Kuhnert
You should probably just go download the source :) The part component that used to exist did almost exactly what you are describing with the Region component. I've changed it since to use some of the new functionality possible with the recent refactoryings of having most of the tapestry logic bro

Re: Forcing a component to re-render itself

2005-10-24 Thread Erik Dreyer
I'm curious to see how they solved the problem of having to capture the output of a specified set of components. In my implementation the Region component had some special logic in it's renderComponent() method to capture it's body. But being able to specify any old component without the need for R

Re: Forcing a component to re-render itself

2005-10-24 Thread Jesse Kuhnert
Yes, I think the region component was called "Part" in tacos before the library got re-vamped. What would be even more interesting would be if someone were able to figure out a way to do a real swing-like graphical update. Ie no special components/or having to specify which components should be up

Re: Forcing a component to re-render itself

2005-10-24 Thread Erik Dreyer
I've looked at it briefly. I'll take a close look. Thanks! On 10/24/05, Markus Joschko <[EMAIL PROTECTED]> wrote: > > hi erik, > I have a deja-vu. Have you looked at the tacos library? It also does > this (and a lot more), but it is not restricted to regions but can > repaint every component seper

Re: Forcing a component to re-render itself

2005-10-24 Thread Markus Joschko
hi erik, I have a deja-vu. Have you looked at the tacos library? It also does this (and a lot more), but it is not restricted to regions but can repaint every component seperately. markus On 10/24/05, Erik Dreyer <[EMAIL PROTECTED]> wrote: > Hi Phil, > > I'm working on a small set of components t

Re: Forcing a component to re-render itself

2005-10-24 Thread Erik Dreyer
Hi Phil, I'm working on a small set of components that do exactly that. Basically, like Swing, you have something that creates an event (link, button, etc) and a registered listener for that event. You also have a list of Regions (new component) that will repaint based on the results of that event

Re: Forcing a component to re-render itself

2005-10-24 Thread Ron Piterman
Its hard to say without looking at the code - keep in mind the cycle : page render -> stop user click -> page rewind -> directLink listener does its work -> page renders again. if between the rewind and the render you set the source to the original value, then it will not work, so... if you h

Re: Forcing a component to re-render itself

2005-10-24 Thread Ivano
Try looking for Ajax components in Tacos library or in T-Deli's XTile component. It enables you to partially reload the page. Ivano. Phil Ulrich wrote: Is there any way to force a single component to re-render itself? Right now I have a DirectLink that, when clicked, changes the source bindin

Forcing a component to re-render itself

2005-10-24 Thread Phil Ulrich
Is there any way to force a single component to re-render itself? Right now I have a DirectLink that, when clicked, changes the source binding of a Table component. (Well, actually, it changes the contents of the object that the source is bound to.) However, I've tried a number of different methods