Thanks all,
i got it working now.
Jozef

On 25.5.2010 23:29, Walter Mourão wrote:
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<[email protected]>  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<[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