cancel
Showing results for 
Search instead for 
Did you mean: 

Search View disabled in FlightList App

Former Member
0 Kudos

Hi All,

I have developed the FlightList Application.

However, the Search View (containing Departure City, Arrival City, 2 text boxs and Search button) is disabled.

Let me know how should I resolve this.

Points assured.

Regards

Nikhil Bansal

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Check with the node cardinality prorty of those fields in context and those are binded to UI elemets or not check once again that is only the problem.

Thanks,

Lohi.

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Nikhil,

please make sure that you have done the data bnding between your From City, To City to the appropriate context attirbute. The value property of these two input fields should be mapped to the Destination_From.City and Destination_To.City attributes under the view context node.

Also please check whether you have made the following codes in wdDoInit method of your custom controller:

Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
input.setDestination_From(new Bapisfldst());
input.setDestination_To(new Bapisfldst());

You should execute this code either in views wdDoInit or comp / cust controllers wdDoInit method to get these fields enabled for data entering.

Hope it helps...

Regards,

Shubho

sid_sunny
Contributor
0 Kudos

Hi Nikhil,

It can only be because you have not bind it to any context attribute or the cardianality of the value node.

Regards

sid