<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Select-options in flex in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392380#M1545596</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geert-Jan,&lt;/P&gt;&lt;P&gt;There is no such equally matched control component in Flex to replace as is SELECT-OPTION.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;Then passing parameters to your query according to Operator selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;switch(Operator)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;    case 'BT':&lt;/P&gt;&lt;P&gt;        // use where clause as between Low and high&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;    case 'EQ':&lt;/P&gt;&lt;P&gt;        // use where clause as equals Low only&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;    default:&lt;/P&gt;&lt;P&gt;        Alert.show("Error in input");&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easy to implement such logic.&lt;/P&gt;&lt;P&gt;Hope this will help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Oct 2010 09:57:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-10-25T09:57:52Z</dc:date>
    <item>
      <title>Select-options in flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392379#M1545595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;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?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Geert-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 08:53:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392379#M1545595</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T08:53:19Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options in flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392380#M1545596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Geert-Jan,&lt;/P&gt;&lt;P&gt;There is no such equally matched control component in Flex to replace as is SELECT-OPTION.&lt;/P&gt;&lt;P&gt;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).&lt;/P&gt;&lt;P&gt;Then passing parameters to your query according to Operator selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;switch(Operator)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;    case 'BT':&lt;/P&gt;&lt;P&gt;        // use where clause as between Low and high&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;    case 'EQ':&lt;/P&gt;&lt;P&gt;        // use where clause as equals Low only&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;    default:&lt;/P&gt;&lt;P&gt;        Alert.show("Error in input");&lt;/P&gt;&lt;P&gt;        break;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's easy to implement such logic.&lt;/P&gt;&lt;P&gt;Hope this will help..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vivek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 09:57:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392380#M1545596</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-25T09:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Select-options in flex</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392381#M1545597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Vivek, this helped alot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Geert-Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Oct 2010 07:30:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/select-options-in-flex/m-p/7392381#M1545597</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-10-26T07:30:04Z</dc:date>
    </item>
  </channel>
</rss>

