How to Create LOVs in ADF  pragmatically  if DataControl is from WebService

Hi All,
I consumed Web-services in ADF application to do CRUD operation on some tables(for example i created one web service which perform all crud operations on database that tables are mapped)
now what i required is i consumed that web services, I created DC from that WS ,And In ADF application i created insert operation the data is inserting well,but that tables are mapped i want to
display LOVs for that foreign-keys as we know id we created ADF application from database we ll able to create LOVs like thatbut this is possible to create only through pragmatically.
is there any links for creating LOVs from Web-services Data Control.
Thanks
Shankar

Hi,
if you accept lists to hold the LOV data, then here is an example : http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples --> sample 70
Frank

Similar Messages

  • Can anyone explain how to create lov programatically?

    Hi to all,
    Can anyone explain to me how to create lov programatically?.
    Actually i created a region and items usig code and i want to know how to create lov and mapping also.
    Suppose anyone knows plz let me know. its urgent one.
    Thanks in Advance.
    by
    senthur

    Hi,
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean); OAMessageLovInputBean lovInput =
    (OAMessageLovInputBean)createWebBean(pageContext, LOV_TEXT, null,"inputTest");
    webBean.addIndexedChild(lovInput);
    // Specify the path to the base page.
    lovInput.setAttributeValue(REGION_CODE, "/oracle/apps/dem/webui/Basic");
    // Specify the application id of the base page.
    lovInput.setAttributeValue(REGION_APPLICATION_ID, new Integer(20001));
    // Specify the LOV region definition.
    lovInput.setLovRegion("/oracle/apps/fnd/framework/toolbox/tutorial/webui/EmployeesLovRN", 0);
    // Validation should be enabled for LOVs unless it's essential for the field to allow a partial value (in a "Search" region, for example).
    lovInput.setUnvalidated(false);
    // Configure the LOV mappings.
    // Note that you must call this method after you add the messageLovInput item
    // to the web bean hierarchy.
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_RESULT, // direction
    LOV_REQUIRED_NO);
    lovInput.addLovRelations(pageContext, "inputTest", // base page item
    "Empname", // lov item
    LOV_CRITERIA, // direction
    LOV_REQUIRED_NO);
    Read more in Dev Guide. Chapter List of Values & Search forums.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to create a VI that detects and records responses from user

    Does anyone has experience in creating a VI that allows the user to e.g., watch a video or series of images, pause or rewind video etc. and the VI records the duration of all pauses or user responses.

    avenue wrote:
    How to create a VI that detects and records responses from user
    You definitely need to check what 'EVENT STRUCTURE' is and how to use it... because thats needed to write such code.
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production?

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

    How to Create a OLAP Cube in DEV using SSAS from Raw file system backup from Production? I dont have a .abf file available. Two paritions in production are missing data. We were able to get back file system backup which contains the files for these two paritions.
    How do I create a cube in Dev using this file system backup.
    we are on SQL Server 2008R2.
    Thanks,

  • How to create LOV not based on a View Object attribute?

    Hi,
    I am creating a handed-made search form and I want to create an af:inputListOfValues.
    I have :
    - a read-only-view-object to get the LOV values from BD.
    - af:inputListOfValues tag (droped from Component Palette).
    How can I create the listOfValuesModel in Bindings layer? (the inputListOfValues is not based on a View Object attribute).

    Sorry, I think I am not very clear in my posts.
    My requirement is to create a LOV but I have no ViewObject. I just want an input (not based on a view object attribute), alone, but with a LOV (where lov's datas are get from a view object).
    In a "normal" LOV I would have something like this :
    in jsff :
    <af:inputListOfValues id="departmentIdId"
                                popupTitle="Search and Select: #{bindings.DepartmentId.hints.label}"
                                value="#{bindings.DepartmentId.inputValue}"
                                label="#{bindings.DepartmentId.hints.label}"
                                model="#{bindings.DepartmentId.listOfValuesModel}"
                                required="#{bindings.DepartmentId.hints.mandatory}"
                                columns="#{bindings.DepartmentId.hints.displayWidth}"
                                shortDesc="#{bindings.DepartmentId.hints.tooltip}">
            <f:validator binding="#{bindings.DepartmentId.validator}"/>
            <af:convertNumber groupingUsed="false"
                              pattern="#{bindings.DepartmentId.format}"/>
          </af:inputListOfValues>in pageDef :
    <listOfValues StaticList="false" IterBinding="EmployeesView1Iterator"
                      Uses="LOV_DepartmentId" id="DepartmentId"/>in model layer : a view object (EmployeeView) with view accessor and LOV based attribute, and a read only view object (DepartmentRVO) to get datas for the LOV.
    But in my case I have no ViewObject, so I don't know how to create the listOfValuesModel in fragment pageDef.
    I have :
    <af:inputListOfValues label="Label 1"
                                    popupTitle="Search and Result Dialog"
                                    id="ilov1" model="here I want to point to a listOfValuesModel but I don't know how to create it"/>in pageDef : the listOfValuesModel but I don't know how to create it.
    in model layer : just a read only view object (like DepartmentRVO), to get the datas for the LOV.
    Edited by: h0s on 29 févr. 2012 00:31

  • How to create LOV on view object with itself

    Hi
    My scenario is that I have COUNTRY table with columns Country_Code and Country_Name.
    I need to display the Country_Name as selectonechoice. User will select some country name and then I should get the Country_Code associated with the selected Country_Name in Managed bean.
    Could you please suggest how to achieve this?
    Regards,
    Vinod

    Hi
    My English isn't very good.
    create a view obj on COUNTRY table then from Data Control drag&drop view obj as a Single Selection and then select Adf Select One Choice and from there you can select which attribute to display.
    in managed bean you can get the Country_Code from the below code:
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iteratorRow =
    (DCIteratorBinding)dcBindings.get("iterator name for view obj");
    Row row = iteratorRow.getCurrentRow();
    System.out.println("row[]=" + row.getAttribute(0));
    Habib

  • How to CREATE SUBQUERY in ADF or generate the ADF table consisting of colum

    hi,
    I have to generate the ADF table consisting of columns from different database tables depending on some criteria.. kindly help me in generating the subquery or retrive the columns from different database tables......

    hi, i m using adf bc, toplink . i have got 3 row of data in a table now i wnt to pass these values one by one in the query to fetch the coloumn from the different database table and place the result obtained in the third new coloumn... can u give me the detailed answer

  • I need to know how to create a pdf document larger than 129 inches from MS Project 2007

    I am completely new to Adobe Acrobat Pro 9. I need to know how to create a PDF which is larger than 129 inches for use on a plotter from MS Project 2007. I have searched the Adobe support articles with no success. Any help would be appreciated.  Thank you.

    Thank you.  I have tried that but it will only let me go to 129 X 129 inches, no larger.
    Sincerely,
    Bill Stern
    NSD IT Support
    22289 Exploration Drive
    Suite 305
    Lexington Park, MD 20653
    Phone: 301.862.4577 ext 10
    Fax: 301.862.9828
    Email: [email protected]

  • How to create a basic pay wage type without copying from another wagetype

    Hi Gurus,
    How to create a "New Wage Type" without copying from another wagetype?
    & i want this wage type "Non Taxable" as per my organisation requirment.
    pls send me config docs on my email id. Pls it is very urgent 
    Email: [email protected]
    Pls Help me
    Regards
    MHPO

    Hi Ram,
    Thanks
    One more thing should i create "Non taxable payment wage type" in Basic Pay.
    in Basic pay there is no any wage type copy Non taxable Wage type but Additional Payments there is one Copy Wage type name is "M400 Non taxable payment"
    i check the all config related setting related to M400 non taxable payment
    can i copy in Basic Pay  any wage type & create new wage type (xyz)
    & i change all setting eg processing class & all is similar in (XYZ) =M400
    its is ok or not

  • How to create a tall page vertical layout for ipad from indesign

    Kindly support me to create this page
    tell me how to create a lay out for cover image and bottom text
    Looking forward to hear from you soon,
    Thanks & Regards,
    Ajwan Arouje

    I have invented myself,
    Thanks

  • How to create rewrite rule to accept only mail pass from antivirus server

    I want to set JES messaging 6.0 to accept only mail that scaned from antivirus server. If clients send direct to messaging server it will forward that mail to antivirus server. After mail was scaned it is sent to messaging server and messaging server accept it.
    How to create rewrite rule for this case?

    Please read this technical note, for setting up such a configuration:
    http://ims.balius.com/downloads/AlternateConversion.pdf
    Please note, this site contains some other very useful information for Messaging Server, but IE browsers are NOT supported. You must use some other browser.

  • How to create a proxy to retrieve the xml file from web services

    Hi Every one,
    We have a requirment where we receive a xml file from Kenexa, a third party HR tool using a middleware tool. from SAP side We have to create a proxy to retrieve the xml  file from web services by initiating call through middleware tool i used earlier.
    these are the steps i intend to follow to accomlish the requirement.  
    1) middleware tool has to initiate the call to kenexa web services to  receive the xml file when it is available.
    2) On SAP we need to create a ABAP Proxy service provider to middleware where this file can be received.
    Can any one guide me how i can create a proxy to retrieve the xml  file from web services by initiating call through other middlewre (its not PI). 
    Any help would be really great, i am not a ABAP developer, so please help me with this. Thanks.

    Thank for reply.
    The computers are in different locations, but yes it's possible, the users in this enviroment are all local administrator of the machines, and we can distribute the script centrally from the DC automatically
    Acrobat use Java, right? I'm not so expert in java, but something about it could not be so difficult to manage.
    Do you know some place where i can get some info about JS and acrobat?

  • How to create a SSIS package to delete word documents from local system

    Hi All,
    How to create a small SSIS package to delete word documents from local system. Word documents might be one or two weeks ago.
    Thanks in advance for your help.

        Dim filename As System.IO.FileSystemInfo
            filename = My.Computer.FileSystem.GetFileInfo("c:\temp.doc")
            If (Now.DayOfYear - filename.CreationTime.DayOfYear) > 3 Then
                'filename.Delete()
            End If
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • How can i return an object isn't java object from webservice????

    Hi !
    I have a problem in my Project. When i call method return a java object from webservice , it 's too easy. But when i create my own object (ex:ClientRequest.class) , it doesn't work exactly T_T . When i return that object (on client, doesn't have ClientRequest.class) , i cann't access its static variables.
    How can i do it ??
    Please help me !
    Thanks a lot !!!!!
    class ClientRequest {
    public static int i;
    public static String s;
    public ClientRequest() {
    }

    You can use REFCURSOR type for this. In java SQL TYPES this is available too. In your PLSQL use REFCURSOR for that array and then take the same from java code. Look in the servelet programming book for this SQLTYPE and see PLSQL for handling refcursors. We have done this way and it works.

  • How to Create Page Navigation : ADF Swings

    How can i create Page Navigation in ADF swings ,which displays 20 records per page .
    Regards
    Bhanu Prakash

    Hi,
    if you base this on ADF then just edit the table binding to show 20 records at a time. The default is 10
    Frank

Maybe you are looking for