Selection of setting inside the component af:table LOV

Hi all

I use Jdev 12 c.

I can't find anything on the definition of the selection of a component of SelectOneChoice when it is inside a table.

My use case: I'm iteration in a list of serial numbers, and ask a CreateWithParams liaison to a number of different parameters.  Those new lines appear in an af:table component.  One of these parameters can take the values 1, 2 or empty.  For this attribute, I have set up a selectOneChoice with a fixed/static LOV to the choice.  Now, the CreateWithParams is correctly set the value of the ViewObject line, but I don't know how to set the selection SelectOneChoice the correct value.  It is not done automatically.  Y at - it a way I can get the RichSelectOneChoice component in my managed java bean for each line so that I can manually set the selection of the component?

Thanks for reading.

Lance

Solved the problem with a static list display object.  It was with my link layer.  The LOV was not part of the binding of the tree, so he was not updated correctly.  For those who have this problem in the future, put in place a static list view object and access it like a LOV in the view object related to af: table.

Tags: Java

Similar Questions

  • ERRO:attribute headerDisabled may not be set on the component

    Hi all

    I have to add region table in standard page to view additional information. So created region table package customized by using stacklayout region im trying to extend.but each time, click on apply in customization get below error.

    ERROR: the attribute may not headerDisabled be set to the component

    Please help me it is urgent.

    Robet

    Hello

    -Once remove the customization and re - create the stacklayout region and then try to extend with the region.

    Let me know... :))

    Concerning
    Meher Irk

  • JSFF inside the component watch square as boxes

    Hi experts jdev,.

    With the help of jdev 11.1.1.5.0 - adfbc.

    am sad to this:(am continuer à se battre avec jdev)

    When conponet jsff opened inside all show themselves as a square box.

    so I closed and open. He (square box) disappears. If I drag the component means. It shows once again as a square box.

    When executing page without problem.

    What is the reason. ?

    Try this
    http://rcastrosp.blogspot.in/2011/09/JDeveloper-1112-fails-to-render-Web.html

  • How to communicate a button to a movie_clip inside the component UiLoader using AS3?

    Hi, I do a flash app to test various paintings, for a company.


    I have a movie clip on stage with buttons on the left side and a uiloader side that loads an external swf file on button (thumb_01) click-target. In main movie clip, there are two buttons. 1 trigger a function to choose a wall and a 2nd trigger a function to select the roof. External file swf (movie_01.swf) has two clips 1 is a wall (mask_01) and the 2nd is roof (mask_02). Now the problem is I want to click a button to select the wall inside the external swf file to change its color. I am sure that the problem is in the path by which I try to choose a film of wall that is inside UiLoader. Can someone tell me what will be the path to trigger a function to a clip inside Uiloader?



    Here is my code for the button to select a wall or roof .




    import flash.events.MouseEvent;

    Import fl.motion.MotionEvent;



    var targetObj:Object;


    selectWall_btn.addEventListener(MouseE... selectWall);


    function selectWall(evt:MouseEvent):void {}

    targetObj = uiloader.movie_01.mask_01; <-I think the problem is in this way...

    trace ("wall is selected!');


    }





    Here's the code for uiloader =...



    Import fl.containers.UILoader;



    Object (this). slider_mc.thumb_01.addEve,... loadMovie_01);


    function loadMovie_01(evt:MouseEvent):void {}


    trace ("film is loading!");


    var uiLoader:UILoader = new UILoader();

    uiLoader.source = ' movies/movie_01.swf ";

    uiLoader.scaleContent = false;

    uiLoader.x = 291;

    uiLoader.y = 19;

    addChild (uiLoader);




    uiLoader.addEventListener(Event.COMPLE... completeHandler);

    function completeHandler(event:Event) {}

    trace ("number of bytes loaded:" + uiLoader.bytesLoaded);

    }

    }

    Error is the following...

    Scene 1, Layer 'Forth', frame 1, line 431120: access of undefined property uiLoader.



    Can someone help me?

    Part of the problem is due to declare the uiLoader inside a function.  When you do that limit its scope within this function.  You must declare outside any function if you need to access it in more than one function.

    import flash.events.MouseEvent;

    Import fl.motion.MotionEvent;

    var uiLoader:UILoader;

    var targetObj:Object;

    Other issues I consider the line that you point.  This is not spelling the name, with a small 'l '. Also, if you want to target that contains the UILoader, you should target its 'content' property, as in...

    targetObj = uiLoader.content.mask_01

  • SQL: how to integrate the setting inside the quotes for wildcard character %

    I would like to know how to change a SQL statement to include a parameter within double quotes. I want to use the parameter inside a statement such as: SELECT * table col WHERE AS '%@parm '.

    I can get the query to work without the parameter, but not with her? Is there a workaround for CS3?

    Thank you

    Well, after much trial and error, it seems I had to change the setting itself.

    and from this
    Request.Form ["TextBox1"]:

    for this
    '%' + Request.Form ["TextBox1"] + "%";

    Yay!

  • How to enable / disable the component af:table command button

    Hello

    I use JDev 11.1.2.4.

    I have a table that looks like this

    Action ChainCount

    button 1

    5 key

    0 key

    0 key

    I want to disable the buttons when the value in column 2 is 0.

    I tried setting off of the button property

    #{bindings. {RtnOSPickwave1.children.ChainCount.inputValue lt 1}

    #{bindings. {RtnOSPickwave1.collectionModel.bindings.ChainCount.inputValue lt 1}

    #{bindings. {RtnOSPickwave1.collectionModel.ChainCount.inputValue lt 1}

    but no luck.

    any ideas?

    Thank you

    Try then with #{rank. {ChainCount lt 1}. If it does not, after the opening of the tag.

    Dimitar

  • If you select a value inside the brackets

    IM using oracle 10g.
    Does anyone know to select a value in a parentheses?

    For example, my data looks like

    Column1
    ----
    test (name1)
    Test2 (name2)
    test3 (Name3)

    I only take values outside parentheses. the only thing I've found is select substr, but im do not know how to use it

    Published by: Jay on July 26, 2012 07:17

    Maybe this:

    SQL> with my_tab (column1) as (
      2  select 'test (name1)' from dual union all
      3  select 'test2 (name2)' from dual union all
      4  select 'test3 (name3)' from dual
      5  ) -- end of sample data
      6  select column1, substr(regexp_substr(column1, '[(][^)]*'), 2) str
      7    from my_tab;
    
    COLUMN1       STR
    ------------- ------------
    test (name1)  name1
    test2 (name2) name2
    test3 (name3) name3
    
  • Chart "sets" inside the symbols

    the search here, and Googling for how it creates sets of graphics in a single symbol, has been fruitless so far.

    One of the tutorials online and David Stillers HERE

    Illustrates the use of several graphics games stored within a single symbol and how to access.  There is however no comments on how to create them.  Probably not necessary for intermediate or advanced user, but for me to be really new... his apparent not all how cela is done.

    I want to create the illusion of a mule walk by fiddling with the legs in a set of graphics and then we hope to animate.

    It seems that I could put in a single symbol as shown in the video above and access as described here.

    There may be better... but in any case I still want to know how to put multiple versions of a Graphic in a single symbol.

    What do you mean how to create? You created them. You can make a new graphic and then draw the work giving each version of the game with its own keyframe.

    Then where it shows the mouth about 4 minutes. You create a new graphic symbol, cutting one of the mouths and stick it on the timeline. You can make a new blank Keyframe, will copy the next mouth and stick it on this picture and so on. You are then the nested graph it shows about 5 minutes.

    BTW, this technique is the best thing I've ever learned about animation in Flash.

  • ListView with TextField inside the component and requestFocus()

    Hello

    I'm trying to implement the logical: when the page with ListView is indicated - start editing (see the keyboard) in the field of specific text that is part of the agenda of the ListView.

    TextField.requestFocus () works very well if it is called some time later, after loading the page (assuming that when ListView load model and created the UI elements).

    How to identify when requestFocus() is success? onCreationCompleted for TextField/ListView does not work.

    It can be done with QTimer but I want to keep it as a backup plan.

    Thank you

    Can you try to add to your Page (or your ListView):
    attachedObjects:]
    {RenderFence}
    raised: true
    onReached: textFieldName.requestFocus)
    }
    ]

  • Value set with the table type

    Hi all
    I use R12.1.3 EBS. I want to create a value set with the posting type "Table". But I must specify what application will be set and the table to use. I want to refer to an another diet/no apps. Is this possible? I have the link of database between this regime to receivables / via SQL Developer, I'm able to query or manipulate the data.

    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    "CORE     11.1.0.7.0     Production"
    TNS for Linux: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks in advance,
    Bahchevanov.

    Create a custom view in the schema of APPS that points to the table in the remote database, and you should be able to create a validated set of values from table based on the custom view. This will require you to create a link of database on the remote database (or a private database link in the APPS schema)

    HTH
    Srini

  • The content inside the af: showDetailItem not vertically stretched to adjust the size of the browser

    Hello

    The structure of my page is as follows:

    < af:panelTabbed id = "pt1" dimensionsFrom = "disclosedChild" styleClass = 'AFStretchWidth AFStretchHeight' > >

    < af:showDetailItem id = "sdi1" styleClass = "AFStretchWidth AFStretchHeight" >

    < af:panelStretchLayout id = "pgl21" styleClass = "AFStretchWidth AFStretchHeight" >

    < f: facet name = "center" >

    < af:panelGroupLayout id = "pgl1" layout = "scroll" >

    ........ (content)

    < / af:panelGroupLayout >

    < / f: facet >

    < / af:panelStretchLayout >

    < / af:showDetailItem >

    < / af:panelTabbed >

    If the size of the browser's 1936 X 1056, the content inside the component - panelGroupLayout is not the size of the full browser and it seems that it does fit for 1024 X 768 size of the browser.

    How to create content to occupy the size according to the size of the different browser?

    Thank you!

    Susan

    Susan, she doesn't look like you have given to your disposal. I see the problem could well be the surrounding container facet "contenseStretch." There you have a layout of the Group Panel in scroll mode. This container does not stretch its children.

    Try my or your sample (the stuff of Panel tabs) in a new page in the facet of the center of a provision of the expandable Panel or a set of tie of available grid 100%.

    See if it works then.

    Timo

  • Selection of slice in the Save for Web dialog box to 17.1

    Since the upgrade to Illustrator 17.1, I can choose is no longer slices in the Web dialog box, nor can I select a range on another layer than the one it was created the. Anyone else see this problem?

    Hello world

    We apologize for the inconviences. The product team is currently studying the bug and seeks to provide a fix in the near future.

    In the meantime, try the suggestions provided by Nolanco or jwsiddons as a workaround.

    Nolanco:

    In the window of the web if the image is larger than the window, zoom out to see all the work plan (made on screen or less percentage), in this way is possible select any range, when the if larger image that the window the offending behavior to take place.

    jwsiddons:

    My work around was to use the Selection of slice inside the artboard tool and go with file > save selected slices.

    Thank you

    Amy

  • On LOV ValueChange event inside the af: table to get the data of the selected row

    Hello

    I LOV on one of the columns inside the af | table. I use createwithparams to create a new row in the table. Then I use the LOV to get the value of the column LOV. Then I need to set some additional attributes on the new line in the value change listener. I get null for all attributes with the following code in the valuechangelistener. If I select a new value by using the LOV, I get the previous values of the attributes. Y at - it an easy way to get all the attribute values for the line.

    I use a unique selection on the table. valueChangeEvent.getNewValue gives the value of the LOV column only.


    {} public void manualClassNumValueChangeListener (ValueChangeEvent valueChangeEvent)
    Add the code in the event here...
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) manualClassBusResults.getRowData ();
    Line = rowData.getCurrentRow ();
    System.out.println("ManualClassNum:"+row.) GetAttribute ("ManualClassNum"));
    System.out.println("CodeSubType:"+row.) GetAttribute ("CodeSubType"));
    System.out.println("seqnum:"+row.) GetAttribute ("seqnum"));
    Iterator DCIteratorBinding = ADFUtils.findIterator ("RenewalManualClassBusIterator");
    line = iterator.getViewObject () .getCurrentRow ();
    System.out.println("ManualClassNum:"+row.) GetAttribute ("ManualClassNum"));
    System.out.println("CodeSubType:"+row.) GetAttribute ("CodeSubType"));
    System.out.println("seqnum:"+row.) GetAttribute ("seqnum"));
    }


    Thank you and best regards,

    S R Prasad

    {} public void manualClassNumValueChangeListener (ValueChangeEvent valueChangeEvent)
    Add the code in the event here...
    ADD THIS LINE OF CODE AND SEE IF IT HELPS
    valueChangeEvent.getComponent () .processUpdates (FacesContext.getCurrentInstance ());
    JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding) manualClassBusResults.getRowData ();
    Line = rowData.getCurrentRow ();
    System.out.println("ManualClassNum:"+row.) GetAttribute ("ManualClassNum"));
    System.out.println("CodeSubType:"+row.) GetAttribute ("CodeSubType"));
    System.out.println("seqnum:"+row.) GetAttribute ("seqnum"));
    Iterator DCIteratorBinding = ADFUtils.findIterator ("RenewalManualClassBusIterator");
    line = iterator.getViewObject () .getCurrentRow ();
    System.out.println("ManualClassNum:"+row.) GetAttribute ("ManualClassNum"));
    System.out.println("CodeSubType:"+row.) GetAttribute ("CodeSubType"));
    System.out.println("seqnum:"+row.) GetAttribute ("seqnum"));
    }

    Thank you
    Nini

  • Set the focus to select the list in table form?

    Version 4.1.1

    Hello

    I have a tabular presentation that has a display column in the first field, the date field, and then a selection list.

    When the user clicks the button add_row, is it possible to have the focus of cursor by default on the selection list or at least the date field?

    I tried a few suggestions listed in this forum, as the addition of it to add line javascript

    $('select:enabled:visible:last').focus ();

    and a little more. but they do not work.

    Any suggestions please? or this is not possible?

    Thank you
    Ryan

    ECHR wrote:
    Hi Ryan,

    If you know what the column number has the selection list, you can use this snippet of javascript after the AddRow:
    Assume that the selection list is the 3rd column

    $('input[name="f03"]').last().focus()
    

    It won't work, if f03 is a selection list that the selector must be

    //try
     $('select[name="f03"]').last().focus()
    
  • Inside af AF:selectOneChoice: table sometimes does not display the appropriate values, based on the results of the query of the view object

    Hello

    I use jdev 12.1.2.

    I have a few components of af: selectOneChoice that is contained in an af:table element.  The table is extracting lines from database and display data.  Now here's the weird part: sometimes the component of selectOneChoice will have the correct value selected, and other times it will be just left unchecked.  I can verify that the data in the object view lines are indeed correct after I request them.  The LOV for soc components are properly set up (some are configured as static list display objects and some are set up as model driven lists based on display objects).  I have just completely puzzled me as to why they work sometimes and then not work at times even though I am following the exact same steps to reach that point in my application.  Someone at - he never meets this problem before?

    Thanks for reading.

    Problem solved!

    For anyone having this problem in the future: do not try to do a partial trigger on a table that is not in the visible panelTab.  The problem is that when my view criteria applying, I was refreshing the TWO tables.  This caused that was not visible to lose the selectOneChoice selection, while the other table was very good.  Remove the partial relaxation for the table that was not visible caused the data to be maintained properly during the exchange between the tabs and change the view criteria.  Thanks for the help again Ashish, stumbled on the real root of the problem, after following some of your suggestions.

Maybe you are looking for