Hi,

On Wed, Feb 13, 2013 at 3:52 PM, Oscar Besga Arcauz <obe...@isdefe.es>wrote:

> Yes, this works ok !
>
> > why do you need to fire a custom event?
> I've four main panels in my app, in order to communicate each other
> withour listeners
>
> >Can't you just use AJAX event triggered by ART?
> ART ?
> Maybe ApplicationRuntime
>
>
 ART = AjaxRequestTarget.


> Ok, that's what I want to use, the AJAX event, but I want to have shared
> data in the request within the components
>
>
1- on component A

onClick(ART ...) {
  re.setMatadata()
}

2 componentB

public void onEvent(IEvent<?> event) {
if(event.getPayload() instanceof AjaxRequestTarget) {
RequestCycle.get().getMetaData(key);
}
}
-- 
Regards - Ernesto Reinaldo Barreiro
Antilia Soft
http://antiliasoft.com/ <http://antiliasoft.com/antilia>

Reply via email to