Jsp 单击“搜索”按钮时,显示“更新”按钮和“隐藏保存”按钮
在加载页面上,我想隐藏更新按钮。单击搜索按钮时,显示更新按钮和隐藏保存按钮。对不起,我错了。Jsp 单击“搜索”按钮时,显示“更新”按钮和“隐藏保存”按钮,jsp,struts2,Jsp,Struts2,在加载页面上,我想隐藏更新按钮。单击搜索按钮时,显示更新按钮和隐藏保存按钮。对不起,我错了。 当你检查的时候 <s:if test='%{cust_id!=""}'> <s:submit cssclass="pagebutton" action="Custmer_ entry" theme="simple" value="update" on click="validate"/> 您需要检查它是否为空,就像 <s:if test='%{cust_id!
当你检查的时候
<s:if test='%{cust_id!=""}'>
<s:submit cssclass="pagebutton" action="Custmer_ entry" theme="simple" value="update" on click="validate"/>
您需要检查它是否为空,就像
<s:if test='%{cust_id!=""}'>
请这样检查第一个按钮在哪里?
<s:if test='%{cust_id!="" || cust_id!=null}'>