Hi Dushyant,

i don`t know if its necessary - put did you set the commandLink to
partialsubmit="true" ?


@see
http://matthiaswessendorf.wordpress.com/2008/02/16/using-dojo-and-apache-trinidad/

elmar

Am 02.07.2008 um 08:41 schrieb dushyant agarwal:

Hi,
I created a JSF Page with a tr:commandButton in it. Inside its action method I wrote the following code:-
public String action(){
ExtendedRenderKitService service= Service .getRenderKitService (FacesContext.getCurrentInsatnce(),ExtendedRenderKitService.class );

service.addScript(FacesContext.getCurrentInsatnce(),"alert( ' hello Trinidad ' );");

}

This was supposed to open a Windows alert box with" hello trinidad " written on clicking the command Button.

But Nothing happens on doing so!!! What am I doing wrong??? PL. help!!!!!

Thanks,
Dushyant

Did you know? You can CHAT without downloading messenger. Click here

Reply via email to