you can use FacesMessages to show popup..

Thanks,
Vinod

http://vtkrishn.wordpress.com/


On Tue, May 25, 2010 at 11:09 PM, Jozef Dropco <[email protected]>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
>

Reply via email to