A way of creating an LOV. Does it achieve something extra than normal way?

Hi,
In some ADF applications I have seen a way of LOV creation where there are two view objects as follows
1. BaseVO having an attribute - 'lovAttribue' and
query as
select '' as lovAttribute from dual;
The only attribute of this VO defines an lov with list data source as LovVO and List attribute as lovItem
2. LovVO having attribute - 'lovItem' and
query as
select lovItem from table where some_condition;
BaseVO is exposed in AM and its data control is dropped on the page to create the LOV.
Another, more common way of creating LOV involves just a single View Object having an attribute which defines an LOV having the List data Source as the same View Object.
I want to know is there any benefit of the first approach for creating LOV?
Regards,
Harmeet K Saini

Thank you for the quick response, varjak.
I did not know about the Thunderbolt option card, so thank you for telling me about that. That would solve a problem if I am getting Apollo Duo, which is a better model of Apollo Twin with more in/out and such. However, I'm only able to afford Apollo Twin right now and it does not come wtih the optional card slot, so unfortunately I would have to pass this option for now.
I would definitely try out the USB monitor adaptor though. It looks like there many company that makes those so I would pick one and see how it works. Too bad my iMac only has USB 2.0, which would be much slower than 3.0 so I would guess there would be lag as you said, but it's worth a try.
Thank you again.
Nao

