1 使用<如果>标签, <g:if test="${showButton}"> <input type="submit" value="Submit" /> </g:if> 来源 2011-12-11 18:25:42 aldrin +0 是什么意思在这里用'测试= “$ {} showButton”'? – +0 这是布尔表达式。 showButton只是其他地方定义的变量 – aldrin
是什么意思在这里用'测试= “$ {} showButton”'? –
这是布尔表达式。 showButton只是其他地方定义的变量 – aldrin