You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Vikas Mayur <vi...@hotwaxmedia.com> on 2008/12/15 11:21:06 UTC
Adding Y/N and Yes/No values to Enumeration entity
Hi Dev,
There are so many drop down in the forms that show a predefined value
of either Y/N or Yes/No.
I think these are good candidates to go in Enumeration entity and
instead of using <option> tag of <drop-down> to populate predefined
value, Enumeration entity can be used.
Doing this would also require to add internationalization to the
description field of Enumeration entity but that can be copied from
existing label files.
Though this does not results in typing less code and current
implementation is also good and verbose.
WDYT ?
Thanks,
Vikas
Re: Adding Y/N and Yes/No values to Enumeration entity
Posted by Sven Wesley <sv...@gmail.com>.
Sounds good
2009/2/26 Bilgin Ibryam <bi...@iguanait.com>
> + 1
>
> Bilgin
>
>
Re: Adding Y/N and Yes/No values to Enumeration entity
Posted by Bilgin Ibryam <bi...@iguanait.com>.
+ 1
Bilgin
Re: Adding Y/N and Yes/No values to Enumeration entity
Posted by Ashish Vijaywargiya <vi...@gmail.com>.
+1
On Mon, Dec 15, 2008 at 3:51 PM, Vikas Mayur
<vi...@hotwaxmedia.com> wrote:
> Hi Dev,
>
> There are so many drop down in the forms that show a predefined value of
> either Y/N or Yes/No.
> I think these are good candidates to go in Enumeration entity and instead of
> using <option> tag of <drop-down> to populate predefined value, Enumeration
> entity can be used.
> Doing this would also require to add internationalization to the description
> field of Enumeration entity but that can be copied from existing label
> files.
>
> Though this does not results in typing less code and current implementation
> is also good and verbose.
>
>
> WDYT ?
>
>
> Thanks,
> Vikas