option selected =  problem

Hi,
I have following code in my Jsp.
                         <tr>
               <td><B><I>FaultCode:</I></B></td>
               <td>
               <select name = "faultCoode" >
               <% for ( int t = 0; t < h.size(); t++){ %>
               <% System.out.println("Here it came as "+faultCode); %>
               <option Selected = "<%=faultCode%>" value = "<%=(((Vector)h.get(Integer.toString(t)))).get(3)%>" ><%=(((Vector)h.get(Integer.toString(t)))).get(3) %>
               <% } %>
               </select>
               </td>
               </tr>
          </tr>
The problem is even if
System.out.println("Here it came as "+faultCode); prints faultCode as 161 But "Selected" will always selects 199 in the options dropdown. Why is that? Selected should have selected 161 in that case. OR For that matter whatever the faultCode value is printed it should always apper in the dropdown. What is happening here? any idea?
Interestingly 199 is the faultCode appears in the last Vector that is stored in the Hashtable instance h. What modification should I do in my code??
thanks,
pp

You don't use selected in an option like that. Selected is just an attribute that marks that value as selected, so you only want 1 option in the list selected. You can use multiple selected options for multi-select lists, of course. But in a single-select list, it'll pick the last one that is "selected". Selected doesn't take a value, generally, it's just a flag... What you want is this:
<select name="faultCode">
<%
for( int t = 0; t < h.size(); t++){
   Object value = (((Vector)h.get(Integer.toString(t)))).get(3);
%>
<option <%= faultCode.equals(value) ? "selected" : ""%> value="<%= value %>"><%= value %></option>
<% } %>
</select>which results in this, if faultCode is "ccc"..:
<select name="faultCode">
<option value="aaa">aaa</option>
<option selected value="bbb">bbb</option>
<option value="ccc">ccc</option>
<option value="ddd">ddd</option>
</select>

