Retrieve correct value for SelectOneChoice

Does anyone know how to retrieve the correct value in a SelectOneChoice for an inline table? What should I use to get the value of a selectOneChoice column? for example "#{row.CodeId}" does not return the correct value, since the column is not in the parent table, so I use the <af:selectOneChoice value="#{detailRow.CodeId}" ... it doesn't work. It retrieve the correct value in a text format and lose the dropdown list style
This is what I've used to do the binding:
<af:selectOneChoice value="#{detailRow.CodeId}"
label="Code ID"
id="selectOneChoice1"
autoSubmit="true"
valuePassThru="true">
<af:forEach var="li"
items="#{bindings.codeLookupVO1.rangeSet}">
<af:selectItem value="#{li.CodeId}"
label="#{li.CodeText}"/>
</af:forEach>
</af:selectOneChoice>
Plus I have done the table binding for the codeLookupVO and created an iterator for it too.
Does anyone know what should I use to get the correct value for the row in the detailStamp ?
I use JDEV 10.1.3.3 & ADF & BC
Your help is greatly appreciated... There are many listing in regards to SelectOneChoice for single table, but I have not seen anything related to an inline table selectOneChoice... Can one of you expert help and guide me to the correct path!
Thanks
Sara

usually web service call process one row or one message, hence the default value is set to less than a min, since its processing is not expected to take more than that
the affect of increaing the value to a higher number is the Engine will wait for Max that amount of time for the response to come back in a ideal situation it may not take that long, but if there is any problem on the server side like application crash or for some reason the response was not sent back to the engine, then engine will wait for that much amount of time and then timeout. It will hang
you might have seen this with Designer if you configure Adapter Datastore and if Adapter process crashes, the Desginer hangs, since the timeout value is set to 3 hrs, so you may have to think of trouble shooting such situation
what is the DS version, I think this value is exposed in UI, available at Design time

