tag:blogger.com,1999:blog-785059744103848185.post3269243795806975718..comments2023-07-03T16:55:30.726+02:00Comments on jan blog: Grails Conditional Tags as Method Calls Trapjanhttp://www.blogger.com/profile/09450549833036134264noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-785059744103848185.post-51349011956339215192009-02-05T13:47:00.000+01:002009-02-05T13:47:00.000+01:00A very useful post + comments.A very useful post + comments.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-3149248902878150182008-10-23T13:54:00.000+02:002008-10-23T13:54:00.000+02:00Thanks for an advice.It just didn't come to my min...Thanks for an advice.<BR/><BR/>It just didn't come to my mind.janhttps://www.blogger.com/profile/09450549833036134264noreply@blogger.comtag:blogger.com,1999:blog-785059744103848185.post-48575280638788344052008-10-23T13:51:00.000+02:002008-10-23T13:51:00.000+02:00Why can't you just do:g.userHasGoldMembership() { ...Why can't you just do:<BR/><BR/>g.userHasGoldMembership() {<BR/> price = price - discount<BR/>}<BR/><BR/>Since the body will only be evaluated if the condition in the tag evaluates to trueAnonymousnoreply@blogger.com