Skip to Content
0
Nov 29, 2006 at 05:15 AM

Blank space problem with drop down by index,

23 Views

Hi SDN,

I am using a bapi to get a list of values from a table.

I binded the model to the custom controller.

The view controler model node is binded to the custom controller.

The model node is F4_entry type.

and the model attributes are val,txt.

In the view I am using drop down by index to display the list.

If I am having 5 values/rows, I am getting 5valued rows and one blank.

My problem is, when the user selects a value from dropdown I need to call a event and process the selected value. but when I select the blank space, it gives an null pointer exception.

In fact I am checking the selected value not for null before processing, but still the problem arises.

Please help me out in this.

Thanks in advance,

Regards,

Sai krishna.