If using partial page rendering You can send some javascript from the server, using the ExtendedRenderKitService's addScript() method.
Walter Mourão http://waltermourao.com.br http://arcadian.com.br http://oriens.com.br On Tue, May 25, 2010 at 3:05 PM, Vinod Krishnan <vin.si...@gmail.com> wrote: > you can use FacesMessages to show popup.. > > Thanks, > Vinod > > http://vtkrishn.wordpress.com/ > > > On Tue, May 25, 2010 at 11:09 PM, Jozef Dropco <jozef.dro...@gmail.com > >wrote: > > > Hi all, > > > > <tr:commandButton actionListener="#{discountsBean.saveChanges}" > > partialSubmit="true" text="#{msg.save}"/> > > > > and I want: If method saveChanges returns error from business logic, show > > javascript alert on page > > > > Is it possible to do and how? > > Thanks > > Jozef > > >