Similar Messages

  • Why does my dock look different than normal ML docks

    Hi, I upgrade to ML and over time my dock started to look diffrent, it has two indicator lights instead of a line, can you help me, thanks.

    I kinda like it the way you have it - it's easier to see the lights that way.  Still, if you insist on getting rid of it...
    Assuming this behavior survives a restart, a standard thing to try is to trash the Dock preferences. You will have to repopulate your dock afterwards.
    The files start with com.apple.dock and are found in ~/Library/Preferences.
    You can get to your home LIbrary via the Finder Go menu if you press the option key and select Library.  The preference files are then in the Preference subfolder, and in the Preferences/ByHost subfolder.
    To get the changes to take effect you will have to relaunch the dock, e.g., by quitting it in Activity Monitor or by logging out/in.
    Hope this helps.
    charlie

  • How to create in iweb but upload to something other than .mac account

    I bought my own domain name and have a hosting server all setup through a friend.
    My question is can I create my page in iweb and upload it to my own hosting server which is not .mac?
    If not, how can I pull all files and folders out to copy up using Classic FTP?
    If I cant use iweb at all, what can I use to build my page on my macbook?
    Thank You
    Patrick

    Hi Patrick,
    all you have to do is go to File=>Publish to a folder when in iWeb and then upload the resulting files (index.html & folder named with name of your site in iWeb) to your server using an FTP application.
    http://alyeska.altervista.org/en/iWebFolderFTP.html
    Regards,
    Cédric

  • Create a LOV for parameters in development tools

    Hi,
    I found a way to create a LOV for a parameter using PL/SQL developer.
    The code is as followed:
    select * from account_hier t
    where t.level_a LIKE &<name="Level A"
    hint="Level A"
    type="string"
    default="%"
    ifempty="%"
    list="select distinct level_a,level_a from account_hier"
    description="yes"
    >
    and t.level_b LIKE &<name="Level B"
    hint="Level B"
    type="string"
    default="%"
    ifempty="%"
    list="select distinct level_b,level_b from account_hier where level_a = :level_a"
    description="yes"
    >
    It works beautifully but my question is whether something like this can be applied using TOAD (I'm using 9.7.2).
    How can I define a LOV for the parameters in the parameters window?
    Thanks
    Tamir

    Tamir-L wrote:
    Hi,
    How are we supposed to know a) what your code is actually doing and
    When running this code in PL/SQL developer when the parameters will popup for population you'll see that there is a list of values for the parameters.I (and many others of us) don't have PL/SQL developer. It's a 3rd party tool, not part of Oracle. Therefore we can't run the code to see what it does.
    b) how to achieve that on some other 3rd party tool?
    That's exactly my question, How can (if at all) I do the same with TOAD ?Based on your description, I'm not sure if TOAD supports such things. It sounds like something specific to PL/SQL developer.
    LOV's are not something in SQL or PL/SQL, so your question does not make sense.If you'll create similer code than you'll understand that LOV can be defined in PL/SQL developer tool in the SQL editor.Only if we have PL/SQL developer. Which we don't.
    To make it easier try to run the following code:
    select 'Example' from dual
    where 'field11' LIKE &<name="LOV A"
    hint="Choose a value for field1"
    type="string"
    default="field11"
    ifempty="field11"
    list="select distinct 'field11','field11' from dual union all select distinct 'field12','field12' from dual"
    description="yes"
    *>*
    *;*I can't.
    To clarify my question once more:
    If a sql is running under TOAD and that code have parameters the parameters window will pop once the code is executed.
    I would like to know whether I can define a LOV for the parameters.I've never come across this in TOAD.

  • How to create a LOV for a parameter in a Discoverer workbook

    How can I create a LOV's for a parameter in a Discoverer Workbook?

    Hello
    If the item you are basing the parameter on already has a list of values then the list will automatically be displayed.
    If you are creating a generic parameter, probably using the <None> link, or you are basing the parameter on an item in a folder that does not have a list of values then there is no way to get one.
    You can create lists of values based on items in a custom folder but then you still need to associate the LOV with an item. However with a little ingenuity and thinking ahead you can actually get LOVs for just about every parameter, just ensure the parameter is based on an item and not using <None>
    Hope this helps
    Michael

  • Creating custom LOV in 11.5.10.2

    Hi,
    We are new to Web ADI and are having problems with creating custom LOV. It seems that custom templates can only have poplists defined. Is this true? And if so, how do we get around the problem of the 256 row limitation? Has anyone created lovs for custom templates for 11.5.10.2?
    Thanks
    Thu

    As of now am tracing them blindly with oradebug... but guide me to find solution for normal trace.Bhanu,
    The only supported way to enable trace concurrent requests from the application is what you already know. So, I believe there is no other way to enable trace. Since the issue with custom concurrent requests only, then I believe it is something with the reports/module registration.
    I am not sure why there are no values stored in FND_CONCURRENT_REQUESTS table (for some columns) when you submit such reports, and I believe if this is resolved you will be able to see the trace files generated. So, is it possible to register any of these custom reports in one of the standard responsibilities and see if the values in the table are populated and/or the trace file get generated then?
    Can you tell me what is OP meansOP = Original Poster (internet newsgroups and message boards)
    http://www.acronymfinder.com/Original-Poster-(internet-newsgroups-and-message-boards)-(OP).html

  • LOV does not show newly added data in the same session

    Hi guys,
    I work with JDeveloper 11g Release 2. We use Oracle ADF to develop our web app.
    In a page we have a LOV (say the page name is "a"). The related data for that LOV is inserted to the db in another page ( say the page name is "b").
    When new data is added in the page "b" and goes directly to the page "a" the LOV does not show newly added data. But if the user log out and log in again
    LOV shows newly added data correctly.
    Is there a way to show the newly added data in the same session without logging out? Please help.
    Regards !
    Sameera.

    Add the following method in your ViewRowImpl base class:
    public void refreshLOVAccessorQueries() {
        List lovs = getViewDef().getListBindingDefs();
         if (lovs != null) {
             for (Object obj : lovs) {
                getListBindingRSI((ListBindingDef)obj).getRowSet().executeQuery();
                 ListBindingDef lbd = (ListBindingDef)obj;
    Export that method to the Row Client interface, add him to the pageDef, and invoke in the executables section of the pageDef:
        <executables>
    <invokeAction Binds="refreshLOVAccessorQueries" id="callRefreshLOVs"
    RefreshCondition="#{!requestContext.postback and empty bindings.exceptionList}"/>
       </executables>

  • ADF: CREATING DEPENDENT LOV

    Hi Everyone,
    i have created two LOVs just to list the values(2 separate VOs but both are from same table).
    Now i want to make 2nd lov values dependent on first lov.
    how can i create dependant lov?
    plz give detailed simple steps for dependant lov creation as im new to this ADF field.
    Thanks in advance.
    Regards,
    RAJA.
    Edited by: Kumar on May 18, 2012 7:39 PM

    Sorry, but as far as I can tell the samples are doing exactly what you want. If not do should be able to adapt the samples to your needs.
    In general here on this forum we only point you in the right direction...
    From the information you gave so far the samples should get you going.
    Timo

  • Create a LOV without touching the FMB

    Hi,
    i am currently working under Oracle Ebusiness Suite 11.5.10 and we want to change the behavior of a form without changing the form file ".fmb".
    So the only choices left are using custom.pll or the forms personalization.
    But in both ways i did not succeed my task.
    my task :
    we have a field with no lov and we want to add a lov to this field. The lov would have a few columns and a custom SQL.
    By forms personalization i succeeded to create a record group but i can't create a lov.
    any idea ?
    Thanks
    Dan

    Wrong forum.
    Ask this question on the E-Busines Suite forum ;-)
    Francois

  • How to create depedent lov using groovy functionality

    Hi,
    My requirement is need to create dependent LOV on form like, when ever user selects merchant_number, remaining merchant details should default, till now i am doing with valuechange listener. now i wanted to do on vo itself using groovy functionality. i have created merchant VO which is returning 4 values, merchant_number,name,phone,address. i have created view criteria with a bind variable.
    In my main vo i have created LOV for merchant_number. added the merchant vo as view accessor and set the bind variable value as merchant number. and with the merchant_name i am trying to setting as XxwfsMerchantDetailsLOV1.getMerchantName(). i am getting error like
    Exception in thread "AWT-EventQueue-0" oracle.jbo.JboException: JBO-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg=No signature of method: oracle.jbo.server.ViewRowSetImpl.getMerchantName() is applicable for argument types: () values: []

    hi,
    for creating LOV i don't have any issue, problem with defaulting the remaining fields. i am getting error like
    Exception in thread "AWT-EventQueue-0" oracle.jbo.JboException: JBO-29000: Unexpected exception caught: groovy.lang.MissingMethodException, msg=No signature of method: oracle.jbo.server.ViewRowSetImpl.getAttribute() is applicable for argument types: (java.lang.String) values: [MerchantName]
    at oracle.jbo.ExprEval.internalEvaluateGroovyScript(ExprEval.java:833)
    at oracle.jbo.ExprEval.doEvaluate(ExprEval.java:868)
    at oracle.jbo.ExprEval.evaluateForRow(ExprEval.java:762)
    at oracle.jbo.server.AttributeDefImpl.evaluateTransientExpression(AttributeDefImpl.java:2029)
    at oracle.jbo.server.ViewRowStorage.initDefaultExpressionAttributes(ViewRowStorage.java:930)
    at oracle.jbo.server.ViewRowStorage.create(ViewRowStorage.java:1154)
    at oracle.jbo.server.ViewRowImpl.create(ViewRowImpl.java:428)
    at oracle.jbo.server.ViewRowImpl.callCreate(ViewRowImpl.java:445)
    at oracle.jbo.server.ViewObjectImpl.createInstance(ViewObjectImpl.java:4915)
    at oracle.jbo.server.QueryCollection.createRowWithEntities(QueryCollection.java:1843)
    at oracle.jbo.server.ViewRowSetImpl.createRowWithEntities(ViewRowSetImpl.java:2368)
    at oracle.jbo.server.ViewRowSetImpl.doCreateAndInitRow(ViewRowSetImpl.java:2409)
    at oracle.jbo.server.ViewRowSetImpl.createAndInitRow(ViewRowSetImpl.java:2374)
    at oracle.jbo.server.ViewObjectImpl.createAndInitRow(ViewObjectImpl.java:9684)
    at oracle.jbo.jbotester.NavigationBar.doInsertAction(NavigationBar.java:136)
    at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:109)
    at oracle.jbo.uicli.controls.JUNavigationBar$NavButton.actionPerformed(JUNavigationBar.java:117)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
    at java.awt.Component.processMouseEvent(Component.java:6263)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6028)
    at java.awt.Container.processEvent(Container.java:2041)
    at java.awt.Component.dispatchEventImpl(Component.java:4630)
    at java.awt.Container.dispatchEventImpl(Container.java:2099)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
    at java.awt.Container.dispatchEventImpl(Container.java:2085)
    at java.awt.Window.dispatchEventImpl(Window.java:2475)
    at java.awt.Component.dispatchEvent(Component.java:4460)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

  • How to create dependent LOVs

    Hi all,
    Does anyone know how I can create a LOV with values dependent on the LOV value selected from the one above when defining a custom item?
    For example, I have defined a custom item which has 2 attributes with 2 LOVs:
    attribute1 - LOV1
    attribute2 - LOV2
    I would like to populate LOV2 depending on what value the user selects in LOV1, is this possible?
    Please advise.
    Thanks.

    Hi,
    You can create dependant lovs and use them only in the forms component. Here is how you create dependant lovs
    lov1
    select empno,ename
    where deptno = :dept
    Creating a LOV with a bind variable makes it a dependant lov. In forms you should map the bind variable to one of the form columns.
    Thanks,
    Sharmila

  • How to create 'Flashlight' LOV in iProcurement

    Hi
    We have a need to create a LOV with flashlight functionality under Non-Catalog Request store in iProcurement.
    Can someone assist with how I can find out which OAF components to modify to achieve this? Or if I can get the steps to implement this it would be very much appreciated!
    Requirement:
    The Flashlight has to appear in a field (Employee) which in turn will be in a separate region (created by using the Information Templates functionality of core purchasing). This field (Employee) in the additional information section will only be visible for data entry in this region based on a 'specific value' selected in a different field. If this 'specific value' is not selected, the default will not display this 'additional information' region on this page.
    Thanks!

    Do you want to just create a flashlight icon or an LOV component? If its LOV, did you go through the LOV section of OAF Dev guide to know about the component. Its just the way you have highlighted the Flashlight word, which makes me think that your side of homework is not done :)
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Creating a LOV by using a Command Object

    Hello All,
    I have a report that's driven by a parameterized sproc, which is a year parameter.  However, we have a table that I would like to use in my object command to populate this parameter with the values from the select statement to enforce consistency. A new year is inserted into to this table yearly by another process, which would keep me from having to go into a static list to update the year options yearly. 
    I've created the command object and saved it to the repository, but I can't figure out how to associate it to the report as the parameter.
    Can anyone point me in the right direction?
    Thanks in advance.

    hi DevinM,
    two choices:
    A) add the Command to your report
    1) you can add the Command to your report...don't link it to any tables though...you'll get a "Generally not supported error" but you can ignore it for this test
    2) now in your prompt you will have the Command available for the dynamic values
    3) check that the number of records on your report remains the same as before...it should...any test i have run on this is aok
    B) create a Business View
    1) go into the Business View Manager and create a business view from the data foundation up
    2) once you've got the business view built you can create an LOV from there which is available to your current report and all other reports
    jw

  • Creating a LOV based in a Web Service

    Hey guys...
    I need to create a Lov based in a Web Service Result, but in always getting the same error:
    LOV query is invalid, a display and a return value are needed, the column names need to be different. If your query contains an in-line query, the first FROM clause in the SQL statement must not belong to the in-line query.
    Queries that I'm trying:
    Original Query:
    select extractValue(value(t),'/*/imgLocation','xmlns="http://oracle.ovs.api/types/"') "imgLocation"
    , extractValue(value(t),'/*/imgName','xmlns="http://oracle.ovs.api/types/"') "imgName"
    from wwv_flow_collections c,
    table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getAllTemplateResourcesResponseElement/result','xmlns="http://oracle.ovs.api/types/"'))) t
    where c.collection_name = 'P1_GETALLTEMPLATERESOURCES2_RESULTS'
    Other Query that I tried:
    select imgLocation, imgName from (
    select extractValue(value(t),'/*/imgLocation','xmlns="http://oracle.ovs.api/types/"') "imgLocation"
    , extractValue(value(t),'/*/imgName','xmlns="http://oracle.ovs.api/types/"') "imgName"
    from wwv_flow_collections c,
    table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getAllTemplateResourcesResponseElement/result','xmlns="http://oracle.ovs.api/types/"'))) t
    where c.collection_name = 'P1_GETALLTEMPLATERESOURCES2_RESULTS')
    And I tried creating a view, but I dont know where I have to put this.. Maybe in another process?
    create view as
    select imgLocation, imgName from (
    select extractValue(value(t),'/*/imgLocation','xmlns="http://oracle.ovs.api/types/"') "imgLocation"
    , extractValue(value(t),'/*/imgName','xmlns="http://oracle.ovs.api/types/"') "imgName"
    from wwv_flow_collections c,
    table(xmlsequence(extract(xmltype.createxml(c.clob001),'//getAllTemplateResourcesResponseElement/result','xmlns="http://oracle.ovs.api/types/"'))) t
    where c.collection_name = 'P1_GETALLTEMPLATERESOURCES2_RESULTS')
    Thanks

    Fox,
    I'd start by adding column aliases D and R to the query and see if that helps.
    Greg

  • How do I create linked LOVs in a JSP

    We are attempting to create a list of values (LOV) for a group of categories on a jsp page. We would like the LOV to be populated with the category names. Next to the category LOV we would like to have a link “get subcategories” that when clicked would return to the same jsp page, set the value of the LOV to the category selected, and populate a second LOV with sub-category names for the selected category.
    We have created an sql-only View Object (VO) for the categories and linked it to an sql-only VO for the subcategories (in a master-detail relationship) and added the VOs to an app module. We have tested the link between the two VOs with successful results.
    We would like to know how to create a linked pair of LOVs on a jsp page. Any help on this matter would be greatly appreciated.

    Les,
    If I understand correctly, you can do this fairly simply.
    First create datasources:
    <jbo:DataSource name="dsCategories" ...
    <jbo:DataSource name="dsSubCategories" ...
    <% // add a where clause to SubCategories based on the parameter "CategoryNumber"
    String categoryNumber = params.getParameter("CategoryNumber");
    // Make sure to default to something if the parameter is null or you'll get an error
    if (categoryNumber == null)
    categoryNumber = "1";
    dsSubCategories.getRowSet().setWhereClauseParam(0, categoryNumber);
    // execute the query on dsSubCategories to ensure that the where clause reflects on this page
    dsSubCategories.getRowSet().executeQuery();
    Create a form with your drop down lists.
    1. I would create a <form> that posts to the same page.
    2. Add a <jbo:FormEvent> tag with a custom event name like "getSubcategories".
    3. Create a LOV that isn't connected to the database:
    <jbo:InputSelect multiple="false" displaydatasource="dsCategories" displaydataitem="CategoryName" displayvaluedataitem="CategoryNumber" ></jbo:InputSelect>
    4. Create a second LOV that also isn't connected to a datasource. It would look like this:
    <jbo:InputSelect multiple="false" displaydatasource="dsSubCategories" displaydataitem="SubCategoryName" displayvaluedataitem="SubCategoryNumber" ></jbo:InputSelect>
    5. Add a submit button
    That should work. Some things to note:
    1. This probably won't track your previously selected options. I don't know if you can do that with this interface.
    2. I'd add some javascript to postback when a new list item is selected.
    Based on these points I would code the select list by hand like this:
    <select name="CategoryNumber" size="1" onchange="this.form.submit()">
    <% String curCatNumber="";
    String CatNumber = params.getParameter("CategoryNumber");
    if (CatNumber == null)
    CatNumber = "1";
    <jbo:RowsetIterate datasource="dsCategories" >
    <jbo:Row id="rowCategory" datasource="dsCategories" action="active" >
    <% curCatNumber = ((oracle.jbo.domain.Number)rowCategory.getAttribute("Category")).toString();%>
    <option value="<%=curParlimentId%>"
    <% if (CatNumber.equals(curCatNumber)) { %>selected<% } %>>
    <jbo:ShowValue datasource="dsCategories" dataitem="CategoryName" ></jbo:ShowValue>
    </option>
    </jbo:Row>
    </jbo:RowsetIterate>
    </select>
    The second would be similar.
    Hope this answered your question!
    ~Rob Lundeen

Maybe you are looking for