Bind subscreen in CL_GUI_CONTAINER object

Hi colleagues,
I have following code which works fine - divide screen with splitter into two section.
  create main container
    create object go_cont
      exporting
        extension         = 500
        side              = go_cont->dock_at_top
        name              = 'CONTAINER'.
  create splitter
    create object go_splitter
      exporting
        parent  = go_cont
        rows    = 2
        columns = 1.
  create pane - overview
    go_splitter->get_container(
      exporting
        row    = 1
        column = 1
      receiving
        container = go_cont1 ).
  create pane - details
    go_splitter->get_container(
      exporting
        row    = 2
        column = 1
      receiving
        container = go_cont2 ).
Then I have subscreen 0210 designed in Screen painter.
How can I bind this subscreen to container go_cont2?
Thanks a lot for help.
Best Regards
Martin

Hi Martin,
I think this will not be possible: A GUI control always needs a screen where it is bound to, in a control area, as docking or dialog container. Also your splitter is based on an other gui control or screens control area.
The other way round, screen in control, is not possible. No way, you will have to put the subscreen content in some kind of gui control/container.
Regards,
Clemens

Similar Messages

  • Dynamically change the Binding of a view object

    I want to reuse a panel several times in my application. The VO has one bind parameter (:1). The same panel should be reused several times with different bind variables.
    I found a technical note concerning this issue called: How to Dynamically Change the binding of a View Object to a JClient Panel. This works for JDeveloper 9i but not for JDeveloper 19g. Does anybody know how to dynamically change the binding in JDeveloper 10g

    You may use bindRowSetIterator() and pass in a custom fetched ViewObject or a RowSetIterator to the iterator binding that is displayed in your panel.

  • Binding RMI-IIOP Remote Object in RMI Registry through JNDI

    hi friends
    I am writing RMI-IIOP Remote Object, both server program, and client program
    are java programs. Through JNDI (with cosnaming name service), my program is working.
    But what i want is, I want to use JNDI (with rmi registry name service) for my RMI-IIOP Remote Object ( and not RMI -JRMP Remote Object). Both my server
    program and client programs are java(and not corba)
    I am not getting this, while starting server its showing some error
    Is it not possible to bind rmi-iiop remote object in rmi registry through jndi, why

    because you are supposed to use the COSNaming service with IIOP. Even if you could bind an IIOP remote object into an RMIRegistry the clients wouldn't be able to use it because the RMI Registry doesn't do the extra processing that the COSNaming service does with IIOP references.

  • Please help : Unable to bind to Network Layer object

    We have installed BO Edge 3.1 on a server and all happened successfully.
    We have installed the client applicatons on the local PC (laptop) and all was fine.
    From the Client, we can open any default universes and test successfully its conection. It works also with SAP connection.
    On the other hand, when connected on remote on the Server, and trying to make a basic report with existing sample universe, we have an error "Unable to bind to Network Layer object".
    He tries to open a dll in a Drive e:\...dataaccess\ConnectionServer\dbd_sap.dll but it happens it is not able to see the dll.
    We trye with the connection of club, fashion and it is the same issue.
    We connecting through the infoview, we have the same issue.
    Any idea?
    Thanks for your help
    Best regards,
    Here is the txt message we receive:
    CS: DBDriver failed to load : E:\Business Objects\Edge 3.1\BusinessObjects Enterprise 12.0\win32_x86\dataAccess\connectionServer\dbd_sap.dll (The specified module could not be found.

    Either SAP GUI wasn't properly installed or SAP Interation Kit wasn't properly installed.
    However, if even efashion based universe is not working - this means installation wasn't succesfull.
    Did you installed the product using local Administrator Account ?

  • ExecuteWithParameter with Binds on several view objects

    I thought I knew how to do this, but it has been a month or two, and can't seem to get the syntax right. I would really appreciate some guidance on this.
    I'm using jdev 11 to create a basic page using ADF Faces. In the model, I have three seperate read only view objects based on queries I created in SQL Developer. I also have two lookup tables for use in LOVs to display names for IDs. In one of the views, I added two LOVs for id columns. I have one more lookup that displays name, id for Tech's.
    All three views have the same named bind variable - :TechID
    What I want is to have a single select box that displays the name column from Tech that will return the ID for TechID. When the user clicks the ExecuteWithParms, all three views should be refreshed and re-queried with the new bind value, and display the results. To see this work, I have been working with readonly tables, but eventually hope to use graphs for the three views.
    Here is the general layout that I am trying to achieve.
    Select One Choice (List of Techs with display set to name, and the return set to ID)
    ExecuteWithParams button. Currenly have table1, table2, table2 in the partialtriggers field.
    table1
    ViewObject1 that has a named bind of :TechID
    table2
    ViewObject2 that has a named bind of :TechID
    table3
    ViewObject3 that has a named bind of :TechID
    This seems like it should be easy to setup. Can this be done declaratively, or do I need code. If I need code, can I get a few hints?
    Is there an example that has something similar that I can gleen how to accomplish this?
    Thanks, Ken

    Timo et al,
    I still can't seem to get this to work. I finally worked through a problem with JDeveloper working (Feels like it has been April 1st for a week straight! (American Humor)). In trying to simplify this, I am asking if someone can create the following example use case based on the HR schema. I'm not asking for a paper, just 15 or so minutes from someone that is good at this to create a working example. Also, send me a zipped copy of the project, or make it available on your blog or other downloadable location.
    Thanks for any help with this to really understand how to get JDeveloper to work for me.
    Here are the specifics for a Highly desired example:
    This is based on HR schema.
    Read Only View Objects
    -- LOCATION_LKUP
    select
    (street_address || ' ' || city || ', ' || state_province || ' ' ||to_char(postal_code) || ' ' || country_id) as location_name,
    location_id
    from
    locations
    order by country_id, location_name;
    -- ViewObject DepartmentStuffView
    select *
    from departments
    where location_id = :LOC_ID;
    -- ViewObject EmployeeStuffView
    select * from employees
    where department_id in (select department_id
    from departments
    where location_id = :LOC_ID);
    -- Modify the AppService and ViewObjects to expose Java code to
    -- modify the (name)Impl.java file
    AppService Code
    public void updateViews(String locationID) {
         // Get a reference to the ViewObjects
    DepartmentStuffView vo1 = (DepartmentStuffView) getDepartmentStuffView1();
    EmployeeStuffView vo2 = (EmployeeStuffView) getEmployeeStuffView1();
         // Now have each view object requery itself with the new parameter
    vo1.updatewithParam(locationID);
    vo2.updatewithParam(locationID);
    ViewObject Code
    -- In both ViewObjects
    -- (DepartmentStuffViewImpl.java and EmployeeStuffViewImpl.java),
    -- add the following code at the bottom
    public void updatewithParam(String locationID) {
         setTechID(locationID);
         executeQuery();
    Layout:
    Location Name: ComboBox <== Displays LOCATION_NAME, Returns LOCAION_ID
    <Run Report> <== Button to run the process
    Table1
    The view object DepartmentmentStuffView
    Table2
    The View Object EmployeeStuffView
    Expected Behavior:
    Change the location in combo box and press the run report button.
    The data in both views with bind variables get updated.
    Extension:
    Page can have search with multiple filters. The AppService can control
    which views get updated with which values depending on selections. Common
    use case.
    Thanks so much, Ken

  • How to populate bind variable in view objects where clause in ADF faces

    I've got a page with 2 input items.
    The user manually enters the first value.
    On the second input item I have created a LOV for the item which opens in a popup. How do I restrict the data returned in the LOV using the value entered in the first input item. I have created a bind variable and have included it in the where clause for the view object but how do I populated it.

    Here is an example:
    Using the HR schema with the EMPLOYEES and DEPARTMENTS tables.
    Example is using ADF BC and created an EMPLOYEES entity with an updateable view object for page,
    and created a DEPARTMENTS view as a lookup
    (SQL: select department_id, department_name from departments where department_name = :DeptName)
    1: add method to the backing bean to filter the LOV
    public void getTextValueToFilterLOV(ValueChangeEvent valueChangeEvent) {
    Object value_from_form = valueChangeEvent.getNewValue();
    FacesContext fctx = FacesContext.getCurrentInstance();
    Application fapp = fctx.getApplication();
    JUFormBinding formBinding = (JUFormBinding)fapp.createValueBinding("#{bindings}").getValue(fctx);
    DCIteratorBinding dcBinding = (DCIteratorBinding)formBinding.get("DeptLOVIterator");
    ViewObject vo = dcBinding.getViewObject();
    vo.setNamedWhereClauseParam("DeptName",value_from_form);
    vo.executeQuery();
    2. add valueChangeListener to the inputText on the page with an id and autoSubmit="true"
    <af:inputText value="#{bindings.LastName.inputValue}" label="#{bindings.LastName.label}" binding="#{backing_DeptForm.inputText3}"
    id="inputText3"
    autoSubmit="true"
    valueChangeListener="#{backing_DeptForm.getTextValueToFilterLOV}">
    </af:inputText>
    3. reference the LOV with the id name on the partialTriggers property
    <af:selectOneChoice value="#{bindings.EmployeesUpdView1DepartmentId.inputValue}"
    label="#{bindings.EmployeesUpdView1DepartmentId.label}" binding="#{backing_DeptForm.selectOneChoice1}"
    id="selectOneChoice1"
    partialTriggers="inputText3">
    <f:selectItems value="#{bindings.EmployeesUpdView1DepartmentId.items}"
    binding="#{backing_DeptForm.selectItems1}"
    id="selectItems1"/>
    </af:selectOneChoice>
    Summary:
    When you entered a text (LastName), that value is passed into the backing bean method.
    The Bean method code will find the LOV Iterator and put the value into the bind variable.
    Cheers,
    Jim

  • How to use bind parameter in view object

    in my view object has parameter as below
    where :organization_id IS NULL
    :organization_id parameter get value from LOV
    I can run the page but it show following error :
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT hou.name organization_name
    ,hapf.name position_name
    ,hapf.attribute1 position_fund
    ,pg.name grade_name
    ,pbd.budget_detail_id
    ,hapf.position_id
    ,pbd.budget_version_id pbd_budget_version_id
    ,pbv.budget_version_id pbv_budget_version_id
    ,'Y' VIEW_DETAIL
    ,'Y' VIEW_DETAIL_OCC
    ,greatest(hapf.effective_start_date, pbv.date_from) effective_date
    FROM pqh_budget_details pbd
    ,hr_all_positions_f hapf
    ,hr_all_organization_units hou
    ,per_grades pg
    ,pqh_budget_versions pbv
    WHERE pbd.budget_version_id = pbv.budget_version_id
    AND pbd.position_id = hapf.position_id
    AND hapf.effective_end_date = hr_general.end_of_time
    AND hou.organization_id = hapf.organization_id
    AND pg.grade_id = hapf.entry_grade_id
    AND EXISTS (
    SELECT 'X'
    FROM hr_all_positions_f hapf1
    WHERE hapf1.position_id = hapf.position_id
    AND hapf1.availability_status_id = 1
    AND (pbv.date_from BETWEEN hapf1.effective_Start_date AND hapf1.effective_end_date
                        OR
                   hapf1.effective_Start_date BETWEEN pbv.date_from AND pbv.date_to))
    and :gl_organization = 10)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01008: not all variables bound
    Thank you very much

    Is it a seeded view or a custom view? Ideally, in OAF you do parameter binding in the style
    organization_id = :1
    Also make sure to call setWhereClauseParams(null) on your view object before going for binding.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Where are the data-binding frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail miserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • Where are the Oracle Data Binding Frameworks for Oracle Objects?

    Oracle offers a few different options for data-binding frameworks to Oracle relational data. Amongst them they include TopLink and the Oracle Application Development Framework (ADF)in JDeveloper 10G. J2EE also offers the EJB standard framework. Both of the Oracle data-binding frameworks appear to work well with relational data but fail misserably when one tries to work with a fully fledged Oracle Object-Relational schema. I have spend much time with ADF but have not been able to create successful bindings to Objects with nested complex objects (such as a 2-level nested object) or objects containing nested tables. TopLink will not even touch Object tables.
    Have other people being more successful with this? Do we have to implement our own data binding framework? Does Oracle plan on improving these frameworks to fully support Oracle Objects?

    TopLink Runtime supports both fully fledged OX mappings and nested complex objects. These mappings can be setup in the code.
    TopLink ADF design time however currently does not have support for OX mappings.
    Hope this helps,

  • AdvancedDataGrid: binding an ArrayCollection of Objects

    All, I am a Flex newborn, so if this is a really dumb
    question with an obvious answer, please don't hesitate to respond.
    Everytime I think I wrap my head around something in this darned
    language, something else throws me totally .
    I have created a ArrayCollection, empsColl, that holds a
    number of Employee Objects. I can bind this to a DataGrid no
    problem. However, the data does not display in the
    AdvancedDataGrid. I have tried a DataProvider of HierarchicalData
    with a source of empsColl, but am very confused as to what the
    childrenField would be in this instance. The Object name sure
    doesn't work. I have also tried GroupingCollection with the same
    source, but, alas, no luck.
    Does someone have a code example where this has been done
    successfully? I see plenty of examples using XML or flat data, but
    none with an ArrayCollection of Objects.
    Thanks so much.
    Georgia

    "Vesta0424" <[email protected]> wrote in
    message
    news:[email protected]...
    > Yes, thanks, here is my ADG code. I've tried it both
    ways: Hierarchical
    > Data
    > (but as I said, don't know what the childrenField would
    be and, besides, I
    > think this data is flat really) and Groupingcollection.
    >
    > GroupingCollection: I tried a number of fields to use as
    the Grouping
    > fields,
    > this is my latest iteration.
    >
    > <mx:AdvancedDataGrid id="lvADG"
    initialize="lgc.refresh()">
    > <mx:dataProvider>
    > <mx:GroupingCollection id="lgc"
    source="{leaveColl}">
    > <mx:grouping>
    > <mx:Grouping>
    > <mx:GroupingField name="name"/>
    > <mx:GroupingField name="leaveRequestDetailID"/>
    > </mx:Grouping>
    > </mx:grouping>
    > </mx:GroupingCollection>
    > </mx:dataProvider>
    > <mx:columns>
    > <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    > <mx:AdvancedDataGridColumn dataField="leaveType"
    headerText="Type"/>
    > <mx:AdvancedDataGridColumn dataField="dateFrom"
    headerText="From Date"/>
    > <mx:AdvancedDataGridColumn dataField="dateTo"
    headerText="To Date"/>
    > <mx:AdvancedDataGridColumn dataField="startTime"
    headerText="Start
    > Time"/>
    > <mx:AdvancedDataGridColumn dataField="endTime"
    headerText="EndTime"/>
    > <mx:AdvancedDataGridColumn dataField="hours"
    headerText="Hours"/>
    > </mx:columns>
    > </mx:AdvancedDataGrid>
    >
    > HierarchicalData : an ArrayCollection of rows seems more
    flat than
    > hierarchical. I have tried binding directly to the
    XMLListData, using
    > request
    > as the childrenfield and this did not work either.
    >
    > <mx:AdvancedDataGrid id="leaveADG"
    initialize="gc.refresh()">
    > <mx:dataProvider>
    > <mx:HierarchicalData id="leaveHD"
    source="{leaveColl}"
    > childrenField="request"/>
    > </mx:dataProvider>
    > <mx:columns>
    > <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    > <mx:AdvancedDataGridColumn dataField="leaveType"
    headerText="Type"/>
    > <mx:AdvancedDataGridColumn dataField="dateFrom"
    headerText="From Date"/>
    > <mx:AdvancedDataGridColumn dataField="dateTo"
    headerText="To Date"/>
    > <mx:AdvancedDataGridColumn dataField="startTime"
    headerText="Start
    > Time"/>
    > <mx:AdvancedDataGridColumn dataField="endTime"
    headerText="EndTime"/>
    > <mx:AdvancedDataGridColumn dataField="hours"
    headerText="Hours"/>
    > </mx:columns>
    > </mx:AdvancedDataGrid>
    I put together a simpler example file, but I couldn't make it
    work either.
    If anyone else wants to pick this up, here's a starting
    point:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    private function init():void{
    trace('foo');
    ]]>
    </mx:Script>
    <mx:ArrayCollection id="leaveColl">
    <mx:Object leaveRequestID="1"
    leaveRequestDetailID="1"
    personID="1"
    name="Kostner, Kevin"
    hours="37.5"
    leaveType="Annual"
    startTime=""
    endTime=""
    dateFrom="{new Date(2009,0,5)}"
    dateTo="{new Date(2009,0, 9)}" />
    <mx:Object leaveRequestID="1"
    leaveRequestDetailID="2"
    personID="1"
    name="Kostner, Kevin"
    hours="7.5"
    leaveType="Annual"
    startTime=""
    endTime=""
    dateFrom="{new Date(2009,0,10)}"
    dateTo="{new Date(2009,0, 11)}" />
    <mx:Object leaveRequestID="2"
    leaveRequestDetailID="3"
    personID="1"
    name="Kostner, Kevin"
    hours="7.5"
    leaveType="Annual"
    startTime="8:15"
    endTime="4:45"
    dateFrom="{new Date(2009,0,7)}"
    dateTo="{new Date(2009,0, 8)}" />
    </mx:ArrayCollection>
    <mx:AdvancedDataGrid id="leave">
    <mx:dataProvider>
    <mx:GroupingCollection id="lgc" source="{leaveColl}">
    <mx:grouping>
    <mx:Grouping>
    <mx:GroupingField name="name" />
    </mx:Grouping>
    </mx:grouping>
    </mx:GroupingCollection>
    </mx:dataProvider>
    <mx:columns>
    <mx:AdvancedDataGridColumn dataField="GroupLabel"
    headerText="Test Header"
    />
    <mx:AdvancedDataGridColumn dataField="name"
    headerText="Name"/>
    <mx:AdvancedDataGridColumn dataField="leaveType"
    headerText="Type"/>
    <mx:AdvancedDataGridColumn dataField="dateFrom"
    headerText="From Date"/>
    <mx:AdvancedDataGridColumn dataField="dateTo"
    headerText="To Date"/>
    <mx:AdvancedDataGridColumn dataField="startTime"
    headerText="Start Time"/>
    <mx:AdvancedDataGridColumn dataField="endTime"
    headerText="EndTime"/>
    <mx:AdvancedDataGridColumn dataField="hours"
    headerText="Hours"/>
    </mx:columns>
    </mx:AdvancedDataGrid>
    </mx:Application>
    I put in the init() function in just as a place to put a
    break point so I
    could look at the variables. It didn't do me any good, thoug
    Sorry...I tried.

  • Bind a new view object to same adf table at run time

    Hello,
    I have an adf table, that changes based on the type of data the user selects. For example, lets say we have a page that consists of type drop down box at the top and an ADF table at the bottom, which lists data based on the type that is selected from the drop down box. For example, lets say, I have the types (Cars, Planes, and Trains).
    Let's further say we have a view object for cars, one for Planes and one for Trains. Each VO has its own specific set of attributes associated with them, which in should be reflected in the adf table that's on the screen.
    So for example, I select Train..
    My table should contain the columns, num cabs, train type, year built
    For plane, the columns might be Num engines, plane manufacturer, size(ie. 747, 727, etc), year built
    Some type of thing with Cars , cylinders, color, model, year, etc.
    Is there a way to tell my adf table to use a specific view object(ie. Plane, train, or car) at runtime?

    You can try implementing this with dynamic components, e.g. dynamic table
    >
    ADF Dynamic and ADF Read-Only Dynamic Table: Allows you to create a
    table when the attributes returned and displayed are determined dynamically
    at runtime. This component is helpful when the attributes for the
    corresponding object are not known until runtime, or you do not wish to
    hardcode the column names in the JSF page. For more information about
    working with dynamic components, see Section 26.7, "Using a Dynamic Form
    to Determine Data to Display at Runtime."
    >
    Or you use dynamic regions and swithc the region containing the table depending on the selectOneChice. Check http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm and https://blogs.oracle.com/shay/entry/adf_dynamic_regions_switching_just
    Timo

  • Bind a sequence of objects to a listview

    Hi all,
    inside of a class in fx file, I have the following code segment
    var test1 : IdObject [] = dataHandler_new.getIdList(); // getIdList() will return a sequence of instances of IdObject
    var list: ListView = ListView {
    items: bind
    for(element in test1)
    element;
    getIdList() will return a sequence of instances of IdObject. so when I delete an element in this sequence, the change is reflected in the listview. However, if I change to,
    var list: ListView = ListView {
    items: bind
    for(element in dataHandler_new.getIdList())
    element;
    delete an element in the sequence will not be reflected in the listview
    modifying an element in the sequence will be reflected in the listview
    adding and element will not be reflected in the listview
    May i know why ?
    thanks
    nedved

    Since I've been mentioned in this thread I suppose I must reply. :-)
    The general rule for bind is that the expression gets re-evaluated when any variables in the expression change (not including variables local to that expression). Consider the code:
    ListView {
        items: bind for (element in test1) { ... }
    }If the value of test1 changes, the bind expression is re-evaluated, and the contents of the ListView changes. Since test1 is a sequence, this occurs if any element of that sequence is added, modified, or removed. Now consider this code:
    ListView {
        items: bind for (element in getIdList()) { ... }
    }The getIdList() function is called once and its value is used for items the first time. However, there are no variables in the bind expression, so there is no way for the bind expression to be re-evaluated. Note that element is a local variable in this expression so nothing outside can cause it to be modified, thus it can't cause the bind expression to be re-evaluated.
    Now, I'm simplifying things a bit here. The rules are somewhat different if getIdList() is a bound function. If it is, then the bind expression will be re-evaluated if any variables used within that function are modified. However, there are many restrictions on what can appear in a bound function. In particular, assignment statements and general control structures are not allowed. I don't know what getIdList() does, but if for instance it fetches data from the network, it cannot be a bound function.
    For more on bound functions see here:
    [http://openjfx.java.sun.com/current-build/doc/reference/ch07s01.html#BoundFunctions|http://openjfx.java.sun.com/current-build/doc/reference/ch07s01.html#BoundFunctions]
    But bound functions are probably irrelevant to this discussion.
    Back to the question posed by nedved.yang.
    In the first snippet of code, the sequence is stored in test1 which is bound to ListView.items. If elements are added or removed from test1, (e.g. "delete test1[3]" or "insert newId into test1") it affects the ListView. So far so good.
    In the second snippet of code, the sequence returned from getIdList() is copied by the for-loop and then simply stored into ListView.items. There's no variable associated with this sequence. But nedved.yang asked,
    delete an element in the sequence will not be reflected in the listview
    modifying an element in the sequence will be reflected in the listview
    adding and element will not be reflected in the listviewWhat is the code that is doing this? There's no variable like test1 that holds the sequence, so how is it possible to add or delete or modify elements in it? There's some code missing that we need to see before we can fully understand the question.

  • Setting bind variables in view objects for LOV

    ADF 11.1.1.1.0
    I have two application modules - amCodeTable (contains the code tables) and amLOV (contains the list of values)
    In amLOV I have a VO aListOfValuesVo (not based on an entity) that runs a query Select * from aTable where userNr = :pBindVar
    In amCodeTable I have a VO aMainTableVo based on an EO, This VO has a field (aLOVField) which has a LOV defined on it and uses the
    aListOfValuesVo.
    I've hardcoded the bind parameter to its corresponding value and everything works as expected, list of values from
    aListOfValuesVo available on the aLOVField in aMainTableVo.
    I now need to set the bind parameter by code.
    What I have tried to do is override the execute query of the aListOfValuesVo in the aListOfValuesVoImpl.java
        @Override
        public void executeQuery() {
           setNamedWhereClauseParam("pBindVar","32");
           super.executeQuery();       
        }If I test the amLOV application module the query returns the correct values.
    If I test the amCodeTable the list of values on the aLOVField in the view aMainTableVo is empty.
    I've added a breakpoint to the executeQuery() method but it would seem that the method is not called.
    How are bind parameters for list of values set ?
    Paul

    Ok I've activated an SQL trace and got the following :
    [498] _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch_0 ViewRowSetImpl.doSetWhereClause(-1, pUserNr, null)
    [499] _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch_0 ViewRowSetImpl.execute caused params to be "un"changed
    [500] Column count: 4
    [501] _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch_0 ViewRowSetImpl.doSetWhereClause(-1, pUserNr, null)
    [502] _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch ViewRowSetImpl.setNamedWhereClauseParam(pUserNr, 41)
    [503] ViewObject: _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch Created new QUERY statement
    [504] _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch>#q computed SQLStmtBufLen: 238, actual=198, storing=228
    [505] Select b.Branch_Nr,Decode(b.status,1,'','*')||b.Branch_Id DisplayId,b.Designation,b.Status
    from stt_branch b, stt_users_branch u
    where u.user_nr = :pUserNr
    and b.Branch_Nr = u.Branch_nr
    order by 4,1
    [506] Bind params for ViewObject: _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch
    [507] For RowSet : _LOCAL_VIEW_USAGE_ch_mit_trac_model_views_codeTables_SttIncotermView_lovUserBranch_0
    [508] Binding null of type 12 for "pUserNr"To me this looks as if 2 lovUserBranch instances have been created a lovUserBranch and a lovUserBranch_0
    The parameter is being binded to the lovUserBranch but the LOV is using the lovUserBranch_0 which has a bind value of null
    Anybody got any idea as to what is happening ?
    Regards
    Paul

  • Can you bind to the request object?

    Hi all,
    Here is basically what I am trying to do.
    <h:outputText value='#{request.parameterMap["parameterName"]}' />Sadly, I am not sure how to reference the request object. I trying using this.parameterMap, but that didn't work either.
    By the way, I can not use setAttribute, because some dumb ajax on the page blanks the request. I have a hidden input, so hopefully, I can get around the problem of losing my data this way.
    Thanks,
    Grae

    The request parameter map is exposed through the 'param' variable. So you can do:
    ${param.parameterName}

  • URGEN: How to programmatically assign bind variables in View Object

    Hi,
    I have a method action in my pagedef
    <methodAction id="SetBindAttributeValueToQuotationsView"
                      InstanceName="QuotationsEBAppModuleDataControl.dataProvider"
                      DataControl="QuotationsEBAppModuleDataControl"
                      MethodName="SetBindAttributeValueToQuotationsView"
                      RequiresUpdateModel="true"
                      Action="999" IsViewObjectMethod="false">
          <NamedData NDName="quotTransNo"
                     NDValue="${bindings.SetBindAttributeValueToQuotationsView_quotTransNo}"
                     NDType="java.lang.Integer" NDOption="2"/>
        </methodAction>Im going to assign values to the bind variables and use the method action in my pagedef.
    Thanks.

    hi
    u check ur view name & page def binds value,
    both of them should be same
    thanks

Maybe you are looking for

  • How to handle the quotes('') in the procedure?

    Hi all, I have been struggling with an issue in the procedure. Let us go to the functionality of the preocedure. I am passing a parameter that has text like ' INDIA,BANGALORE,"INOX,BLR","THILAK NAGAR,JAYA NAGAR "4TH 'T' BLOCK,BANGALORE",560030' Here,

  • How to Move Catalog to New Drive?

    I have an 8,000 file, PSE 10 catalog on my current Windows 7 PC. The vast majority of the files are in C:\Projects C:\Photos C:\Users\Will\My Pictures and sub-folders within. My new Windows 8.1 PC has a modest SSD for the boot drive, so data is store

  • 5700 XpressMusic themes

    Hi All, Need 5700 XpressMusic themes any one please help me.....It would be better if you can give me some S/W by which I can create my own themes.... I dowloaded some .sis files from some sites but those were not working in my 5700..... Thanks in ad

  • Very weird folder created without my knowledge. Is this harmful?

    Hello, Here is a link to a folder that I found in the root of my Mac hard drive. Look at the name of the folder... http://pages.prodigy.net/dcifrths/strangefolder/whatisthis.jpg I didn't create it, and I don't know what did. Does anyone have any idea

  • Viewing picture from a Sony CD Mavica MVC-CD200 camera???

    I am trying, without success, to download picture from a Sony CD Mavica MVC-CD200 camera. My computer doesn't seem to recognize the USB driver. I download the driver from the Sony Web site. I have Window 2000 and lots of memory. Any help would be gre