Similar Messages

  • Cfif select option value problem

    I have a form with a dropdown box asking users to select
    where they
    heard about my site. The completed form sent to me via email.
    The dropdown is optional so if they don't select it I would
    like nothing
    to be returned in the email.
    The first option reads "I heard about you from" - I've tried
    <option
    value> <option value=""> and even <cfselect>
    with various options but I
    can't get it to work.
    This is what I have for the email:
    <cfif
    isdefined("form.referral")><cfoutput>#form.senderFirst#
    heard
    about you from #form.referral#</cfoutput></cfif>
    This is what I have for the select options:
    <select name="referral">
    <option value="">I heard about you
    from...</option>
    <option value="Google">Google</option>
    <option value="Yahoo!">Yahoo!</option>
    <option value="Ask">Ask</option>
    <option value="MSN">MSN</option>
    <option value="a friend">A friend</option>
    <option value="somewhere else">Somewhere
    else</option>
    </select>

    Radio buttons and checkboxes are the only form elements that
    do not have a default value, so the others will always be defined.
    <cfif IsDefined ("form.senderPhone") AND
    Len(Trim(FORM.senderPhone)) GT 0>
    <p>Phone:
    <cfoutput>#form.senderPhone#</cfoutput></p>
    </cfif>
    <cfif IsDefined("form.senderMessage") AND
    Len(Trim(FORM.senderMessage)) GT 0>
    <p>Message:
    <cfoutput>#ParagraphFormat(form.senderMessage)#</cfoutput>
    </p>
    </cfif>
    Probably a more elegant way to do this but I can't think of
    it right now.
    <cfparam name="FORM.webSiteDesign" default="no">
    <cfparam name="FORM.graphicDesign" default="no">
    <cfparam name="FORM.logoDesign" default="no">
    <cfif FORM.webSiteDesign EQ "yes" OR FORM.graphicDesign EQ
    "yes" OR FORM.logoDesign EQ "yes">
    <p>
    Interested in:<br>
    <cfif FORM.webSiteDesign EQ "yes">
    webSiteDesign <br>
    </cfif>
    <cfif FORM.graphicDesign EQ "yes">
    graphicDesign<br>
    </cfif>
    <cfif FORM.logoDesign EQ "yes">
    logoDesign<br>
    </cfif>
    </p>
    </cfif>
    Ken Ford
    Adobe Community Expert
    Fordwebs, LLC
    http://www.fordwebs.com
    "ryansebiz" <[email protected]> wrote in
    message news:[email protected]...
    > dempster wrote:
    >> Why not use something like <option value="X">
    and then test this way:
    >>
    >> <cfif isdefined("form.referral") AND
    form.referral NEQ "X">
    >> <cfoutput>#form.senderFirst# heard about you
    from #form.referral#</cfoutput>
    >> </cfif>
    >
    > Thanks dempster that worked!
    >
    > Now I'd like to be able to do the same thing to a phone
    text box, a few
    > checkboxes and a textarea.
    >
    > None of the code below works - they all return messages
    (i.e. "Phone:"
    > "Interested in:" and "Message:") even if that field
    isn't filled out.
    > I've tried several different variables with no success.
    >
    > My questions are:
    >
    > 1. Phone - How can I write the cfif so the "Phone:"
    doesn't appear in
    > the email if a phone number isn't entered?
    >
    > 2. Checkboxes - The problem here isn't with the boxes
    themselves, but
    > with the "Interested in. Currently I have it set to
    "WebSiteDesign". The
    > obvious problem here occurs when they check another box,
    such as
    > "GraphicDesign". I've tried OR statements with no
    success. How can I
    > write a cfif for the exclusion of "Interested in" in the
    email if no
    > checkboxes are selected?
    >
    > 3. Textarea - What do I need to change in order for the
    email not to
    > display "Message:" if no message is entered?
    >
    > Here's the code:
    >
    > PHONE
    >
    > <!---Appears in the email--->
    >
    > <cfif IsDefined ("form.senderPhone")>
    > <p>Phone:
    <cfoutput>#form.senderPhone#</cfoutput></p>
    > </cfif>
    >
    > <!---Appears on the page--->
    >
    > <cfinput type="Text"
    > name="senderPhone"
    > message="Please enter your area code and phone number."
    > mask="999-999-9999"
    > validate="telephone"
    > validateat="onsubmit,onserver"
    > size="30"
    > maxlength="16">
    >
    >
    >
    >
    > CHECKBOXES
    >
    > <!---Appears in the email--->
    >
    > <cfif IsDefined("form.webSiteDesign")>
    > <p>Interested in:</p>
    > </cfif>
    >
    > <ol>
    > <cfif isdefined("form.webSiteDesign")>
    > <li>Web site design</li>
    > </cfif>
    > <cfif isdefined("form.graphicDesign")>
    > <li>Graphic design</li>
    > </cfif>
    > <cfif isdefined("form.logoDesign")>
    > <li>Logo design</li>
    > </cfif>
    > </ol>
    >
    >
    > <!---Appears on the page--->
    >
    > <p class="boxes">
    > <cfinput type="checkbox" name="webSiteDesign"
    value="yes">
    > Web site design</p>
    >
    > <p class="boxes">
    > <cfinput type="checkbox" name="graphicDesign"
    value="yes">
    > Graphic design</p>
    >
    > <p class="boxes">
    > <cfinput type="checkbox" name="logoDesign"
    value="yes">
    > Logo design</p>
    >
    >
    >
    >
    > TEXTAREA
    >
    > <!---Appears in the email--->
    >
    > <cfif IsDefined("form.senderMessage")>
    > <p>Message:
    >
    <cfoutput>#ParagraphFormat(form.senderMessage)#</cfoutput></p>
    > </cfif>
    >
    >
    > <!---Appears on the page--->
    >
    > <textarea name="senderMessage" cols="44" rows="6"
    wrap="virtual">
    > </textarea>

  • Select box problem (option selected)

    I have the following code:
    <td><p>Topic:</p>
    <%
    try
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    String sourceURL = "jdbc:odbc:my_Library";
    Connection databaseConnection = DriverManager.getConnection(sourceURL);
    Statement statement = databaseConnection.createStatement();
         String Topic;
         ResultSet bookDetails = statement.executeQuery("SELECT distinct Topic FROM tblAvailable_Items order by Topic");
         out.println("<select name = \"Topic" + "\">");
         out.println("<option value = \"" + "\"></option>");
                   while(bookDetails.next())
                        Topic = bookDetails.getString("Topic");
                        if(request.getParameter("Topic") == Topic)
                             out.println("<option selected value="+Topic+">"+Topic);
                        else
                             out.println("<option value="+Topic+">"+Topic);
         out.println("</select>");
         bookDetails.close();
         databaseConnection.close();     
    catch(ClassNotFoundException cnfe)
    out.println(cnfe);
    catch(SQLException sqle)
    out.println(sqle);
    %>
    </td>
    For some reason, the option selected version is never ativated, despite if(request.getParameter("Topic") == Topic) being true.
    Any ideas how to fix this problem?

    Try this code,
    <td><p>Topic:</p>
    <%
    try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         String sourceURL = "jdbc:odbc:my_Library";
         Connection databaseConnection = DriverManager.getConnection(sourceURL);
         Statement statement = databaseConnection.createStatement();
         String Topic="";
         ResultSet bookDetails = statement.executeQuery("SELECT distinct Topic FROM tblAvailable_Items order by Topic");
         String reqTopic=request.getParameter("Topic");
         out.print("<select name = 'Topic'>");
         out.print("<option value = ''></option>");
         while(bookDetails.next())
              Topic = bookDetails.getString("Topic");
              if(reqTopic.equals(Topic))
                   out.print("<option selected value='"+Topic+"'>"+Topic+"</option>");
              else
                   out.print("<option value='"+Topic+"'>"+Topic+"</option>");
         out.print("</select>");
         bookDetails.close();
         databaseConnection.close();
    catch(ClassNotFoundException cnfe)
         out.print(cnfe);
    catch(SQLException sqle)
         out.print(sqle);
    catch(Exception e)
         out.print(e);
    %>
    </td>
    Sudha

  • Why does Muse upload many pages when I only have Modified Files option selected?

    In Muse, when I use the "Upload to FTP Host" option (my preferred update method), Muse will load 37 pages (I have almost 70) even though I have made no changes whatsoever.
    I have read and implemented options suggested on this forum including this:
    1.Aishvarya Raj Rastogi, 
    Dec 16, 2013 4:24 PM   in reply to Ellen@McConaghy
    Report
    Hi Ellen,
    It looks like your muse_manifest.xml file is corrupt. Please login to your BC site's admin, go to Site Manager > File manager and delete the muse_manifest.xml file. Publish the site again from Muse and select to publish all the files. Next time when you will publish the modified files only, it will work.
    Cheers!
    Aish
    I deleted the muse_manifest.xml file and selected the Upload to FTP Host option selecting the option "All Files".  Afterward there was no change.
    This is what happens:
    I edit pages and select the Upload to FTP Host option.  I have "Only Modified Pages" selected.  I have made changes to three or four pages.  Muse uploads 37 pages.  I made no changes to a master page.  The update said it was successful.  I click OK. I go to my site and pages are loaded properly.
    The very next thing I do is try another update and it loads 37 pages, although I have made absolutely zero changes. Not to a master, not to any page. The last thing I clicked in Muse was OK when it said the update was successful.  I do it again after changing nothing and 37 pages load.  It is not loading every page.  Just 37 (sometimes less, sometimes more).
    I do not have any alerts showing on my assets panel that Muse might be confused by.
    My Muse file is 55.4 MB (sizable, but nowhere near what others are dealing with.)
    Can you help me?
    Bruce

    Okay, I emailed the link to my dropbox awhile back but continued to work on the problem on my own as I did not hear back.  Maybe you never saw the email, who knows? 
    Anyhow, I discovered that it was custom buttons that I had created in Photoshop, with layers.  They worked just fine in Muse in all four states, they worked just fine when published. They were added to my library but on every page that they were placed, that page loaded every time. I checked and rechecked the links.  I added them to the library for each page they were on. No dice. They still required that page be loaded every time
    It was definitely not worth the hassle so I deleted every one from my site and the site loads only modified pages perfectly now.
    Maybe some day I will dig deeper into why they did not work but not today.
    I hope that this helps someone.

  • Select Problem For 'Back Menus' - Zen V P

    Just got the Zen V Plus and tried to set the time/date. Followed the 'guide' and after the time/date screen pressed the 'back button'. Got the Set Alarm/Date/Time (etc) menu but when I selected an option (moved joystick down to desired option then pressed the joystick) the time/date display came up and I was NOT ABLE to set the date. Same thing occurred trying to set the date (tried it several times and it worked once .... then attempted again - several times (4) but it only worked once). Turns out I have the same problem with any option in ANY 'back' menu. Suggestion?
    Do I have a defecti've unit (can't be the 'operator' who is defecti've! haha)? Should I return it and try another?
    Actually not that interested in playing music .... it's more for playing .wma(DRM) book files.

    Latest ... updated my firmware (to ZENVPlus_PCFW_P4S_L2___0.exe) and it fixed the select problem for SET DATE/TIME etc however
    the SELECT procedure doesn't always work for 'back button' menus. Example: tried to set a bookmark... following procedure in 'guide', pressed 'back button' and held it, from 'NOW PLAYING' screen - works 2 out of 5 times. Most of the time, pressing and holding takes you back to the previous menu - not to the 'back' (or in this case the SET BOOKMARK) menu. Sounds like something for the next version of firmware ... the code doesn't always set an internal timer correctly (am a programmer of 30 years ... part of that time pgmmng firmware).

  • Search help multiple values selection problem

    Hello Friends,
    I am using FM f4_if_int_table_value_request FM to display multiple values on selection screen
    in AT-selection-screen on value request event.
    Multiple values are getting displayed perfectly .
    Then after that I am using DYNP_VALUES_UPDATE FM to return the values back to screen.
    But the problem is in the select-option field . It only picks the last value selected.
    I have a row:
    I EQ 'last value selected from F4 help screen''.
    Is there a way to update multiple rows in the select option selection screen field.
    Thanks.

    Hi Suhas,
    you may try the following:
    TABLES spfli.
    SELECT-OPTIONS: s_carrid FOR spfli-carrid.
    SELECTION-SCREEN: PUSHBUTTON /1(20) but1 USER-COMMAND carr.
    INITIALIZATION.
      but1 = 'Choose CARRID(s)'.
    AT SELECTION-SCREEN.
      CASE sy-ucomm.
        WHEN 'CARR'.
          TYPES: t_return_tab  TYPE ddshretval.
          TYPES: BEGIN OF ty_line,
            carrid   TYPE spfli-carrid,
            carrname TYPE scarr-carrname,
          END OF ty_line.
          DATA: it_list TYPE STANDARD TABLE OF ty_line,
                wa_return_tab TYPE t_return_tab,
                i_return_tab TYPE STANDARD TABLE OF t_return_tab,
                v_repid TYPE sy-repid,
                v_dynnr TYPE sy-dynnr.
          v_repid = sy-repid.
          v_dynnr = sy-dynnr.
          SELECT carrid carrname
          FROM scarr
          INTO TABLE it_list.
          IF sy-subrc = 0.
            CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
              EXPORTING
                retfield        = 'CARRID'
                dynpprog        = v_repid
                dynpnr          = v_dynnr
    *        dynprofield     = 'S_CARRID-LOW'
                value_org       = 'S'
                multiple_choice = 'X'
              TABLES
                value_tab       = it_list
                return_tab      = i_return_tab
              EXCEPTIONS
                parameter_error = 1
                no_values_found = 2
                OTHERS          = 3.
            IF sy-subrc = 0.
              s_carrid-sign = 'I'.
              s_carrid-option = 'EQ'.
              LOOP AT i_return_tab INTO wa_return_tab.
                s_carrid-low = wa_return_tab-fieldval.
                APPEND s_carrid.
              ENDLOOP.
              READ TABLE s_carrid INDEX 1.
            ENDIF.
          ENDIF.
      ENDCASE.
    What I have done is:
    - not linking the result of the F4 search to field S_CARRID-LOW
    - inserting this F4 search into event AT SELECTION SCREEN. This allows to see the select-options filled when its contents are actually populated.
    I hope this helps. Kind regards,
    Alvaro

  • Print selection problem

    when i select a page to be print from my pc the page select in

    Hello. I feel your pain and frustration with the print selection problem in safari, especially in Snow Leopard. I have spent hours trawling help pages and forums etc. BUT YEE HAA (sorry got a bit excited, but it really was hours) I found the answer. So here goes.
    Click on Safari
    Scroll down to services then slide to right
    Scroll down to services preferences and click
    Scroll down to the Text section
    If you Tick the Text box it will choose all options for you. Or if you don't want all options in the Text list, then untick Text box and tick options you do want.
    BUT for your print selection problem make sure you tick NEW TEXT EDIT WINDOW CONTAINING SELECTION.
    Then when you want to select something in a web page you want to print (including pictures etc) then highlight it, then Right click. And low and behold, in the list is NEW TEXT EDIT WINDOW CONTAINING SELECTION. Click that, Then press cmd+p and your printing.
    I really hope that helps with your problem
    I can now go to sleep.

  • Spry Validation Select Problems cs5

    Hi,
    Part of my website uses a drop down to select from a list of products {product_name} - which is part of my dataset ds_Products.
    Problem: The output is diplayed without a selection drop down and the web page dispalys "{product_name}" instead of the drop down in place of it when i look at the live view or even in the actual browser.
    Code pieces:
    <script type="text/javascript">
    <form name="form1" action="" method="post">
            Search products:
    <span spry:region="ds_Products" id="product_select">
    <select spry:repeatchildren="ds_Products" name="ProductSelect" onchange=”ds_Products.setCurrentRowNumber(this.selectedIndex);">
        <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}" value="{product_name}" selected="selected">{product_name}</option>
        <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}" value="{product_name}">{product_name}</option>
    </select>
    </span>
    </form>
    <!--
    var spryselect1 = new Spry.Widget.ValidationSelect("Product_select", {validateOn:["change", "blur"], invalidValue:"-1"});
    //-->
    How can I get my selection list/ drop down list to be represented from my dataset?
    Thanks.

    Hey folks,
    Surprisingly, I figured out that the code is working fine when I clicked "Live View".
    So the problem actually was my local host wasn't set up correctly.
    For those having the same problem on windows 7 & cs5, make sure that:
    iis service is running on ur machine
    the testing server is set up on dreamweaver - in my case it was a local connection anf not ftp. Remember to specify your site folder when you do this.
    you copy the site folder to (in my case) xampp/htdocs or whatever localhost service you are using.

  • Authorization Variables with Optional Selection Variables

    Has anyone used authorization variables in addition to optional selection variables?
    I'm getting funny results and trying to figure out why. 
    Here's the scenario:
    InfoObject zcompany has 5 values A - E
    UserX is authorized to see all 5 values in his user profile.
    In the query zcompany has two variables assigned to it. 1 is an optional multiple selection variable, and 2) is an authorization variable
    Here's the funny result:
    User X runs the query and selects company A from the optional selection criteria, he clicks execute and but the results returned are companies A - E.  ?????
    Is there a processing order here?  Are the authorizations being processed last and overwriting the selection criteria?  My users are annoyed with me because they feel like they have to pick everything twice.
    Any help anyone could provide would be much appreciated.
    thanks
    Smitty

    Hey Bhanu,
    thanks for the reply.
    I kinda tried that in the past and found out that it really annoyed my user community.
    I guess im looking for the best of both worlds here, because I like the fact that the authorization variable limits the optional selection values for the users that are only allowed to see one or two things, but for the super users this creates the issue described above because they're allowed to see everything.  But sometimes, the power users only want to see one or two values... and thus the problem above.
    I noticed in the query information the value for zcompany was "Complex Selection" is that the system's way of saying that it's confused?

  • Certificate selection problem in Safari

    Hi ,
    I have certifcates A,B,C,D for the same site , whenever i use the Mozilla it is asking which one to select , but somehow i dont know why Safari is asking the same option.
    It is forcing me to accept Certifcate A to that paricular site. How to solve this problem in safari.
    Regards
    Vikranth

    Hello. I feel your pain and frustration with the print selection problem in safari, especially in Snow Leopard. I have spent hours trawling help pages and forums etc. BUT YEE HAA (sorry got a bit excited, but it really was hours) I found the answer. So here goes.
    Click on Safari
    Scroll down to services then slide to right
    Scroll down to services preferences and click
    Scroll down to the Text section
    If you Tick the Text box it will choose all options for you. Or if you don't want all options in the Text list, then untick Text box and tick options you do want.
    BUT for your print selection problem make sure you tick NEW TEXT EDIT WINDOW CONTAINING SELECTION.
    Then when you want to select something in a web page you want to print (including pictures etc) then highlight it, then Right click. And low and behold, in the list is NEW TEXT EDIT WINDOW CONTAINING SELECTION. Click that, Then press cmd+p and your printing.
    I really hope that helps with your problem
    I can now go to sleep.

  • How do I get a drop down menu to auto default to option selected a value other than the default written in the javascript?

    I use web based software where I have to select from a drop down menu a particular option. However, I only ever use 1 option. Sometimes as much as 100 times a day. Is there anyway to get Firefox to auto select the same option every time? I don't have access to the source code so I cant change <option selected="selected" value="">.

    A possibility would be a Greasemonkey script to do this automatically or a JavaScript bookmarklet to do it manually.
    You would need to remove the selected="selected" from the currently selected option and set that attribute for the wanted option.
    You can test the bookmarklet here:
    *https://developer.mozilla.org/en/HTML/Element/select
    <pre><nowiki>javascript:(function(){var d=document,s=d.getElementsByTagName('SELECT')[0],o=s.getElementsByTagName('OPTION'),S='selected',v='value1',i;for(i=0;O=o[i];i++){if(O.value==v){O.setAttribute(S,S);O.selected=true}else{O.removeAttribute(S);O.selected=false;}}})();</nowiki></pre>
    If there are more 'selects' then you need to adjust the element number [0] and you also need to adjust the value of the wanted option.

  • Is it possible for Apple to add "key" to the view options selection?

    Is it possible for Apple to add "key" to the view options selection?

    DJ1970,  Unfortunately no.  iTunes does not have the key in the database.
    People who want to know the key of a song can use (unless they already have perfect pitch!) key detection software such as Mixmeister. 
    Once you know the key, iTunes does not even have a field to store it, although you could stick it into Comments or some other unused text field such as Grouping.  These fields are indeed viewable in iTunes.

  • Selection Problem with JTable

    Hello,
    i have a selection problem with JTable. I want to allow only single cell selection and additionally limit the selection to the first column.
    I preffered the style from MS Outlook Express where you can select the email accounts to edit.
    It is a table like this:
    Account name  |   Type  |   ...
    --------------|---------|---------------------
    Hotmail       |   POP3  |
    GMX           |   IMAP  |The selection should be only avaibable at 'Hotmail' or 'GMX' - not at 'POP3', 'IMAP' or as complete row selection.
    Please help me!
    Thanks.
    Warlock

    Maybe this will helpimport java.awt.*;
    import javax.swing.*;
    public class Test3 extends JFrame {
      public Test3() {
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        Container content = getContentPane();
        String[] head = {"One", "Two"};
        String[][] data = {{"R1-C1", "R1-C2"}, {"R2-C1", "R2-C2"}};
        JTable jt = new JTable(data, head);
        jt.getColumnModel().setSelectionModel(new MyTableSelectionModel());
        content.add(new JScrollPane(jt), BorderLayout.CENTER);
        jt.setCellSelectionEnabled(true);
        jt.setRowSelectionAllowed(false);
        jt.setColumnSelectionAllowed(false);
        setSize(300, 300);
        setVisible(true);
      public static void main(String[] arghs) { new Test3(); }
    class MyTableSelectionModel extends DefaultListSelectionModel {
      public void setSelectionInterval(int index0, int index1) {
        super.setSelectionInterval(0, 0);
    }

  • How can I set a specific value for a field, according to the option selected in a previous drop-down menu?

    Eg.: I have a drop down menu with the following options: "1,2,3,4,5". What I want to do is the followin: If the option selected is "1" the field "Color" must be filled with "Green", if "2" the field color must be filled with "Red", etc

    You can use something like this as the custom calculation script of the color field:
    var v = this.getField("Dropdown1").valueAsString;
    if (v=="1") event.value = "Green";
    else if (v=="2") event.value = "Red";
    // etc.
    else event.value = "";

  • How to handle multiple option selected in JSP?

    Hi ,
    Imagine in a jsp page we have 7 check boxes with 7 different option.
    When user selects each chk box data should be fetched from respective table.
    Scenario:
    User can select 1 or more option in jsp page,in osb how to query multiple tables dynamically for the user selected options without using if else in message flow/switch in XQuery as no of combinations will be more .
    Can any of you guide us on this?
    Edited by: Anitha R on Feb 21, 2011 6:21 AM

    Hi Anuj -
    Thanks for the response.
    I understand your point,but thing is-
    For 7 options if we create 7 BS and for single selection based on the option selected we can invoke the respective BS.
    But if user selects more than 1 option ,i need union response of 2 respective business service .How can we achieve this , Do we have option to combine result from 2 DB adapter/2 BS to single result in OSB?
    Current method i try to follow,we have a single db adapter configured to get union response for all 7 options from DB.based on the user option i need to filter data for each eg - meterid i have in my master collection..planned to write query transformation of response data as needed for option user selects.Is this a better approach?Will this cause any performance issue?Because in my XQuery for each master data i'll fetch other details from DB using fn:bea execute sql..
    Kindly suggest any better approach to follow.
    Waiting for your earliest response.

Maybe you are looking for

  • How to register multiple stages in fault handler?

    Hi, I am trying to create multiple fault handlers for multiple CQL processors. I understand how to create one handler but when I am trying to add another osgi service to rgister anothet fault handler I get strange behaviot in theeclipse. The EPN disa

  • The Elder Scrolls II: Daggerfall in AUR, anyone would like to test?

    Recently I found a way to unpack archives used in Daggerfall, so now there is nothing that stops us from having it in AUR. Especially, that Daggerfall is now free, released by Bethesda for 15 years of TES anniversary. The package contains last Dagger

  • Iphoto videos to imovie

    I have videos on my iphone that are now in iphoto. How do I move them to imovie? I Selected file>import >movies and picked the album with the videos I wanted to import.  It appeared to show files being imported for about 1 hr but I cannot find them i

  • IDOC for outbound delivery

    Hi All, I need to generate an outbound IDOC when DO is created in VL01N. I searched in SDN and it returns me a lot of different results that really confusing. I found some using IDOC_OUTPUT_DESADV01, some using IDOC_OUTPUT_DELVRY. I do look into the

  • Lion Recovery Disk Assistant

    Hi, i want to do a backup to my lion. I have already installed lion and the installation was deleted. I can use this link: http://support.apple.com/kb/DL1433    Lion Recovery Disk Assistant To make a DVD disc or USB flash disk of lion? And how much m