[Seaside] Request dialog confirmation before callback

dtrussardi at tiscali.it dtrussardi at tiscali.it
Wed Apr 13 10:49:34 UTC 2016


	i have the following code:
	html anchor 

		onClick: ( html jQuery ajax	callback: [ masterView increaseVoce:  aVoceCompilata ]);

		onClick: (self  updateRow: anIndexRow with: aVoceCompilata on: html nominative: aNominative);

		with: [ html image
				url:  DTRFileLibrary / #greenupGif ;
				altText: 'Incrementa';

	Now i need ( in some case ) to to display  a confirm dialog to the user
	and  perform the callback block  only if the user answer OK.

	I open the dialog with: 

		html jQuery ajax script:[ :script |  script confirm: 'It's right ?'];

	but i don't understand how i can intercept the answer.

	Thanks for considerations,


More information about the seaside mailing list