Re: help

Peter Gershkovich <[email protected]> Tue, 10 Jun 2003 14:08:12 -0400
Newsgroups gmane.comp.java.mvc.devel
Message-ID <[email protected]>
you could use standard html tag as here:
--------------------------------------
<input type="text" name="listName" maxlength="20" size="20" 
value="<logic:present name='listName'><bean:write 
name='listName'/></logic:present>" title="List Name">
---------------------------------

Peyathevar, Santhi {PBG} wrote:
> Is there a way to display  the input field as empty?
>  
>  < html:text  name=" valObj " property=" price " >
>  
>  Net Price 
> 
>   
> I have a double "price" field in my value object.
> JSP uses the value object, defined as a bean in the JSP page.
>  
> i do not want the value to be displayed, if it is zero.
> If i use logic:equal, the field itself is not displayed.
>  
> 1.we could have a parallel String field in my Value Obj - just for display
> purpose.
> 2.we  could write scriplets
>  
> Is there any other way?
> Santhi
> _______________________________________________
> MVC-Programmers mailing list
> [email protected]
> http://www.basebeans.net:8080/mailman/listinfo/mvc-programmers
>