incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bertrand, Shawn R" <shawn.bertr...@tycoelectronics.com>
Subject RE: returnListener not called from dialog
Date Thu, 05 Apr 2007 14:44:47 GMT
I am sure all buttons involved (dialog-originating button and ok/cancel
buttons in the dialog) were rendered and enabled.

Shawn


-----Original Message-----
From: Jeroen Benckhuijsen [mailto:jeroen.benckhuijsen@atosorigin.com] 
Sent: Thursday, April 05, 2007 1:55 AM
To: adffaces-user@incubator.apache.org
Subject: Re: returnListener not called from dialog

Hi Shawn,

Don't know your exact situation, but I believe that the button should be
rendered and enabled (as default,that it when the originating page is
rebuild when ending the dialog) for the returnlistener to work. 

Not 100% sure of this though, perhaps someone can confirm this?

Regards,

Jeroen

On Wed, 2007-04-04 at 15:28 -0700, Adam Winer wrote:
> This absolutely should work.  Did you ever get it working?
> (I've been away from e-mail for the last week and a bit).
> 
> -- Adam
> 
> 
> On 3/23/07, Bertrand, Shawn R <shawn.bertrand@tycoelectronics.com>
wrote:
> > Hi all,
> >
> >
> >
> > I have a commandButton which has a returnListener defined, and the
> > button uses "dialog:" notation (and its consequent navigation rule)
to
> > display the popup.  The popup has 2 buttons (ok and cancel), both of
> > which have a declared returnActionListener.  I was expecting the
> > returnListener on the originating button to be called with the value
of
> > the returnActionListener tag, but I don't see that happening.  I've
also
> > tried using an actionListener on the originating button and calling
> > launchDialog, but also failed to present a call into the
returnListener.
> >
> >
> >
> > The documentation of the returnActionListener is pretty clear, but I
> > must be missing something.  Any thoughts?
> >
> >
> >
> > Thanks in advance,
> >
> >
> >
> > Shawn Bertrand
> >
> > Tyco Electronics
> >
> >
> >
> >
> 

Mime
View raw message