Creation of LOV in ADH11g

Hi Friends,
I am working in ADF11g and I need some help in creating LOV's.
I need a list of value to be displayed on .jsff page where the values should be populated from a Properties file and not from Database. Is there a way to create?
And if inserted from the screen..it needs to be inserted in the Properties File.
Can someone give me some example to populate values and insert into a Properties File.
Thanks,
Melissa.

Hi,
if you want to create LOV as synchronizing with database so why need static LOV . you can create LOV with database query :)
you did not do this directly . you can make sysnchronization with database by programmetically parsing properties file's text and then can possible to insert into databse.
Regards.
zakir
====

Similar Messages

  • ER BC4J Automatic LOV Creation

    I believe it is easy to extend the already defined JDev BC4J structures to implement a new feature,"Automatic LOV Creation", which will help developers to define LOVs based on foreign keys in an easy and comprehensive manner.
    Lets assume we have two Entity Object A and B. Entity Object A references Entity Object B through a foreign key.
    The developer would like to create a View Object which includes references to Entity Object B.
    Currently the developer chooses in the View Object definition wizard first Entity Object A as "Updatable" and then adds Entity Object B beneath it as "Reference".
    Let us assume there is another option named "Create LOV" which activates when the "Reference" option is selected.
    The developer selects the "Create LOV" option and then proceeds to include attributes from Entity Object B which will participate in the View Object the same way s/he does now. When the VO is created it will auomatically include a LOV having as attributes the selected attributes from the Entity Object B which participate in the new VO and the LOV attribute values will map to the corresponding values of the newly created View Object.
    I strongly believe the automatic creation of LOVs dealing with foreign keys is a very useful feature which is easy to implement, it will "sell" well and is worth the investment.
    Best Regards
    Elias.

    The very nice example you are referring to is not appropriate. In the case of a cascading LOV we will have to perform the steps of the example.
    I would like to change the title of ER to "Automatic LOV Declaration" because I believe it is more appropriate.
    I will outline an example by using the HR schema borrowing the terminology from the example you provided.
    Create a "vanilla" ADF BC project based on Countries and Regions and update the CountriesVO to display Region_Name from the Regions Entity.
    The attributes selected for the VO are the following:
    CountryId
    CountryName
    RegionId
    RegionId1 (I set this attribute as hidden)
    RegionName
    Notice at the time we select the Regions Entity the Reference indication is set.
    So after we select attributes from the Regions Entity the JDev Engine knows the following:
    1. It is supposed to retrieve data from another Entity (Regions), therefore it knows the LOV VO --> So it can Declare the LOV for us.
    2. The RegionId of the Countries VO receives values from the Regid of the Entity (Regions) --> So it can link the LOV return value
    3. The attribute RegionName which belongs to another Entity (Regions) is displayed --> So it can add the attribute to be displayed in the LOV VO
    In the case of several "Reference" Entities the JDev Engine would create several LOVs, one for each referenced Entity.
    Best Regards
    Elias.

  • LOV does not return value to the base page sometimes

    Hi,
    I have created messageLOV type items. These LOVs do return value to the base page usually. We have a user in Uruguay who is trying to use the page which has the LOVs. He says the LOV takes a long time to return to the main page after he clicks on quick select and also the value does not get populated in the main page.
    We have not been facing any such problem here in India. The LOV has been tested rigorously with no issues as such.
    Can you please suggest a reason why such a problem is occuring? Expecting your replies soon
    Thanks,
    Priya

    Thiyaga, did you read the devguide or the tutorial ?
    Can you please give me the inputs about the creation of LOV and it requires how many lov mappings as mandatory?
    This is there in the devguideHow to identify the mapping fields of an LOV which is already existing in the base page to reproduce in a similar way and need to do a customization on top of it ?
    Open the page XML and you can find the LOV mappings.Tapash

  • Personalisation of ShoppingcartPG in iProcurement

    Hi,
    I am stuck with creation of LOV's in the table region of Shopping cart page.
    The requirement is to hide two fields in the table region and create two lov;s for the same fields.
    The details in table region populates from PoRequisitionLinesVO.
    I have added two vo's for the two fields and created the Lov regions.
    When i try selecting a value from LOV ,its giving me the following errors:
    Cannot find LOV view object (xcatdescVO1) in LOV AM.
    ViewObject attribute is null; ViewUsageName: (PoRequisitionLinesVO); RegionItem: (CATEGORYRN)
    Any help to resolve this issue is appreciated.
    Thanks.

    You need to set the View Attribute Name for the messageLovInput component that you have added to the table. You should set it to some view attribute that is present in the base table view object (and not your LOV view object).
    Regards,
    Padmaprabodh.

  • Dependent LOV creation

    Hi,
    I have a requirement that on basis of the customer account selected from a LOV, customer acct site LOV should be populated. Can someone list me the detailed steps.
    I searched the OTN but was still confused.
    Please help.
    Thanks.

    Hi
    Step by Step Creation of Dependent Lov is given in Dev guide search for Dependent LOV in dev Guide.
    Moreover,You can check this link if it helps
    http://oraclearea51.com/component/content/article/98-oa-framework/372-dependent-lov-in-oaf.html
    Ajay
    Edited by: Ajay3107 on Jul 23, 2010 5:22 AM

  • AM creation while creating a new LOV

    Hi,
    I have to create a new LOV. For this I have to create an AM,VO and LOV region. Now my question is regarding AM.
    1. Can we create a new AM or,
    2. Do I extend the already existing LOV AM.
    I created a new AM but after personalizing the page get an error "Can't find the application module...."
    I had also attached the new AM to the new LOV region created.
    So is it necessary that the existing LOV AM be extended or can we create a new AM?
    Please guide
    Thanks

    1. I have bounced server after files were transferred.
    2. The AMs are tn correct place on server
    3. The AM is attached to the LOV region and is not attached to the table
    The error stack is as follows:
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1270)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1192)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition sspn.oracle.apps.okc.lov.server.SSPN_RepSiteLOVAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:912)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1192)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1458)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2673)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1919)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:554)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:431)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:390)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:642)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:662)

  • Create LOV's for all columns at the time of folder creation

    Hi,
    I know we can automatically create the LOV's for all the columns of a database table when creating the folder in the EUL. Is this a good practice or should I create LOV's on demand? What is the disadvantage of creating more LOV's than needs to be used other than the disk storage? I also know it is not a good idea to have an LOV on a field that has a lot of values. I am tempted not to create the LOV's in the beginning, but then it becomes a high maintenance issue if I have to come back and create many LOV's later. Thank you for your input.

    Yes, it is not a good idea to create LOVs for all the columns. LOVS should be created only for the columns where parameters will be used. More the number of LOVs, slower the response in opening up your Discoverer reports and if you are using Disco Viewer, the page might take a long time to open up and frustrate the users.
    Also it is a good practise to have LOVs defined on the lookup tables or where there are distinct values in the table and not from where these values are used in the table.
    regards
    http://www.infocaptor.com <--- Free Discoverer Monitoring Dashboards

  • Creation of Record Group and LOV at run time

    Hello All,
    I have been stuck by this...I have two text items on which LOVs have been placed.Selection of one depends on selection of other.I can dynamically create a record group but how to create a LOV dynamically to populate it with the dynamic record group been created.
    For more visualization consider that filtering of data takes place in one lOV based on the other LOV been provided.
    Revert ASAP...
    Thanks and Regards,
    Kapil Uppal

    I don't think you can create a LOV dynamically, but you can repopulate a pre-existing one, which should allow you to achieve the same goal.

  • Creation of a Personalised LOV in a seeded OAF page

    Hi,
    I am trying to create a LOV item (personalised/CO extension) in a seeded OAF page.
    When I am trying to do from Create Item option of personalised page then I cannot find the option for creating the LOV mappings.
    When I am trying to create it by CO extension then there is an error that it cannot fetch the values, though I have created a customised Region with a customised LOV and by programming attaching it in the said region.
    Please suggest.
    Regards,
    Arindam.

    Hi,
    this is an Oracle JDeveloper and ADF forum. OAF has its own forum on OTN.
    Frank

  • LOV dropdown creation  for Transient VO attribute programatically

    Hi experts,
    One clarification,
    Can we have LOV dropdown List for the transient attribute in TRVO which is based on the only Transient attributes.??
    Also List of values based on the LOVVO which has Bind variable, so I am populating values programatically.
    As of now in AMImpl method I am able to execute the Query and get all values for LOVDropdown.But when same values i am not getting in the page, its showing empty values.
    I am not getting any errors in the log also.
    any sugestions pls..????
    Jdev version 11.1.1.3.0
    thanks
    Santosh
    Edited by: Santosh M E on Feb 12, 2012 11:31 PM
    Edited by: Santosh M E on Feb 12, 2012 11:33 PM

    hi user,
    sounds same,
    ID - description value
    sorry for late editing . link is changed check over.
    Edited by: ADF 7 on Jan 9, 2012 11:23 PM

  • Dynamic lov Creation.....

    hi
    how i can create a dynamic lov whose columns i will be knowing only at runtime
    ie sometimes the the columns in the select statement will be 2 some times it will be 5 sometimes 9...etc..to say n number.
    regards
    Kris

    Have not personally tried it, but could you not just create one lov with say 10 (or the max desired) columns and one record group with same number of columns, then at runtime change the record group to query what ever you wanted filling in the extra columns with nulls, then just set the column width of the null columns in the lov to 0.
    Should work.
    --pat                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • LOV creation problem

    I'm having a problem with creating some dynamic LOV's. It appears that I can only create an LOV against a table that has only two columns. When I try to create one against a table with three or more columns, even though I'm only selecting two columns, I get the "LOV query is invalid, a display and a return value are needed, the column names need to be different." error message.
    As a quick test, using the scott.emp table, I was unable to create a LOV against it. I then made a view called emptest consisting of the ename and empno fields, and then I was able to create an LOV.
    This suffices as a last resort workaround, but any idea on when this functionality might be fixed, so people can aviod the extra step?
    One of the queries I've tried to create an LOV against a table with three columns is:
    select affil d, afn_code r
    from lu_affiliation
    order by 1
    This just gives me the error message listed above. However, if I create a view first with just those two columns, and then create the LOV against the view, then it works.
    Thanks

    Yes, I've double-checked, and I am am using the D and R alias'. Perhaps it may have been caused by installing HTML DB after installing the database control and following the instructions (alerts) about revoking execution fom PUBLIC on utl_file and a few others {?}. I noticed later that it caused some problems with other packages becoming invalid, so I re-granted execution to those and re-complied the invalid packages. But, I did do all this before playing around with HTML DB.
    Yesterday I played around all day experimenting, and the only way I could create a LOV was against an object (table or view) with only two columns.
    Thanks for any assistance or clarification, though I've found a cludgy workaround.

  • LOV creation.

    I have just started using the JSP from ORACLE and really like it. I am trying to create a LOV for a field but do not know how. Is there a standard way of doing it?
    Thanks in advance.
    null

    Let's take example of employee-dept schema and use as LOV department's names:
    Iddept:
    <select name="iddept1">
    <% DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Connection conn
    =DriverManager.getConnection("jdbc:oracle:thin:@IP:1521:instance","scott","tiger");
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery("select * from dept");
    if (rset!=null)
    while (rset.next()) {
    String iddept = rset.getString("iddept");
    String namedept = rset.getString("namedept");
    %>
    <option value='<%=iddept %>'> <%=namedept %>
    <%
    %>
    </select>
    <%
    stmt.close();
    conn.close();
    %>
    Hope this helps...

  • LOV creation with UNION syntaxe

    Hello,
    I need a LOV like e.g.
    Select code, label from my_table
    UNION
    Select 10,'Label' from DUAL
    I don't know how to create this kind of LOV with Designer9i
    Thanks

    Hello,
    you should define your first table usage (my_table in your example) and then create a SQL Query Set for the second one (DUAL in your example).
    See Designer online help topic "SQL query sets" for more information.
    Regards,
    Didier.

  • How can I create a new entry without using LOV for foreign keys.

    Referring to TUHRA sample application based on HR database schema. JDeveloper 10.1.3.0.4
    How can I create a new employee without using LOV for the foreign key "job_id".
    On the first page I would like to choose the job_title from adf read-only table.
    After clicking on the "create new employee button" a creation form appears in which the job_id field is set with previous selection.
    Regards M.Winkler
    Edited by: user3541283 on 06.10.2008 03:44
    Edited by: user3541283 on 06.10.2008 03:50

    Hi,
    usually the foreign key is only set if the VO you select is dependent from a master. If e.g. you have DepartmentsVO1 that has an EmployeeVO3 as its nested VO, then creating a new instance of employees automatically add the foreign key. If you add EmployeesVO1, which is not dependent to DepartmensVO1, then the foreign key is not set. So if this is the case in THURA (keep in mind that this is not an Oracle demo but a sample used in a book about ADF) then all you need is to take the independent VO when building the new employee form.
    Frank

Maybe you are looking for

  • Sales Invoice Print

    Hi, We are into retail showroom. In the sales invoice printed, we need the incoming payment details, or A/R Credit memo adjusted against if any. Any solution? T&R Iyerchandra

  • How do I get and set column attributes in a table or a treetable with Java?

    Using 11.1.1.4.0 Hi, How do I get and set column attributes in a table or a treetable with Java? For a simple example, say I have a table and want certain roles to see all columns (including address), and other roles can see only certain columns (no

  • Total is not matching in Cross Tab Report

    Hi Every one, I am using Crystal Report Basice 2008 for sap business one. I added a One cross tab report .But the Row level totals are not matching in the report.Please suggest. Thanks and Regards DEV

  • Storing ROWID in a ROW_ID field.

    I'm attempting to restore a ROWID after an import/export and i'm unsure if this is the correct way to it. As well i think there may be something wrong with my function that restores the poper ROWID's. Is there a better way to do this? Is my function

  • I have downloaded the latest version of itunes and it opens but i cannot access the store

    i cannot access the itunes store even though i have an internet connection and i have downloaded the latest version...i had no issues prior to 10.5...i have also unistalled itunes and reinstalled it per Apple support...twice. no luck ugh.