Hi I was wondering what the correct way would be to create an EventListener that returns a confirm when a button is clicked.
I have the following that doesn't work: @EventListener(elements="deleteButton", events="onclick") public String testThis(){ return "return confirm('"+ appMess.getString("delete.case") +"')"; } @Component(id="deleteButton", type="DirectLink", bindings={ "parameters=ognl:currCase", "renderer=bean:buttonRenderer", "listener=listener:deleteCaseListener", }) public abstract DirectLink getDeleteButton(); What is the correct way to go about doing something like this? Thanks -- ~chris --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]