Re: [5.1 SNAPSHOT]: ProgressiveDisplay component
Howard Lewis Ship schrieb: Maybe it needs a context parameter, and it could fire an event before rendering its body. It even could render the response from the event (if any) instead of its body. What do you think? The context was the first that came to my mind. Firing an event: even better. The additional possibility to render it from the event listener: perfect! Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [5.1 SNAPSHOT]: ProgressiveDisplay component
Em Fri, 27 Feb 2009 12:24:19 -0300, Howard Lewis Ship escreveu: Maybe it needs a context parameter, and it could fire an event before rendering its body. Something like Form? Awesome! It even could render the response from the event (if any) instead of its body. What do you think? I haven't tested it yet, but I think it would be nice if it worked like a Zone that is automatically updated on pages's Javascript DOM ready event. -- Thiago H. de Paula Figueiredo Independent Java consultant, developer, and instructor http://www.arsmachina.com.br/thiago - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [5.1 SNAPSHOT]: ProgressiveDisplay component
Maybe it needs a context parameter, and it could fire an event before rendering its body. It even could render the response from the event (if any) instead of its body. What do you think? On Fri, Feb 27, 2009 at 5:17 AM, Andy Pahne wrote: > > > Forget about my previous comment. I just had to persist some properties and > it worked. Even in loops... > > Thanks Howard, nice addition! > > Andy > > Andy Pahne schrieb: >> >> Very recently a new component arrived: ProgressiveDisplay. Very nice and >> very useful. >> >> See >> http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html >> >> >> I tried a very basic example, and it works. Still, I don't know how to do >> anything really useful with it. >> >> >> My real world example: >> >> > initial="block:checkingAvailability" >> class="progressiveDisplay"> >> >> ${hotel.id} >> >> Availability of ${hotel.name} is checked >> >> >> >> >> >> The initial block is displayed correctly, but the progressive display >> fails, because "property hotel is null within property expression hotel.id". >> >> >> What do I have to do in order to pass some kind of context? >> >> >> Thanks, >> Andy >> > > > - > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org > For additional commands, e-mail: users-h...@tapestry.apache.org > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
Re: [5.1 SNAPSHOT]: ProgressiveDisplay component
Forget about my previous comment. I just had to persist some properties and it worked. Even in loops... Thanks Howard, nice addition! Andy Andy Pahne schrieb: Very recently a new component arrived: ProgressiveDisplay. Very nice and very useful. See http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html I tried a very basic example, and it works. Still, I don't know how to do anything really useful with it. My real world example: ${hotel.id} Availability of ${hotel.name} is checked The initial block is displayed correctly, but the progressive display fails, because "property hotel is null within property expression hotel.id". What do I have to do in order to pass some kind of context? Thanks, Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org
[5.1 SNAPSHOT]: ProgressiveDisplay component
Very recently a new component arrived: ProgressiveDisplay. Very nice and very useful. See http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html I tried a very basic example, and it works. Still, I don't know how to do anything really useful with it. My real world example: ${hotel.id} Availability of ${hotel.name} is checked The initial block is displayed correctly, but the progressive display fails, because "property hotel is null within property expression hotel.id". What do I have to do in order to pass some kind of context? Thanks, Andy - To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org