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

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -