0
votes

How to disable or just hide button conditionaly depending of some controller logic?

1

1 Answers

1
votes

Use the <if> tags,

<g:if test="${showButton}">
     <input type="submit" value="Submit" />
</g:if>