Error setting the selected item in a dropdown component in a BPM

Hi,
The first step in the process is a human step where it's possible to select country in a dropdown box. The second step is also a human step where I try to display the same context that was selected in the first step.
I use the "merge" operation in the mapping, but the item that I select in the first step in the process is not selected in the second step in the process.
Does anyone know how to solve this?
Best Regards
Michael

Hi Michael,
Only simlple types are supported in WD for EHP1 (Binary, boolean, byte, date, decimal, double, float, integer, long, short, string, time, timestamp)
No further Dictionary Types supported
(for example: currency)
Best Regards,
Karthik
Edited by: Karthik S J on Oct 15, 2008 2:34 PM

Similar Messages

  • How i can set the selected item of a dropDown component from java code

    Hi
    Thank you for reading my post
    How i can set the slected item of a DropDown component from backing beans java code ?
    it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
    In back code i have both value and display values to use them .
    can some one give me some help ?
    Thanks ,

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • Get the selected item in a dropdown

    please how can in get the selected item in a dropdown ?
    I am using t"his.selectedIndex" but it gives me just de index of the previous selected item, I am using the CHANGE event with javascript

    I found the solution with xpa.event.newText

  • How do you set the selected item of a combobox?

    I looked around and didn't find an intrinsic method or
    function to set the selected index of a combobox. I wrote a
    function, but I thought I would see what the "best" way of doing it
    is?
    The function I wrote is;
    private function
    setComboSelectedItem(cmbBoxIn:ComboBox,strFindItem:String):void
    for (var i:int=0;i<cmbBoxIn.dataProvider.length;i++)
    if (cmbBoxIn.dataProvider(I) == strFindItem)
    cmbBoxIn.selectedIndex = i;
    break;
    The parentheses surrounding "i" above should be square
    brackets, but they do not display.
    Paul

    doing a calllater will solve this problem if your changing
    dataprovider and trying to set the selected index on an editable
    combox

  • Get an error message when importing from iPhoto says, "There is not enough free space on your Aperture Library volume to import the selected items. It is estimated that you need at least 44GB of free space."

    I get an error message when importing from iPhoto that says, "There is not enough free space on your Aperture Library volume to import the selected items. It is estimated that you need at least 44GB of free space." the drive is empty, I just reformatted it to Mac OSX journaled.

    I'm guessing this is an extrenal drive, correct? If so make sure the library you're importimng into is really located on the external drive. By default Aperture creates its library in your home pictures folder.

  • Forms 10g : How to set the Database Item property for an item dynamically ?

    Hello all,
    I have a requirement where I need to set the database item property of an item to TRUE/FALSE
    dynamically at runtime based on certain conditions.
    Earlier, in forms 6i I've used,
    Set_Item_Property (<item_name>, DATABASE_ITEM, PROPERTY_TRUE);
    But in Forms 10g it doesn't recognize this Database_Item property and gives a compilation error.
    Have I overlooked something or has this property become obsolete in Forms 10g ?
    If obsoleted what is the replacement property ?
    Regards,
    Sam

    Some options:
    1. Create a database-view, including the "real" column in databases where it exists and a "dummy"-column in databases where it doesn't exist.
    If that's not possible,
    2. set database="No" for your item and
    -- create a POST-QUERY-trigger which reads the data for that column from the database, if the column exists, and
    -- create a ON-UPDATE-trigger which includes an
    UPDATE_RECORD;
    UPDATE THETABLE SET
      THECOLUMN=thevalue
    WHERE  ROWID=:THEBLOCK.ROWID;3. Base your block on either a select-from-clause, a ref-cursor or a procedure to adjust he query-part,, for saving use a procedure.

  • Unable to set the selected value for a ADF LOV

    Hi,
    I am developing an application using jdeveloper 10.1.3 and Struts.
    I have created a ADF LOV on my JSP Page as given below:
    <html:select property="lob" onchange="javascript:selectLOB(this.form)">
    <html:optionsCollection label="prompt" value="index" property="lob.displayData"/>
    </html:select>
    When i submit the form, i am able to get the value of the selected Value in the List.
    JUCtrlListBinding listBinding = (JUCtrlListBinding) formBean.get("Lob");
    Row r = (Row) listBinding.getSelectedValue();
    String SoLob = (String) r.getAttribute("LobLob");
    But i am unable to set the selected value back in the list when i return to the form again.
    I tried the following:
    int x = listBinding.getSelectedIndex();
    listBinding.setSelectedIndex(x);
    It would be really helpful if some one could let me know what needs to be done.
    Thanks,
    Subashini

    Gyan,
    I tried with the code you suggest , its trying to set the value of a field, but my requirement is to change the property for
    "Rendered" on the field so that based on search parameters we can hide result table column.
    After searching online, I modified the controller code as follows
    1.Created a new transient attribute (Testrender) with type "Boolean" and always updateable.
    2.changed the "Rendered" property value on the field I want to hide as ${oa.PoSearchVO1.Testrender}.
    3. Modified the controller code as follows :
            OAApplicationModule am = pageContext.getApplicationModule(webBean);
            OAViewObject testvo = (OAViewObject)am.findViewObject("PoSearchVO1");
            OADBTransaction txn = am.getOADBTransaction();
            if (testvo != null)
              OARow row = (OARow)testvo.first();
                if (a.equalsIgnoreCase("Approved"))
                     row.setAttribute("Testrender", Boolean.FALSE);
                else
                     row.setAttribute("Testrender", Boolean.TRUE);
            } But now when i run the page and populate the search field and click "Go" its hiding the field but throwing the following error and the search results are also bad.
    Its using only the value of one search parameter but not the second one .
    The search cannot be executed because the table has pending changes that would be lost. I think the vo is getting dirty when I update the transient attribute value. So I used txn.rollback ,then search is working fine but its not hiding the field.
    So can you please let me know how to proceed from here ?

  • The 'selected items' color randomly changes and I can't figure out why.

    Hi everybody, I recently upgraded to Firefox 13, which appears to be the most stable browser version so far and I really like it. I have loved Firefox very much, having used it since somewhere between versions 2 and 3.
    After upgrading to version 13 I noticed something that annoys me quite a bit. This may have been present before but I can't remember and I did not notice until now.
    On my computer (Windows 7 x64 Ultimate) I have set the color of the 'selected items' (specifically text) to be lime green text on a slightly off black background. I chose this color scheme because it blends very well with Firefox itself (I have the NASA night launch theme), Windows Explorer, and many web pages that I have changed to a dark theme (using the Stylish browser extension). This color scheme has excellent contrast in areas with black text on a light background, as well as light text on a dark background. It has served me well.
    After upgrading to Firefox 13 I have noticed that if the web page is dark with light text, the 'selected items' color changes to lime green text on a light grey background. (Less frequently, it changes instead to off-black text on a lime green background). I have not been able to isolate the threshold where this change occurs (meaning how dark the website background needs to be /how light the text needs to be for this to happen) nor have I found a solution.
    This problem sometimes extends even to sites that have dark text on a light background: when tabs are switched, with no input fields clicked and the address bar is not clicked. This very page (Firefox support) is apparently vulnerable as well.
    This problem only happens on rendered web pages. Firefox's menus, buttons and toolbars, as well as all other programs and Windows itself, are unaffected.
    I want the 'selected items' to remain as I have set it, and not deviate regardless of the apparent contrast or color scheme of the web page being displayed.
    [Edit #1]: Interestingly, as I was copying the information from about:support I noticed that it is affected as well.
    Any suggestions? Thanks so much, and I am sorry for the long-winded description. tl;dr look at the pictures.
    [http://i.imgur.com/vmLZ6.png selected items]
    [http://i.imgur.com/d8xsa.png example1]
    [http://i.imgur.com/2OE9J.png example2]
    [http://i.imgur.com/1lhvb.png example3]
    [http://i.imgur.com/UWOOp.png example4]

    It is always best to avoid making changes to the selected text colors.<br />
    Firefox uses an algorithm to check if the contrast is sufficient and will swap text and background colors if that test fails.<br />
    *http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsTextFrameThebes.cpp#3349
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=1331845

  • Error joining the selected airport network?

    I'm trying to connect to my linksys wireless using WPA with a powerbook but no luck. My password which I know is correct (it's working on another G4 and my wife's Gateway. I get the following message when selected my network. "There was an error joining the selected airport network". I can connect via a neighbor's unprotected network, so airport is working. Other times I've tried it says password is incorrect.

    Wi-Fi Protected Access networks normally require a plain-text password or passphrase. But in rare cases you may have to enter a string of 64 delightful hexadecimal characters.
    The HEX password is derived from the plaintext password therefore you shouldn't need to create anything new. Check the linksys router for the HEX version of your plaintext password.
    The AirPort interface doesn't welcome this wonderful practice by default (imagine that), but it's buried in there for when you need it. Just hold down the Option key while choosing your network from the AirPort menu, then you'll be set to enter all 64 of those easy-to-remember characters.
    iFelix

  • How to read the selected value of a dropdown list box

    Hello,
    I have 2 custom fields which are of type dropdown list on Accounts(CRMM_ACCOUNT) PCUI application details tab.I need to read the selected value of first dropdown list item,based on that second dropdown list will be populated.
    I know where to populate the dropdown list box,it is in FILL_DROPDOWN_LISTBOX.
    I dont know how to trap the selection made on dropdown list.
    PLease guide me on how to trap the dropdown list field selection value.
    Thanks in advance.
    Thirumala.

    Hello,
    Check what is done in standard for the fielf REGION which is inked to the country.
    Otherwise, you can do the following :
    - in field group customizing, for field 1, flag the 'send request' flag. So, when you change the value in this field via the dropdown, the MAC methods are immediately called.
    - Put the new value in a global variable (GV).
    - in the fill_dropdown_listbox method, get the value from this GV and based on it, filter the values for the dropdown of field 2.
    Hope this will help you,
    Regards,
    Frederic

  • How to find out the selected item in the lsit

    Hi all,
    How to find out the selected item in the list,can any please post some examples which easy to understand,because iam not a good programmer

    This sample program uses a checkbox as selection,  you could also use a HOTSPOT.
    report zrich_0002 no standard page heading.
    data: imara type table of mara with header line.
    data: check_box(1) type c,  
       report_lines type i.
    start-of-selection.
    * Create the gui status with BACK button in standard place
    * and a READ button in the application toolbar
      set pf-status 'CHECK'. 
    select * into corresponding fields of table imara           from mara up to 100 rows.
    loop at imara.   
    write:/ check_box as checkbox, imara-matnr, imara-matkl.  
    hide imara-matnr. 
    endloop.
      report_lines  = sy-linno - 1.
    top-of-page. 
    write: 'List of materials'.  uline.
    top-of-page during line-selection.  write:  'Material.....'.  uline.
    at user-command. 
    case sy-ucomm.  
    when 'READ'.   
      check_box = space.    
    set pf-status 'CHECK' excluding 'READ'.
          do report_lines times.       
    read line sy-index field value check_box.    
       if check_box = 'X'.        
    write:/  'You have selected material',
    imara-matnr.       
    endif.   
      enddo. 
    endcase.
    Regards,
    Rich Heilman

  • Changing JList non-editable Font color of the selected items

    Hi All,
    I want to change the font color of non-editable JList's selected items which is not clearly visible to user. And I need to change the font color only the selected item in this scenerio.
    Could you please clarify me?
    <img src="file:///C:/DOCUME~1/sgnanasi/LOCALS~1/Temp/moz-screenshot-4.png" alt="" />

    [email protected] wrote:
    ..I want to change the font color of non-editable JList's selected items which is not clearly visible to user. And I need to change the font color only the selected item in this scenerio.Set a custom [cell renderer|http://java.sun.com/javase/6/docs/api/javax/swing/ListCellRenderer.html] *(<- link)* for the JList.

  • ListCellRenderer and JList... cannot set the selected background?

    The following code:
         public Component getListCellRendererComponent( JList list, Object value, int index, boolean isSelected, boolean cellHasFocus )
              setText( "test" );
              setBackground( isSelected ? list.getSelectionBackground() : list.getBackground() );
              setForeground( isSelected ? list.getSelectionForeground() : list.getForeground() );
              return this;
         }is having problems. It does not set the background color for the selected item. It does, however set the foreground. If I don't use my own cell renderer, the background changes as expected. I can't figure out why - I can set the border of the JLabel that is returned, the foreground, the icon, but not the background.
    What am I doing wrong?

    I would have to check, but from memory a cell is a JLabel not a JTextField. The diff is that a JLabel is transparent so the background colour is normaly that of the JPanel. In a JTable I presume the cell has some default background colour based on the table, so maybe you need to use a JTextField to define the field.
    Hope that helps,
    James.

  • DS 1.3 Charts will not release the selected Item.

    Hello all,
    I have problem with Design Studio 1.3 we developed a couple of dashboards with DS 1.2. Now we upgraded dashboards to 1.3. We used Chart selection functionality to filter values on other charts etc. We also using dynamic visibility if you click on a chart it filters another chart and disappears and brings a new chart. To go back, we used a button to clear filter and make the first chart visible.
    Now, before upgrading after the chart disappeared and clicked on a button to remove the filters, the chart would release the selected item on itself. However, after the upgrade, this won't work because the chart won't release the selected item. It just keeps selecting even after we clear all filters and make it visible.
    I have been searching and trying to find a solution for this, but I couldn't come up with some kind of idea. And in scripts and don't see setSelectedItem or setSelectedValue or reset the selection. etc
    1. Create a button with the script below: (BUTTON_1) This will clear the filter and make the chart disappear.
    DS_2.clearFilter("0PLANT"); //Map DS_2 to another chart
    CHART_1.setVisible(false); //Chart using DS_1
    2. Create another button with the script below: (BUTTON_2) This will set the chart visible.
    CHART_1.setVisible(true);
    3. Click CHART_1 and select item.
    4. Click BUTTON_1 to clear selected filter.
    5. Click BUTTON_2 to make CHART_1 visible again.
    One you click the second button it will set the filter back which was clicked in step 3.
    Does anyone have idea on this? How could I reset the charts' selection?
    Your help will be appreciated it greatly.
    Thanks.

    Hi,
    In Design Studio 1.3  (SP0 & SP1), enhancing functionality was delivered with the new ability of the user to bookmark design studio applications and recall these bookmarks within the application. This resulted in changes to the behaviour of charts wrt selection of chart members....
    As I understand this, the issue here is really around chart selection not persisting in Design studio 1.2, while chart selection is persisted in 1.3 release.
    In 1.2 release, when the original chart is hidden and made visible again , the chart selection is not present when the chart reappears, and does not need to be cleared. In this case the chart is rerendered in its initial state in the browser (no selection).
    In 1.3 release, selection within the chart is now persisted in general, this can be seen when a chart with a selection is hidden and made visible. In this case the chart is rerendered with selected member present in the browser. By clearing this selection within the chart, the user is now firing again the OnSelect event. (This causes the chart to be hidden and data source filtered again).
    The scripting attached to the chart just needs to be modifed slightly to cover this scenario. The result of the getSelectedMember() func call needs to be checked to see if a valid selection is returned.
    For example :
    var temp = CHART_1.getSelectedMember("0BC_TYPE");
    if (temp.text != "") {
          DS_1.setFilter("0BC_TYPE", temp);
          CHART_1.setVisible(false);
          CHART_2.setVisible(true);
    The addition of an "if" statement in this case (marked in bold above), checks that if a member within the chart is not selected, in this case no value ("") is returned, and the Data src is not filtered/charts are not hidden & shown as before.
    So the issue in 1.3 SP1 is in relation to the persistence of the selection within the chart, which when cleared, fires the onSelect event again (resulting in undesired filtering of data src again).
    Hopefully the above scripting will resolve this issue for you....
    Best regards,
    Brian

  • Error -- Attempt to select Item, "string-udp" failed [Item::unionItem]

    After applying a signature update several times when i use the 5.0(1c) it returns:
    Error: Exception Error: Error -- Attempt to select Item, "string-udp" failed [Item::unionItem]
    There is no action in teh signatures.
    I do not know what to check. Any help????

    log in with the service account and check if the file /usr/cids/idsRoot/var/updates/50sig/50Sig.tar.gz exists. If it doesn't, you ran into CSCsb91681 and will need to (1)install a signature update, (2) reset all sigs to default settings, and (3) try to apply the 5.0(1c) upgrade again.

Maybe you are looking for

  • Null Pointer exception in accessing EJB in 9.0.3

    Hi The application is working fine with 9.0.2, but when I deployed in 9.0.3 it is giving Null Pointer Exception, throwing the error message in Stack Trace. ========================================================== java.lang.NullPointerException     

  • Downloading media center??

    I just got my first ipod...5th gen. 30gb...is there any way to download my recorded tv to my ipod???

  • Dynamic Spellcheck formatting

    Hi, I'm working in an Institute for visually impaired children and one of our staffmember is also lightly visually impaired. When I activate the dynamic spellchecker, the "wrong" words appears underlined by a thin red line. Is it possible to change t

  • How to protect image and text from page break

    Hi I have set on a smartform a single row which contains two columns. The first column has an image, and the second has some text. I want the program to send the whole row to the next page if it does not fit the page, instead of breaking it up in sep

  • Add dynamic Payload Type to JMF

    Hi all I am trying to write a Java application to play streaming video (RTP with dynamic payload of 96) from UCT IPTV server, http://uctimsclient.berlios.de/uctiptv_howto.html (My application could receive the streaming RTP but cannot play it) I thin