jsp - On clicking search button display update button and hide save button -


<s:if test='%{cust_id!=""}'> <s:submit cssclass="pagebutton" action="custmer_ entry" theme="simple" value="update" on click="validate"/> 

on loading page,i want hide update button.on clicking search button display update button , hide save button.

sorry wrong.
when check

    <s:if test='%{cust_id!=""}'> 

you need check if null like

    <s:if test='%{cust_id!="" || cust_id!=null}'> 

please check way


Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -