should it work with

<jsp:useBean id="myBean" .../>
...
<c:if test="${myBean.exists}">
...true-case
</c:if>
<c:if test="${!myBean.exists}">
...false-case
</c:if>

?

Volker

> -----Ursprüngliche Nachricht-----
> Von:  Kade Jeevan Kumar [SMTP:[EMAIL PROTECTED]
> Gesendet am:  Dienstag, 23. August 2005 09:29
> An:   user@struts.apache.org
> Betreff:      Problem with logic:present TAG
> 
> Hi All!
>  
> I am developing an application where i needs to populate a value which is of 
> boolean type.
>  
> A sample snippet of code giving below - 
> 
> <logic:present name="xyzform" property="exists">
> </logic:present>
>  
> Here, 'exists' is a boolean type.  my requirement is to chek if exists is 
> true display some message else display some different message.
>  
> I feel the problem lies here, according to Struts Bean Tag library we cann't 
> use boolean type with <logic:present>
>  
> Can any one suggest me the possible solution.
>  
> Thanks in Advance
>  
> Jeevan
>  
> 
>               
> ---------------------------------
>  Start your day with Yahoo! - make it your home page 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to