2010 Oct 25 9:53 AM
I'm having a problem, I made a web dynpro application with select-options (using component reuse). But now I need to change the whole lay-out to a flex application. Is there a way to get the select-options in flex?
Regards,
Geert-Jan
2010 Oct 25 10:57 AM
Hi Geert-Jan,
There is no such equally matched control component in Flex to replace as is SELECT-OPTION.
But you can give user ComboBox/TextInput controls to specify Operator (e.g. BT,EQ,GT etc as combobox entries), Low and High Values (simple text input fields or Combobox as per requirement).
Then passing parameters to your query according to Operator selected.
switch(Operator)
{
case 'BT':
// use where clause as between Low and high
break;
case 'EQ':
// use where clause as equals Low only
break;
default:
Alert.show("Error in input");
break;
}
It's easy to implement such logic.
Hope this will help..
Regards,
Vivek
I'm having a problem, I made a web dynpro application with select-options (using component reuse). But now I need to change the whole lay-out to a flex application. Is there a way to get the select-options in flex?
Regards,
Geert-Jan
2010 Oct 25 10:57 AM
Hi Geert-Jan,
There is no such equally matched control component in Flex to replace as is SELECT-OPTION.
But you can give user ComboBox/TextInput controls to specify Operator (e.g. BT,EQ,GT etc as combobox entries), Low and High Values (simple text input fields or Combobox as per requirement).
Then passing parameters to your query according to Operator selected.
switch(Operator)
{
case 'BT':
// use where clause as between Low and high
break;
case 'EQ':
// use where clause as equals Low only
break;
default:
Alert.show("Error in input");
break;
}
It's easy to implement such logic.
Hope this will help..
Regards,
Vivek
2010 Oct 26 8:30 AM
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |