sending of lov index instead of the value of display or code

Hi I have a situation where the value of transition from am to my human workflow, my problem is everything they value that i beign selected through lov sending lov index instead of the actual value, for example when I select my lov instead of displaying the name of the country sendinding country it send this lov index i.e. 1
my pagedef is 

<list IterBinding="IntUsr1Iterator" StaticList="false"
          Uses="LOV_Countrycode" id="Countrycode" DTSupportsMRU="true"/>


<methodAction id="approveUser" InstanceName="InternalUserAppDC"
                  DataControl="InternalUserAppDC" RequiresUpdateModel="true"
                  Action="invokeMethod" MethodName="approveUser"
                  IsViewObjectMethod="false">
<NamedData NDName="country_of_origin"
                 NDValue="#{bindings.Countrycode.inputValue}"
                 NDType="java.lang.String"/>

 </methodAction>


lov
<af:selectOneChoice value="#{bindings.Countrycode.inputValue}"
                              shortDesc="#{bindings.Countrycode.hints.tooltip}"
                              id="soc3" simple="true">
            <f:selectItems value="#{bindings.Countrycode.items}" id="si3"/>
          </af:selectOneChoice>
how can i pass selected value instead of input value
Edited by: adf009 2013/05/07 10:55

Published by: adf009 on 07/05/2013 10:56

Hello

I don't know much on the task list and its flow. But I guess that

...


....

should be

...

 ....

I've already shared it, but once again... Can go you through the get value selected SOC link

-Neha...

Tags: Java

