[OFBiz] Users - widget forms

Al Byers byersa at automationgroups.com
Tue Mar 1 00:26:14 EST 2005


Chris,

There is no nifty form widget construct to do what you want. You could 
have two nearly identical entries as below, but use the "use-when" 
attribute to turn one off and the other on.  Also, the display value 
could be set by a script ahead of time.

-Al

chris wrote:

> Hi,
>
>  
>
> I am playing around with the widgets and was trying to do something 
> like this:
>
>  
>
> <field name="abc" ><display description="${0?'yes':'No'}"/></field>
>
>  
>
> Basically the abc field is 0 or 1 which I want displayed as yes or no.
>
> Does anyone know how I could do this within a form widget ?
>
>  
>
> Thanks,
>
> Chris.
>
>  
>
>  
>
>------------------------------------------------------------------------
>
> 
>_______________________________________________
>Users mailing list
>Users at lists.ofbiz.org
>http://lists.ofbiz.org/mailman/listinfo/users
>


-- 
Al Byers
Automation Groups Inc
801.400.5111
http://www.automationgroups.com
byersa at automationgroups.com

We're "Open for Business" (http://www.ofbiz.org) 
 - the leader in Java-based Web services development tools



More information about the Users mailing list