Similar Messages

  • Stock Ledger Report in Day Wise not giving correct values for Opening Stock

    Dear Experts,
    I m working on Sock ledger report to give the day wise data.
    since yesterdays closing Stock will become opening stock of today,
    To get Opening Stock,
    I have restricted the stock key figure with 2 variables on calday        
                                  (DATE FROM var with <=(Lessthan or equal to) and offset -1
                                   DATE TO      var with <=(Lessthan or equal to) and offset -1)
    To get Closing Stock,
    I have restricted the Stock key figure with 2 variables on calday        
                                  (DATE FROM var with <=(Lessthan or equal to)
                                   DATE TO      var with <=(Lessthan or equal to) )
    But in the output Opening stock values are not coming correctly and for given range of dates,
    for last date, opening stock is showing as Zero.
    Could you please tell me how can I achieve the correct values for opening stock.
    Thanks in advance.

    Hi Arjun,
    Seems like you are making it more complicated. What is your selection screen criteria?
    Ideally you should only use the offset.
    You will have say Calday in rows and stock in Column
    ____________Opening Stock_____________Closing Stock
    01/06/2009___(Closing stock of 31/05/2009)_(Stock of 01/06/2009)
    02/06/2009___(Closing stock of 01/06/2009)_(Stock of 02/06/2009)
    03/06/2009___(Closing stock of 02/06/2009)_(Stock of 03/06/2009)
    So, from above scenario, create one RKFs and include Calday in it. Create a replacement path variable on calday and apply the offset as -1.
    So, your Opening Stock will be calculated by closign stock of previous day.
    - Danny

  • Sales Order form error  "Not able to retrieve Display values for Service"

    Hi,
    Few of our orders flash the below error message when the order is queried
    "Not able to retrieve Display values for Service"
    Below are the points I observed
    1.The orders I am referring to are imported order via EDI interface.
    2.The service reference type code has value of ORDER, however no other service related fields (like service reference line id) have any values.
    3. The item is not a service item (service tab in Item setup is disabled)
    4. Same item when imported with value of "Customer Ordered" in "service reference type code" field, does not throw an error.
    5. If I update "service reference type code" with value null or change it to CUSTOMER_PRODUCT, the error disappears.
    Can someone explain the significance of this column value and what could have been causing this error message?
    May be there are some dependent fields/setups which must have a value when service reference type code =ORDER.
    Thanks in advance,
    JC
    Edited by: user10174990 on Oct 25, 2012 10:58 AM

    Hi,
    Maintain the dafault values using Tcode OISF with respective to Planning Plant you have to maintain the following values like Order Type, Main Work Center, Maint. Plant,Group,Group Counter,Business Area & Task List type.
    or
    Apply these OSS note 150732 / 195993.
    regards,
    Venkatesan Anandan

  • How to set value for selectOneChoice

    Hello,
    How to set value for selectOneChoice defined as:
    <af:selectOneChoice label="Label" id="soc1" binding="#{DepositorMergingBean.socSurnameComponent}">
    <f:selectItems id="si1" value="#{DepositorMergingBean.socSurnames}"/>
    </af:selectOneChoice>
    where socSurnames is List<SelectItem> - manually filled list of SelectItem(SomeObject, (String)text_description), so - SOC is filled manually (no binded iterators, etc..)
    Neither socSurnameComponent.setValue( new Integer(0) ) nor socSurnameComponent.setValue( socSurnames.get(0) ) do not help.
    Thanks in advance.

    this.selectOneChoice.setValue(selectItems.get(2).getValue());Try as per the following sample:
    SelectOneChoiceTest.JSPX:
    <af:form id="f1">
    <af:selectOneChoice label="Select One Choice" id="soc1"
    binding="#{SelectOneChoiceTestBean.selectOneChoice}">
    <f:selectItems value="#{SelectOneChoiceTestBean.selectItems}"
    id="si1"/>
    </af:selectOneChoice>
    <af:commandButton text="Set Selected Value" id="cb1"
    actionListener="#{SelectOneChoiceTestBean.onClick}"/>
    </af:form>
    SelectOneChoiceTestBean.java:
    import java.util.ArrayList;
    import java.util.List;
    import javax.faces.event.ActionEvent;
    import javax.faces.model.SelectItem;
    import oracle.adf.view.rich.component.rich.input.RichSelectOneChoice;
    public class SelectOneChoiceTestBean {
    private RichSelectOneChoice selectOneChoice;
    public SelectOneChoiceTestBean() {
    super();
    private List<SelectItem> selectItems;
    public void setSelectItems(List<SelectItem> selectItems) {
    this.selectItems = selectItems;
    public List<SelectItem> getSelectItems() {
    selectItems = new ArrayList<SelectItem>();
    selectItems.add(new SelectItem("One", "One"));
    selectItems.add(new SelectItem("Two", "Two"));
    selectItems.add(new SelectItem("Three", "Three"));
    return selectItems;
    public void setSelectOneChoice(RichSelectOneChoice selectOneChoice) {
    this.selectOneChoice = selectOneChoice;
    public RichSelectOneChoice getSelectOneChoice() {
    return selectOneChoice;
    public void onClick(ActionEvent actionEvent) {
    this.selectOneChoice.setValue(selectItems.get(2).getValue());
    Thanks,
    Navaneeth

  • Retrieve alert values for use as parameter in corrective action sql script

    I am trying to write a corrective action sql script to kill a session that is blocking other sessions. I have the "blocking session count" metric set and the alert is firing correctly.
    Is there any way to retrieve the sid and serial number from the alert generated and use it in a corrective action sql script?
    Here is the alert generated:
    Target Name=myproddb.world
    Target Type=Database Instance
    Host=myprodserver
    Metric=Blocking Session Count
    Blocking Session ID=SID: 522 Serial#: 5228
    Timestamp=Mar 4, 2008 5:57:12 PM EST
    Severity=Warning
    Message=Session 522 is blocking 1 other sessions
    Notification Rule Name=Testing Corrective actions
    Notification Rule Owner=sysman
    Clearly the sid, and serial # is contained within the alert Message field
    what I want to write for the sql script is :
    alter system kill session '%sid%,%serial_no%' immediate;
    and have GC pass in the sid and serial_no to the script.
    The "Target Properties" listed on the right of the Edit Corrective Action screen lists minimal details pertaining to the alert and certainly not the session sid, serial no.
    Generically, is there any way to retrieve the values from an alert and use them in a corrective action script or job?
    I've looked into getting the values from the mgmt$alert_history table, but I'm hoping that GC can pass the values to the sql script.
    thanks in advance for your help.

    Hi
    You can implementing a procedure like this.
    1. When a block session count alarms occurs, there is a column in the v$lock that you can examine.
    #!/bin/ksh
    #kill_block_session.sh
    #first export your variables
    export ORACLE_HOME=/oracle/product/10.2.0.3
    export ORACLE_SID=SIDNAME
    $ORACLE_HOME/bin/sqlplus "/ as sysdba" << EOF
    execute immediate killed_blocks;
    EOF
    # end
    The killed_blocks is a procedure:
    create procedure
    declare
    v_sid varchar2(15);
    v_serial varchar2(15);
    -- now a sql query that retrieve the sid and serial
    -- you can obtain these values from v$session and v$lock
    select vs.sid,vs.serial into v_sid,v_serial
    from v$session vs,v$lock vl
    where vs.sid=vl.sid
    and vl.block >0
    -- After this, you execute a dbms_put line with these
    -- values
    But you understant that this response action is very dangerous, because its possible that you kill sessions that the blocking are transitient.
    You must examine your enviroment and your application and establish the metric like UDM and not for only session blocking count.
    You must to see:
    - The type of block
    - The ctime time in the v$lock for to understatn the amount of time to determine that the block is need killed.
    - In my opinion you need a special UDM and deactivate the blocking sesion count
    If you want help to create this UDM send me a mail to [email protected]
    Regards
    Robert

  • EPMWorkstatus() - Retrieving wrong values for status

    Dear community,
    I have a very special problem concerning the EPMWorkstatus() formula within the EPM-Client. This issue only appears on our quality ensurance system (QS) and productive system (PS), not on our development System (DS).
    ------ Setup is as follows:
    workstatus is defined for three dimensions:
    project (user defined dimension with owner attribute)
    the project itsself is always a node
    there is only one level of several workpackages below
    measure/value (user defined dimension)
    several Input values such as RF or budget etc.pp.
    on node above them to organize all measures/values that are shown within the planning layout
    time (time dimension)standard time dimension (years, quarters, months) with one adjustment
    there is a top node ALL above all years
    there is element NONE which is not in the hierarchy
    All dimensions only have one hierarchy in use (PARENTH1)
    ------ Problem is as follows:
    I have designed a workstatus report that shows the status for:
    one workpackage
    one month of the year (e.g.: 2015.01) as representative for the status of the whole year, because the controllers only enter data on year level which will be disaggregated by a code fragment
    one measure / value
    The EPMWorkstatus formula looks is embedded in an Excel formula which does some checks but the EPM part looks like that:
    EPMWorkstatus(,0,EPMMemberID(cell-for-project-reference),EPMMemberID(cell-for-measure-reference),EPMMemberID(cell-for-time-refence))
    Situation is now a follows:
    I have a simple project with 3 workpackages. All of them have no explicit status, so they are in DEFAULT WORKSTATEon refresh the workstatus report shows empty cells which is perfectly fine
    I chose one workpackage and open the workstatus Dialog
    the project selection stays as it is (e.g. one workpackage)
    for the measure / value dimension I chose one element or the node above those elements
    for the time dimension I chose one year node or the top node ALL for all years
    I set the status to "closed"
    On refreshing the workstatus report all other workpackages seem to inherit the same status - so all formulas show the value "closed". Sometimes one element combination stays empty which would be the correct status.
    The table which stores the workstatus looks fine (SE38 >> UJW_WS_TEST) and only has entries for the formerly selected workpackage.
    The only way to get around this issue is to first set an explicit Status for the whole project to "open" and then do the same steps mentioned above. But this is no good solution because a master data update could bring new workpackages to the project.
    Anyways I am trying to find out why it works on the DS and not on the QS / PS.
    Could it a be a transportation problem? - As far as I checked via the web admin surface it looks the same on every System
    The owner dimension project and the Attribute values for owner look the same on every system
    It cannot be a client problem due to fact that we use one client version for all systems.
    So where could I look where the problem comes from? Any help would be really appreciated.
    Cheers,
    Gernot

    Hi Dinesh,
    thank you for your reply. The results are as follows (please see the picture):
    the development system seems to have another status ID for "open" and "closed" than the quality and productive system
    but if I set a workpackage status to "closed" (e.g. "gesperrt" in screenshot) it seems to be consistent within the workstatus table as you can see in the screenshot
    So I am not sure why that would have an impact on the workstatus...
    Cheers,
    Gernot

  • Scripting: How to retrieve the value for next year

    Hi Experts,
    Need help on HFM rules for retrieving the next year value
    Specificationt: Financial year values start from Apr to Mar
    I am bale to retrieve the values from Apr to dec, when trying to retrieve for Jan and mar getting the wrong values
    using : A# xxx.C1#xxx.y#cur
    please suggest your comments
    Thanks,
    SSr

    Hi,
    Still getting the wrong values
    FYear start from April to Mar
    For ex:
    2012                                                                                    2013
              apr     may     jun     jul     aug     sep     oct     nov     dec   jan     feb     mar
              1        1            1     1       1        1         1        1        1       1       1        1
    YTD
    OT     1          2          3      4       5        6        7        8        9     10     11     12
    Thanks,
    Ssr

  • Problem to get Correct Value for Message Id in XI (Inbound channel)

    Hi Experts
    I have XI scenario  i.e. SOAP to RFC.
    I am calling RFC and getting Response which contais Messageid Field(Raw Data).
    But while getting Response in Inbound Channel ,I ma getting Junk Value For Message Id.
    In RFC Data element for Message id is SXMSMGUID.(data tpe Raw No Of character 16 and Output Length 32)
    I am accessing some RFC functions from XI which return parameters in the RAW format.[RAW: Uninterpreted byte string.]
    For example: If I execute a RFC from the abap system (using transaction se37), one of the results is "5ECD6F4D6C6E3242921025FE74AC5153"
    When  I call the RFC from XI, response for same  parameters is "Xs1vTWxuMkKSECX+dKxRUw==".
    Is there any way to get RAW data in correct Format?
    when i import RFc in XI it's data type becomes xsd:base64Binary.
    I created one customized data element having data type RAW (32 length) and even Character(32-50 length)
    In this case RFC gives correct value but when Sceanaro runs in XI,it get Wrong data in XI Inbound channel.
    Also disturbed value and place of other Fields.
    Thanks in advance .

    Hi
    Check this forum post.. same prob as yours
    Re: Problem in RFC Lookup UDF in getting MessageID
    fixed by changing the datatype other than RAW in FM
    also,
    Data type RAW imported to ABAP from Java
    Regards
    Vishnu

  • Person or Group colum in the SharePoint list retrieves empty value for Mobile phone property

    Person or Group colum in the SharePoint list retrieves empty Mobile phone for some users although thoses users have Mobile Phone values in the User Proifles. This happens only for some users. For some users  it shows Mobile phone for
    some days and after some days it dess not show Mobile Phone though Mobile Phone entries are in the User Profiles for those users.
    Appreciate any help to fix this.
    Thanks in Advance!
    Narayana Reddy
    Narayana Reddy G

    Hi Narayana,
    According to your description, my understanding is that the person or group column retrieved an empty value for Mobile phone in SharePoint 2010.
    Please go to the hidden User Information List using
    http://<SiteCollectionUrl>/_catalogs/users/detail.aspx , check the value of Mobile phone.
    Please go to CA->Monitoring->Review job definitions, scroll to User Profile to SharePoint Full Synchronization
    and
    User Profile to SharePoint Quick Synchronization, make sure they work well.
    In addition, please take a look at :
    http://donalconlon.wordpress.com/2012/03/02/sharepoint-user-information-list-is-not-being-updated/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Correct values for DefaultExportPath option in Disco pref.txt file

    Hi All,
    I am trying to edit the "DefaultExportPath" parameter in Disco pref.txt file file. We are using Discoverer Plus and Viewer on CP4 and are using JVM1.5 or higher.
    I referred to Metalink Doc Id: 365245.1 and Oracle Configuration Guide doc B13918_03.
    I am interested in making the local system desktop as the default export location for all the users with no exceptions.
    Tried to edit the parameter values to
    DefaultExportPath = "C:\Documents and Settings\<Windows user name>\Desktop"
    but it didn't work.
    Also came across Metalink Doc Id: 438598.1 which talks about changing individual systems "deployment.properties" file which I don’t want to get into. It’s too much of over head.
    I am looking for some pointer so that we can edit the pref.txt file to change the default location to the desktop universally across all the users.
    Any help is appreciated.
    Thanks.

    Hi Rod,
    Thx for the update.
    Just one more dumb questions. Is there an automated way of changing these properties. Physically changing them would be vey tough since quiet a few of our users work remotely.
    Thanks.

  • Is there a way to trade in old ipods and get the correct value for them?

    I have a 30gig video which i bought only 2 years ago for about 400 bucks, and its still in great condition(works perfectly, only has a couple scratches which arent even on the screen) what should i do to get the around $200 it's still worth, because i realy want the new ipod touch? Any help is apreciated.
    Thanks

    Not sure what you're looking for here... Apple won't give you more than 10% off a new iPod for it on their recycle program. I have to think selling it is a better option for you. If you're uncomfortable with ebay, there are other options available, but this isn't really the place for that discussion.

  • Retrieving Characteristic Values for Material in Sales Order

    Hi,
    I'm trying to create a program which allows me to extract the characteristic values of a configurable material in a sales order. I need to know which tables are used and how they are linked. Thanks

    CALL FUNCTION 'VC_I_GET_CONFIGURATION'
        EXPORTING
          instance      = vbap-cuobj
          language      = 'K'
          print_sales   = 'X'
        TABLES
          configuration = ex_tkomcon
        EXCEPTIONS
          OTHERS        = 4.

  • Error window while changing the value in SelectOneChoice.

    Hi I am facing a problem on change of values in SelectOneChoice, "ERROR For input string: "N"
    Below is how i am implementing SelectOneChoice:
    I am creating values for SelectOneChoice in a Java class:
    *SelectItem itemY=new SelectItem();*
    *itemY.setLabel("Yes");*
    *itemY.setValue("Y");*
    *confirmation.add(itemY);*
    *SelectItem itemN=new SelectItem();*
    *itemN.setLabel("No");*
    *itemN.setValue("N");*
    *confirmation.add(itemN);*
    Using this values in JSFF like this:
    *<af:selectOneChoice value="#{bindings.confURLSubmitted.inputValue}"*
    *label="Conference Website URL Submitted"*
    *required="#{bindings.confURLSubmitted.hints.mandatory}"*
    *shortDesc="#{bindings.confURLSubmitted.hints.tooltip}"*
    *binding="#{backingBeanScope.EditComplianceDetails.confURLSubmitted}"*
    *id="confURLSubmitted"*
    *unselectedLabel="Select One"*
    *autoSubmit="true"*
    *valueChangeListener="#{backingBeanScope.EditComplianceDetails.OnConfURLSubChange}">*
    *<f:selectItems value="#{pageFlowScope.generalLists.confirmation}"*
    *binding="#{backingBeanScope.EditComplianceDetails.si1}"*
    *id="si1"/>*
    *</af:selectOneChoice>*
    And in bean method i am trying to print the selected value in SelectOneChoice:
    *public void OnConfURLSubChange(ValueChangeEvent valueChangeEvent) {*
    *// Add event code here...*
    *System.out.println("this.confURLSubmitted.getValue() "+this.confURLSubmitted.getValue());*
    Now when i try to change the value in SelectOneChoice:
    I am getting an error window "ERROR For input string: "N"
    Any idea y i am getting this error.
    Thanks in Advance

    Remove selectOneChoice value binding and set static value and try
    *<af:selectOneChoice value="XXX"*
    label="Conference Website URL Submitted"
    required="#{bindings.confURLSubmitted.hints.mandatory}"
    shortDesc="#{bindings.confURLSubmitted.hints.tooltip}"
    binding="#{backingBeanScope.EditComplianceDetails.confURLSubmitted}"
    id="confURLSubmitted"
    unselectedLabel="Select One"
    autoSubmit="true"
    valueChangeListener="#{backingBeanScope.EditComplianceDetails.OnConfURLSubChange}">
    <f:selectItems value="#{pageFlowScope.generalLists.confirmation}"
    binding="#{backingBeanScope.EditComplianceDetails.si1}"
    id="si1"/>
    </af:selectOneChoice>

  • What are the default values for "default if unwired"?

    How do you know what the default value for an object will be...if using a "use default if unwired" with an event case?
    Is there a listing somewhere of what default values will be?
    Thank you,
    cayenne

    tst wrote:
    Personally, I would highly recommend disabling this on every single tunnel coming out of an event structure (with the possible exception of the tunnel going to the loop's stop terminal). If you use this option, you are almost guaranteed to forget to wire a required value into a tunnel at some point in the future when you add a new case.
    More generally, I think that this option should not be the default for these tunnels. You can see more about this here and I would suggest voting it up if you agree with it - http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Outp​ut-tunnels-from-event-structure-should-default-to-​...
    VERY much agreed!  Disabling the "default if unwired" option makes absolutely certain that you have considered the correct value for every case.
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Report not picking value for segment reporting

    Hello,
    The PA report is not picking up the carry forward value. I have checked the following.
    1)in FS10N  balance carry fwd has been done.
    2)2keh Profit center carry fwd actual balance has been performed
    3)KE5Z Chk a/c wise transaction, it is showing that PA documents exist
    The program was developend last year December and it had picked the correct value for the same (cumulative value).
    Kindly let me know what could be the possible reason. Any pointer for the same will be highly appreciated.
    Thanks & Regards
    Jyoti

    self answerd

Maybe you are looking for

  • Can not add new mail account following 10.6.2 upgrade

    Mail crashes when trying to add a new IMAP account. Process: Mail [394] Path: /Applications/Mail.app/Contents/MacOS/Mail Identifier: com.apple.mail Version: 4.2 (1077) Build Info: Mail-10770000~4 Code Type: X86-64 (Native) Parent Process: launchd [97

  • Oracle backup with CA ARCserv question

    Hi I back up Oracle database by using CA ARCserv with agents for Oracle which seems to be in collaboration with RMAN. Just in case, I typed RMAN command 'crosscheck ' and then showed some logs, which means that there are still some archivelogs even a

  • Installing Arabic version of Indesign

    hello. i have tried installing the ME version of indesign. went through the whole process described here. http://www.typophile.com/node/94478 but in the end the Arabic version did not install as there was an error. now, when i return the the applicat

  • Installation issue - Question Mark over icon?

    Hi. I just purchased FCE4 to upgrade from my old version. I did the install, and it said it was successful. I rebooted.  My FCE icon has a big question mark over it, and clicking on it doesn't open the software. Any ideas? Thanks.

  • You are not authorized to display the panel for selecting a power plan

    I'm running Windows 7. Installed "Power Manager" via System Update 4.0 last night (10/23/2009). Getting this error when hitting FN+F3. You are not authorized to display the panel for selecting a power plan. Furthermore, I'm unable to see any of the d