Similar Questions

  • LOV in richeTableau resets the value after the deletion of rows from the table

    Hello. I'm on 11g R2

    I have a table with columns in the box and a button in the toolbar that removes the lines checked

    I have build it based on the following article in her string code

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/index-101235.html


    When I run the "delete" button I execute the following code (taken as is article)


    public void deleteSelectedRows() {}

    create a second line, the value do not affect all lines

    used in ADF

    Set of rows duplicateRowSet = this.createRowSet ("duplicateRowSet");

    first row to avoid "the attempt to access the value of lines."

    exception line was dead.

    duplicateRowSet.first ();

    retrieve the current row of the table for after

    re-running the VO

    Line currentRow = this.getCurrentRow ();

    Boolean currentRowDeleted = false;

    get all rows that have the transoent attribute

    "MarkForDelete' set to true

    Row [] rowsToDelete =

    duplicateRowSet.getFilteredRows ("MarkedForDelete", true);

    If (rowsToDelete.length > 0) {}

    run only throizgh this code, if there is something to

    delete

    for (line rw: rowsToDelete) {}

    If the row is marked as the current in VO, ts value

    Boolean flag

    If (rw.getKey () .equals (currentRow.getKey ())) {}

    currentRowDeleted = true;

    }

    remove the line - do not yet commit

    RW. Remove();

    }

    rerun VO

    this.executeQuery ();

    reset the current line if it has not been removed

    If (! currentRowDeleted) {}

    this.setCurrentRow (currentRow);

    }

    duplicateRowSet.closeRowSet ();

    }

    }

    "MarkedForDelete" is a transient attribute used to mark the line delete

    The lines are removed very well.

    The problem is with lines that I do not delete.

    For example I LOV column. I chose the value LOV in a few lines, and after that choose to delete several lines (not the same lines where I modified the LOV) but some other lines.

    After I click "delete", the lines that I marked to remove deleted indeed, but the value of the LOV in other rows (I have not scored for delete) are disabled.

    How to preserve value LOV so it will remain also after I deleted some lines?

    P.S. I've tried autosubmit = "true" - it did not help

    It is expected because I see that you rerun the query.

    Once you re - run, it retrieves from the database again. Thus, your values are lost because they are not posted.

    I don't think that run query is necessary, try to have a programmatic part trigger on the table after you remove all of the lines.

    Thank you

    Alisson.

  • AutoSuggest component displays the key instead of the value.

    Hello

    I use JDeveloper 11.1.1.7

    I have a component of entering text with behavior of auto-suggest.

    The list to suggest is built as follows:

    List of < SelectItem > names = new ArrayList < SelectItem > ();

    for (TestModel modelObj: nameList) {}

    If (modelObj.getName () .startsWith (hints.getSubmittedValue ()))

    Names.Add (new SelectItem (modelObj.getId (), modelObj.getName ()));

    }

    When I select the option to auto-suggest, instead of name, id is displayed.

    Is this a bug in the ADF?

    Thank you

    Ravi

    http://jdevadf.Oracle.com/ADF-richclient-demo/docs/tagdoc/af_autoSuggestBehavior.html

    "The selectItems labels will be displayed in the drop-down list, and when the user selects a particular element value will be selected and displayed in the input field.

    Dario

  • Drop variable displays the name of the variable instead of the value

    Hi all

    I added #defaultMonth # code below.

    < cfselect NAME = "#datename #_mm" >
    < OPTION VALUE = "XX" > #defaultMonth #< / option >
    < cfloop from = "01" to = "12" index = "m" > < cfoutput > < cfif m lt '10' > < cfset m = ' 0 #m #"> < / cfif > < OPTION VALUE =" #m #"> #LEFT (' #MonthAsString('#m#') #', 3) # < / option > < / cfoutput >". "
    < / cfloop >
    < / cfselect >

    CFOUTPUT shows the value of #defaultMonth # is correct, but the first point in my drop down list is literally #defaultMonth #.

    Suggestions?

    Thanks in advance for your help,

    Lou

    He solved.

    I forgot to wrap in CFOUTPUT tags like this.

  • See the value of zero instead of "the value entered does not match the format of the field [].

    I use the simplified notation filed to perform subtraction on a budget form.

    They all have an excellent work and have no problem display a value of zero when it's a simple subtraction (value1-value2).

    However, on my last field I want to take the total income and subtract what I spent (approximately 40 fields) and get a balance zero.

    When I try to do it I get this warning "the value entered does not match the format of the field [].

    The calculation works fine and displays the correct value for all the foregoing ".» 01 "and displays negative numbers. 01 "and underneath as well (if I go on the budget), she just may not show a zero, which is my goal for this equal to zero each month.

    I tried to watch if the forms and have not found an answer that works even for my situation.


    Happy to post the form here, just do not know how to do it.

    Thanks in advance,

    The custom calculation script may be something like the following:

    Get the value of field of income, as a number

    var v1 = + getField("Income").value;

    Set up an array of domain names

    var aFieldsToSubtract =]

    "ThithesB,"

    "TailleB,"

    "EFundB,"

    "MortgageB,"

    "HomeItemsB,"

    "HomeRepairsB,"

    "ElecticB,"

    "GasB.

    "WaterB."

    "SewerB,"

    "TrashB,"

    "PhoneB."

    "InternetB."

    "AutoInsB,"

    "UmbrellaB,"

    "IdentityB,"

    "CosmeticsB,"

    "ToiletriesB,"

    "PocketEBB,"

    "PocketCBB,"

    "GiftsB,"

    "HouseSuppliesB,"

    "PersonalOtherB,"

    "PersonalOther2B,"

    "GroceriesB,"

    "RestaurantsB,"

    "ClothingB,"

    "CarGasB,"

    "CarRepairsB,"

    "CarOtherB,"

    "MedicalBillsB,"

    "MedicalOtherB,"

    "EntertainmentB,"

    "VacationB,"

    "DebtCarB,"

    "DebtStudentLoan1B,"

    "DebtStudentLoan2B,"

    "DebtStudentLoan3B,"

    "DebtCreditB,"

    "DebtOther1B,"

    'DebtOther2B '.

    ];

    Subtract the values in field

    for (var i = 0; i)< afieldstosubtract.length,="" i="" +="1)">

    v1-= + getField(aFieldsToSubtract[i]).value;

    }

    Set this field value by rounding the result to the nearest

    Event.Value = util.printf ("%.2f", v1);

    Do not think of this as a band-aid, think the correct way to perform the calculation, because it is. Note that "Thithes" may be a spelling error.

  • The ID of the list of choices that appear in the reports, instead of the value in the choice list

    I changed a value of list of choices for installation of product field sale step by a single word to keep the original "Bought" in the lookup Id and the value of the select list was amended to replace purchased with "quotes".

    When I run a report the scene of product sales, the field in the report appears with the original 'bought', even if on the page of the product revenue in the field "City".

    Can someone tell to overcome this so that the report also displays this field with the city in the text, according to the recording?

    Robyn

    Robyn,

    I think that statement uses the ID so you can disable it and create a new value or write a CASE statement WHEN:

    BOX WHEN "FieldName" = "" THEN 'cited' OTHER 'FieldName' END

    concerning
    Alex

  • Outlook 2007 - when sending an email, I noticed that the information bar displays 3 sent messages

    Using Outlook 2007

    When I send an email, I noticed that the InfoBar at the bottom of the screen indicates that 3 emails are sent.

    It says "send message 3 3' when I just sent an e-mail."

    Does anyone know why this is?

    What are the emails of 2 Ghost (is this a virus)?

    How can I get Outlook to show me exactly what is sent (instead of just looking at the sent box)?

    Hello

    Please check with the experts of the Office and Outlook here: (re - ask your question in these groups)

    Discussions of Questions General Outlook
    http://www.Microsoft.com/Office/Community/en-us/default.mspx?DG=Microsoft.public.Outlook.General&lang=en&CR=us

    MS Office discussion groups
    http://www.Microsoft.com/Office/Community/en-us/FlyoutOverview.mspx
    And here:

    Microsoft.public.Outlook discussions
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Outlook&cat=en_us_81f401b3-b3fe-4e8d-B291-066f30b63ec8&lang=en&CR=us

    Office newsgroups
    http://www.Microsoft.com/communities/newsgroups/list/en-us/default.aspx?DG=Microsoft.public.Office.Setup&cat=en_us_642d5640-c1ba-43C3-A224-b3ec1473346c&lang=en&CR=us

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • When the value to display in the time format double digital indicator... Changes in value.

    Hi all

    I can't display the values that I want. I have a value double say 320 sent to a digital indicator where I edited the properties of it to display in a time format that contains only minutes and seconds as Yes, 3:20 '. Unfortunately, it takes the value and change it to another value and display that. I don't know what is the issue. If anyone knows the solution... Please post!

    There is an image attatched!

    Thank you.

    I believe only then due to the fact that when I convert a timestamp value to double as 03:20, he gave me 320. So I thought that the reverse can be trying. Should I just enter the total amount of seconds and that will show the Minuteseconds I want?

    Thanks for the quick response.

  • According to the value data display

    Hi everyone, I need help to write a query. I have the following data:
    WITH data1 AS
    (
      SELECT 1 num,     'PAL1' acct     ,'PRIN' descr FROM dual UNION all
      SELECT 1 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 1 num,     'COL' acct     ,'AL' descr FROM  dual UNION all
    
      SELECT 2 num,     'PAL2' acct     ,'PRIN' descr FROM dual UNION all
      SELECT 2 num,     'COL' acct     ,'SEC' descr FROM  dual UNION ALL
      SELECT 2 num,     'COL' acct     ,'AL' descr FROM  dual UNION all
    
      SELECT 3 num,     'PAL1' acct     ,'PRIN' descr FROM  dual UNION all
      SELECT 3 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 3 num,     'COL' acct     ,'AL' descr FROM dual UNION all
    
      SELECT 4 num,     'COL' acct     ,'SEC' descr FROM dual UNION all
      SELECT 4 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 4 num,     'MT' acct     ,'MA' descr FROM dual
    
    )
    The query that I write will be inside a PROCEDURE. a parameter will pass with the value of the ACTC.
    the possible values of the parameter are: ALL, COL PAL1, PAL2, MT

    If one value other than EVERYTHING happened inside I want to get all the lines for a specific number which contain at least one MAIN line.
    for example
    PAL1 pass, THEN the output should be
    num    acct    descr
    ====   =====   ======
    1      PAL1    PRIN
    1      COL     SEC
    1      COL     AL
    
    3      PAL1    PRIN
    3      COLL    SEC
    3      COLL    AL
    as you can see, the acct PAL1 contain at least one row with MAIN descr num = 1 and num = 3. in this case, all the lines for these num (ex num = 1 and 3)
    have been exposed in the output.


    Another example is that pal2 is pass, then output should be
    num    acct    descr
    ====   =====   ======
    2      PAL2    PRIN
    2      COL     SEC
    2      COL     AL
    num = 2 in this case is the only one who has PAL2 and at least a main line.

    now, let's say MT's past as a parameter, in this case num = 4 is the only one with a row of MT, but there is no MAIN line for this name.
    so no output.

    If the 'ALL' value is pass as a parameter, and then get all lines without worrying if a MAIN line closes. in this case the output should be
    num    acct    descr
    ====   =====   ======
    1      PAL1    PRIN
    1      COL     SEC
    1      COL     AL
    
    2      PAL2    PRIN
    2      COL     SEC
    2      COL     AL
    
    3      PAL1    PRIN
    3      COLL    SEC
    3      COLL    AL
    
    
    4      COLL    SEC
    4      COLL    SEC
    4      MT      MA
    and for the last example, if the PASS is a pass and then output should be
    num    acct    descr
    ====   =====   ======
    1      PAL1    PRIN
    1      COL     SEC
    1      COL     AL
    
    2      PAL2    PRIN
    2      COL     SEC
    2      COL     AL
    
    3      PAL1    PRIN
    3      COLL    SEC
    3      COLL    AL
    as a MAIN line to num = 1, 2, 3 for VAC = PASS then all belonging to num lines specific should be display


    can someone help me WRITE a query FOR this scenario?
    Thank you. your help is appreciated

    This will do

    WITH data1 AS
    (
      SELECT 1 num,     'PAL1' acct     ,'PRIN' descr FROM dual UNION all
      SELECT 1 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 1 num,     'COL' acct     ,'AL' descr FROM  dual UNION all
    
      SELECT 2 num,     'PAL2' acct     ,'PRIN' descr FROM dual UNION all
      SELECT 2 num,     'COL' acct     ,'SEC' descr FROM  dual UNION ALL
      SELECT 2 num,     'COL' acct     ,'AL' descr FROM  dual UNION all
    
      SELECT 3 num,     'PAL1' acct     ,'PRIN' descr FROM  dual UNION all
      SELECT 3 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 3 num,     'COL' acct     ,'AL' descr FROM dual UNION all
    
      SELECT 4 num,     'COL' acct     ,'SEC' descr FROM dual UNION all
      SELECT 4 num,     'COL' acct     ,'SEC' descr FROM dual UNION ALL
      SELECT 4 num,     'MT' acct     ,'MA' descr FROM dual
    
    ) select * from data1
    where :param='ALL' or
    (
      num in (select num from data1
        where acct=:param
        and exists(select 1 from data1 where acct=:param and descr='PRIN'))
    )
    

    Edit: replace: with param .parameter_name if necessary.

    Published by: david.sweet on February 19, 2011 07:57

    Published by: david.sweet on February 19, 2011 07:57

  • Popup lov to return the display value instead of the value of "return"?

    I have the popup following LOV (retrieves the first set of lines and filters)


    SELECT empname d, EMPLID R
    X
    WHERE OPERATING_UNIT =: P1_OU
    AND DEPTID =: P1_DEPTID
    Union
    SELECT "there is no list" d, r null
    OF THE DOUBLE
    WHERE THERE IS NO
    (SELECT 1
    X
    WHERE OPERATING_UNIT =: P1_OU
    AND DEPTID =: P1_DEPTID);

    I want the popup to show "there is no list" If the sql returns no rows, indicating to the user to change their selections for P1_OU and P1_DEPTID. However, when I try to test it in the Apex, if the user selects this message, null is not returned to the form, instead, the text of the message is returned. Is there anyway I can make it work properly? I appreciate the help. Thank you.

    Suni

    Published by: suni1 on February 19, 2010 12:43

    You can put in a position to submit the calculation for your LOV as element that is your LOV = "there is no list" then put it to NULL w/PL/SQL

    CASE WHEN :My-Item != 'no list exists' THEN :My-Item ELSE NULL END
    

    -Bob

    Published by: Bob37 on February 19, 2010 16:06

  • value of the cell in numbers displays the date instead of the value of the formula in currency

    I use the numbers frequently and a worksheet I'm using suddenly systematically will display a date (April 30, 2017) instead of a sum value that was always there. I tried to change the cell back to currency format, all clear and reset deleting the formal line and inserting a new formula in another cell, and the problem persists. Have left and restarted numbers and the entire computer. Don't know how it happened, or how I can fix this problem.

    Can you post a screenshot?

    SG

  • How to set the binding on a LOV variable based on the value of the calling page

    Here is the scenerio: Page is a login (username and password) page and their values are stored in a pod of support. On successful login page two is called (createRequest) based on
    a view object 'Userequest '. One of the fields is EmpNo which is a selection on the element of choice ("EmpByMrgLOV" read only view Explorer that contain the variable bind "UserNameId"). I want only to be displayed in the LOV
    employees who report to connected users. I tried different ways to set this parameter, but without success. It's my first attempt using JDeveloper and ADF and 4 days have already
    was devoted to it. Can someone please tell me where and how to proceed? Be as detailed as possible. I use Jdeveloper 11.1.2.3.
    Thank you.

    Published by: spcornell on February 27, 2013 12:09

    If your still to know how to to this topic, here's an option. I hope this helps.

    -----------------PART 1-----------------------------------------------------------------------------------
    Override the default constructor as this.
    lov instance will be created after the entry of the TF of the 2nd screen, so by LoggenInUser then will start,
    and will be used to create the instance of lov uses this value as a bind variable.

    SerializableAttribute public class EmpByMrgLOVImpl extends EmpByMrgLOV {}

    private String myusernameid ="";

    /**
    * This is the default constructor (do not remove).
    */

    public EmpByMrgLOVImpl() {}

    Set usernameid here when built
    get the usernameid of the bean class - btw the bean will be updated on the Taskflow method call before execution and now and set in constructor
    FacesContext facesContext = FacesContext.getCurrentInstance ();
    ELContext elContext = facesContext.getELContext ();
    ExpressionFactory expressionFactory = facesContext.getApplication () .getExpressionFactory ();
    ValueExpression exp = expressionFactory.createValueExpression (elContext, "#{mySOMEBean.LoggedInUser}", Object.class);
    This.myusernameid = (String) exp.getValue (elContext); set the user to act as link var

    }

    {} public void setmyusernameid (String myusernameid)
    This.myusernameid = myusernameid;
    }

    public String getmyusernameid() {}
    Return myusernameid;
    }

    }

    -----------------PART 2--------------------

    variable binding must Access EmpByMrgLOV VO using groovy as below

    You EmpByMrgLOV YOUR query tab, add bind var as below:
    Name = EmpSOMEUser (change to what your query)
    Type = String
    Value = ADF. Object.viewObject.myusernameid

    -----------------PART 3--------------------
    Once you have created a method taskflow run between your fist and 2 nd page, add set / gets in the bean for the var as below

    public MySOMEBean {}
    private Stirng LoggedInUser ="";
    {} public void someMethodCalledBeforeTFEntryintoSecoundScreen (String loggedinuser)
    if(loggedinuser!=null)
    setLoggedInUser (loggedinuser);
    else {}
    System.out.println ("not loggedin user");
    setLoggedInUSer (null); This will result in a null btw pointer
    }
    }
    public setLoggedInUSer {(String loggedinuser) {blah blah}}
    public String getLoggedInUser() {blah blah}
    }

    So part3 gets put first based on what you collect on your first page, then
    part1 at lov construction that uses part3 for her time

  • Office proxy firewall monitor secure connections (https) and send their own certificate instead of the certificate of the Web site

    Firefox works fine on my home network or while I connect to the internet directly via data card. However, @ my office use us proxy and for almost all sites (even google search) Firefox stops saying "this connection is untrusted".

    Attached are the screenshot for the same thing to help him to help me.

    I search a lot and was closest to you that I came to this url https://support.mozilla.org/en-US/questions/978722

    Is there a way to Firefox to add office proxy certificate in the certificate chain (don't know if that will help?)

    How to solve this? Kindly advice.

    I think most of the proxies work similarly: they generate a false certificate to the site and have your browser so that they can decrypt and inspect the traffic between you and the site. It is a hassle to have to make exceptions for individual certificates of false - it is more effective to recognize the certificate that the proxy uses to sign false certificates as valid a certificate authority.

    The trick is to identify this certificate. It might be easier to go to IE or Chrome, since both use the Windows certificate store (Firefox uses its own). By inspecting the certificate for a secure site and the certificate used to sign, you may be able to identify and to export this certificate (DER format or .cer).

    In Firefox, you who would incorporate in the section of the authorities in the Certificates dialog box:

    "3-bar" menu button (or tools) > Options > advanced > mini-onglet Certificates > "View certificates" button > mini-onglet References > "Import..." button »

    Of course, it is probably safer to check with your COMPUTER that you've found and exported the correct certificate before you import it into Firefox.

  • in the value column display

    I have two columns in the report
    A - varchar
    b date

    now, my State is something like that

    If A = a value x
    and b = a date 10-2-2-10
    (if the two sataisfy)
    result should display the date IE B
    Another result should show some special characters such as '-' (dash)

    can I do this please help me

    directly is not possible if you write cases when... such as the date and the hyphen has different types of data...

    code should be like this:

    Case when A='Value' and B= date'2010-02-10' then cast(B as Char) else '-' end
    

    After the date of casting in tank... It shows in the format: dd-MON-yy(if back end oracle and default format is not changed)... but it is character, cannot perform any operation to date on this...

    Check this box... For more information on the conversion of date in obiee:

    http://gerardnico.com/wiki/dat/OBIEE/cast_as_date

    Published by: Kishore Guggilla, October 27, 2010 13:02

  • ADF11g: Question SelectOneChoice LOV (only 25 of the 29 records displayed)

    Hello
    I use 11.1.1.3
    In my application, I have a View object ("" + Select * Apps.Processes + "")
    This query returns me 29 records.

    I've linked this VO with selectOneChoice. But when I run the app I find only 25 first records displayed in the SelectOneChoice.
    The last 4 reviews are never displayed, although the query retrieves all records of 29.

    Some can please help on this.

    Thank you best regards n
    Maryline Roussel

    Jin
    Set the range size =-1 of the itreator

    RG Thomas

Maybe you are looking for

  • MacBook Air shutdown correctly

    I have a Macbook Air (13 inch, early 2015) race Sierra. When I shut down my computer it powers not normally turned off. I click on "Stop" in the Apple menu. The screen goes black but the backlight remains lit and lighting under the keyboard. It stays

  • Mode cycle with Autopunch

    I am unable to do with cycle mode autopunch to work properly in 10.2.0 logic.  I think remember it worked well with Logic 9.  The other post on this subject I see is from 2008. Mode cycle does autopunch work in Logic Pro X?

  • How to download windows 2003 x 64-bit standard edition. Please give me a link.

    We moved our x 64 bit MS Windows 2003 Standard Edition CD. We have the license for this OPERATING SYSTEM. We want to download thisOS from the microsoft Download Center, but we would have found. Can you please send me the link for the same thing so I

  • HP Pavilion g6 - 2264ca: HP Pavilion g6 - 2264ca Notebook PC Ethernet and USB controller missing

    NEED HELP! Recently, I went down my HP Pavilion HP Pavilion g6 - 2264ca Notebook PC of Windows 8 for Windows 7. Only Windows 8 drivers are listed on the support page, but they seemed all to install and works very well except for my CONTROLLER USB and

  • KB3185278 & Wifi

    Hello We publish a SSID configuration through Group Policy to our wifi network. It uses AES, WPA2-Enterprise and Microsoft: Protected PEAP. I have a laptop Windows 7 Professional. This morning, I downloaded a number of updates and then could not conn