tag:blogger.com,1999:blog-5874979429188093780.post3157531904989310170..comments2024-03-18T06:46:54.352+01:00Comments on Andrej Baranovskij Blog: How To Disable Action Conditionally from Action ListenerAndrej Baranovskijhttp://www.blogger.com/profile/04468230464412457426noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-5874979429188093780.post-7594791974325399952013-04-19T08:38:29.815+02:002013-04-19T08:38:29.815+02:00Hi Andrejus,
Do you know any method to cancel nav...Hi Andrejus,<br /><br />Do you know any method to cancel navigation when the action is in execution already? I would like to let the model being updated, test some condition, and cancel navigation if it's meet.<br /><br />Thanks!Yohttps://www.blogger.com/profile/11522710371473979201noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-13151460046395888722012-11-26T12:33:38.261+01:002012-11-26T12:33:38.261+01:00I'm glad it was helpful :)I'm glad it was helpful :)Andrej Baranovskijhttps://www.blogger.com/profile/04468230464412457426noreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-25515279296817200152012-11-26T12:32:33.376+01:002012-11-26T12:32:33.376+01:00Thanks Andrejus. Previously I used to do this in a...Thanks Andrejus. Previously I used to do this in a little lengthy way. This is short & smart way.Tariquenoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-82212194097305453562012-10-19T12:45:08.700+02:002012-10-19T12:45:08.700+02:00Great post Andrejus,
I'm trying to use it to ...Great post Andrejus,<br /><br />I'm trying to use it to change the action from the bean (in case that action has to had not null value). All runs OK except the line:<br /><br />link:setActionExpression(this.getMethodExpression("pprnav"));<br /><br />this does reference to processAction class and it has not getMethodExpression.<br /><br />Then I've had to create a function using inside CreateMethodExpression method.<br /><br />I would like how to do as you with only one line. <br /><br />Thank you very much !!Jlopeznoreply@blogger.comtag:blogger.com,1999:blog-5874979429188093780.post-19794970493299357892012-04-12T12:51:28.222+02:002012-04-12T12:51:28.222+02:00Great post, just what I was looking for! Thanks.Great post, just what I was looking for! Thanks.Henrynoreply@blogger.com