Hi,
    I am trying to use logic tags to find if the value is present in my formbean attribute,
depending on if value is present or not i have to take some action
please check attached code for details.
 
                 <logic:empty name="wigadminwizardform" property="sTransactionType">
                        <html:text property="sTransactionType" size="25" maxlength="25"/>
                    </logic:empty>
                    <logic:notEmpty name="wigadminwizardform" property="sTransactionType">
                         <bean:write name="wigadminwizardform" property="sTransactionType"/>
                    </logic:notEmpty>
 
wigadminwizardform is my formbean with session scope. above the code i have put aline
 
<jsp:useBean id="wigadminwizardform" scope="session" class="wigadmin.struts.forms.WIGAdminWizardForm"/>
 
so my page has a view for the bean.
 
what is happening in, even if sTransationType is populated i am getting text box.
which should appear on page only if sTransactionType is empty.
 
what can be the problem
 
 
 
Regards
Chetan
_______________________________
|                                                             
|     The trouble with being punctual
|      is that nobody's there to appreciate it.
|    
|    
|_______________________________

 

Reply via email to