You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by springinaction <ma...@porsche.co.at> on 2010/06/09 13:04:10 UTC

MultiZoneUpdate in page triggered by event in component

I have the following scenario.

I have a component on a page, that should be able to update zones on the
page class.

SomePage
|
|
--- zoneA
|
|
--- zone B
   |
   --- someComponent
|
|

On an action in someComponent (link or form submit) zoneA and zoneB need to
get updated without re-loading the entire page. Is there a way to do it?
-- 
View this message in context: http://old.nabble.com/MultiZoneUpdate-in-page-triggered-by-event-in-component-tp28828781p28828781.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: MultiZoneUpdate in page triggered by event in component

Posted by Christophe Cordenier <ch...@gmail.com>.
Hi

If you do not want to break the component design of 'someComponent', you
should get a MultiZoneUpdate object from its containing page using an event.
see triggerEvent on ComponentResources.

This way, your component will be reusable in different places.

2010/6/9 springinaction <ma...@porsche.co.at>

>
> I have the following scenario.
>
> I have a component on a page, that should be able to update zones on the
> page class.
>
> SomePage
> |
> |
> --- zoneA
> |
> |
> --- zone B
>   |
>   --- someComponent
> |
> |
>
> On an action in someComponent (link or form submit) zoneA and zoneB need to
> get updated without re-loading the entire page. Is there a way to do it?
> --
> View this message in context:
> http://old.nabble.com/MultiZoneUpdate-in-page-triggered-by-event-in-component-tp28828781p28828781.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Re: MultiZoneUpdate in page triggered by event in component

Posted by Geoff Callender <ge...@gmail.com>.
The link http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud
has been replaced by:

	http://jumpstart.doublenegative.com.au/jumpstart/examples/ajax/componentscrud/persons

On 10/06/2010, at 12:17 AM, Christophe Cordenier wrote:

> Hi
> 
> 2010/6/9 Geoff Callender <ge...@gmail.com>
> 
>> Have a look at the following example. It demonstrates exactly that
>> situation.
>> 
>> 
>> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud
>> 
> 
> Nice and complete demonstration page !!
> 
> 
>> 
>> HTH,
>> 
>> Geoff
>> 
>> On 09/06/2010, at 9:04 PM, springinaction wrote:
>> 
>>> 
>>> I have the following scenario.
>>> 
>>> I have a component on a page, that should be able to update zones on the
>>> page class.
>>> 
>>> SomePage
>>> |
>>> |
>>> --- zoneA
>>> |
>>> |
>>> --- zone B
>>>  |
>>>  --- someComponent
>>> |
>>> |
>>> 
>>> On an action in someComponent (link or form submit) zoneA and zoneB need
>> to
>>> get updated without re-loading the entire page. Is there a way to do it?
>>> --
>>> View this message in context:
>> http://old.nabble.com/MultiZoneUpdate-in-page-triggered-by-event-in-component-tp28828781p28828781.html
>>> Sent from the Tapestry - User mailing list archive at Nabble.com.
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>>> For additional commands, e-mail: users-help@tapestry.apache.org
>>> 
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
>> For additional commands, e-mail: users-help@tapestry.apache.org
>> 
>> 
> 
> 
> -- 
> Regards,
> Christophe Cordenier.
> 
> Developer of wooki @wookicentral.com


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: MultiZoneUpdate in page triggered by event in component

Posted by Christophe Cordenier <ch...@gmail.com>.
Hi

2010/6/9 Geoff Callender <ge...@gmail.com>

> Have a look at the following example. It demonstrates exactly that
> situation.
>
>
> http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud
>

Nice and complete demonstration page !!


>
> HTH,
>
> Geoff
>
> On 09/06/2010, at 9:04 PM, springinaction wrote:
>
> >
> > I have the following scenario.
> >
> > I have a component on a page, that should be able to update zones on the
> > page class.
> >
> > SomePage
> > |
> > |
> > --- zoneA
> > |
> > |
> > --- zone B
> >   |
> >   --- someComponent
> > |
> > |
> >
> > On an action in someComponent (link or form submit) zoneA and zoneB need
> to
> > get updated without re-loading the entire page. Is there a way to do it?
> > --
> > View this message in context:
> http://old.nabble.com/MultiZoneUpdate-in-page-triggered-by-event-in-component-tp28828781p28828781.html
> > Sent from the Tapestry - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > For additional commands, e-mail: users-help@tapestry.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>


-- 
Regards,
Christophe Cordenier.

Developer of wooki @wookicentral.com

Re: MultiZoneUpdate in page triggered by event in component

Posted by Geoff Callender <ge...@gmail.com>.
Have a look at the following example. It demonstrates exactly that situation.

	http://jumpstart.doublenegative.com.au/jumpstart/examples/ajaxcomponentscrud

HTH,

Geoff

On 09/06/2010, at 9:04 PM, springinaction wrote:

> 
> I have the following scenario.
> 
> I have a component on a page, that should be able to update zones on the
> page class.
> 
> SomePage
> |
> |
> --- zoneA
> |
> |
> --- zone B
>   |
>   --- someComponent
> |
> |
> 
> On an action in someComponent (link or form submit) zoneA and zoneB need to
> get updated without re-loading the entire page. Is there a way to do it?
> -- 
> View this message in context: http://old.nabble.com/MultiZoneUpdate-in-page-triggered-by-event-in-component-tp28828781p28828781.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org