How to handle Blank Dropdowns

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to handle Blank Dropdowns

BJ Freeman
https://demo.hotwaxmedia.com/partymgr/control/EditCommunicationEvent
the Reason Enum Id  drop down has not data, and it is visible.
I believe if a drop down has not data, it should not be displayed.
The other is that a log should show what was accessed and that no data
was found.

would this be an bug or a issue?

Reply | Threaded
Open this post in threaded view
|

Re: How to handle Blank Dropdowns

Adrian Crum
It looks to me like there is no seed data to populate the dropdown.

-Adrian

BJ Freeman wrote:

> https://demo.hotwaxmedia.com/partymgr/control/EditCommunicationEvent
> the Reason Enum Id  drop down has not data, and it is visible.
> I believe if a drop down has not data, it should not be displayed.
> The other is that a log should show what was accessed and that no data
> was found.
>
> would this be an bug or a issue?
>
>

Reply | Threaded
Open this post in threaded view
|

Re: How to handle Blank Dropdowns

xpingxu
freeman, are you using the ofbiz for development?

On Jan 17, 2008 8:05 AM, Adrian Crum <[hidden email]> wrote:

> It looks to me like there is no seed data to populate the dropdown.
>
> -Adrian
>
> BJ Freeman wrote:
>
> > https://demo.hotwaxmedia.com/partymgr/control/EditCommunicationEvent
> > the Reason Enum Id  drop down has not data, and it is visible.
> > I believe if a drop down has not data, it should not be displayed.
> > The other is that a log should show what was accessed and that no data
> > was found.
> >
> > would this be an bug or a issue?
> >
> >
>
>
Reply | Threaded
Open this post in threaded view
|

Re: How to handle Blank Dropdowns

Bilgin Ibryam
In reply to this post by BJ Freeman
BJ,

> I believe if a drop down has not data, it should not be displayed.

I think this could be a form widget improvement issue.

Bilgin

Reply | Threaded
Open this post in threaded view
|

Re: How to handle Blank Dropdowns

BJ Freeman
In reply to this post by xpingxu
xpingxu:
the link I used is the trunk version of ofbiz.
it is updated nightly.
I always check against the demo to verify my findngs.
Adrian:
it may be, but I have other Dropdowns that act the same way.
Like Y/N and all I see is
<select name="reasonEnumId" size="1"><option
value="">&nbsp;</option></select></td>
so I am not addressing if the data should be there or not, but that when
the data is not there, the dropdown should be invisible.


xpingxu sent the following on 1/16/2008 4:25 PM:

> freeman, are you using the ofbiz for development?
>
> On Jan 17, 2008 8:05 AM, Adrian Crum <[hidden email]> wrote:
>
>> It looks to me like there is no seed data to populate the dropdown.
>>
>> -Adrian
>>
>> BJ Freeman wrote:
>>
>>> https://demo.hotwaxmedia.com/partymgr/control/EditCommunicationEvent
>>> the Reason Enum Id  drop down has not data, and it is visible.
>>> I believe if a drop down has not data, it should not be displayed.
>>> The other is that a log should show what was accessed and that no data
>>> was found.
>>>
>>> would this be an bug or a issue?
>>>
>>>
>>
>