Unbounded LOV

I use jdeveloper 11g and I want to create an unbounded LOV,so I declared a variable in Page Definition (this variable will be used as Base Data Source for LOV component) then I dropped an af:inputListOfValues from ADF Faces Common Components palette.After that right-click on inputListOfValues component and selected from menu - Bind to ADF Control.Then the Edit List Binding dialog should be shown to choose variables as Base Data Source and in List Data Source my ViewLOV object that I want to use as list data provider but the problem is when I select Bind to ADF Control a panel is shown to oblige me to select the ADF Control to bind from views object that I have in my data control and when I choose one , the Edit list binding is shown and dynamic list is disabled. How can I do to have directly the edit list binding when I select bind to adf control from the menu?

Hi Frank,
I'm facing a similar issue... I have to trigger some PDF report to be created. To trigger the report, I have to navigate to a URL and the parameters for the report have to be in the URL. So I have a "report bean" that constructs a URL, based on some parameters. One of the parameters has to be looked up via a LOV. So the question is, how can I create a LOV that uses some View Object to get the possible values, and stores the selected ID in a bean value, or on the pageFlowScope? I'm using JDeveloper and ADF 11.1.1.1.0, with ADF BC, bindings and Faces.
Best regards,
Bart Kummel

Similar Messages

  • LOV for an unbound input field in ADF-JSP

    Hi i have a web app using ADF BC, struts , JSP.
    Jdev - 10.1.2
    JHS - 10.1.2
    I have a text field <input type="text" value="solution">
    I need to populate this UNBOUND input field with a value from an LOV which pops up in a separate window.
    I need help right from the beginning... which i guess wud be to create a VO for it.. i have never done it earlier so any help wud be useful.

    Hi,
    try
    <BODY onload="document.DataForm.EmployeeId.focus()">
    where EmployeeId needs to be substituted by the name used in the textfield property
    <html:text property="EmployeeId"/>
    If this was Empno then the example would be
    <html:text property="Empno"/>
    and
    <BODY onload="document.DataForm.Empno.focus()">
    Frank

  • [b]URGENT : unbound items in LOV[/b]

    Hi,
    In my module component I have a table usage and one lookup. Also I have 2 unbound items in this module component. So the probleme is : I would like to put /select this unbound items in LOV that I us in this module, how I can do this????
    Thanks lot

    You don't mention the version of Designer you are working with. In both Designer 6i and 9i, in the Design Editor, you can create separate LOV and associate these with an item in your module component. These can have their own base table usages and lookup table usages and you can create and use unbound items. See the help on unbound items or LOV in the Design Editor.
    You can't use the unbound items in your module component in your LOV, you will need to create new ones for your LOV.
    Regards
    Sue

  • Using unbounded item value for rendering expression in a region

    Hi there,
    I use jheadstart 11g tp2.
    I have a question about a group in application definition module which all of the items are unbounded.
    For 3 of them I use text input lov which related to lov that is bounded to a view.
    I use the return value of the lov for filling unbounded items and I want to use that filled unbounded item for rendering expression of a region.
    my problem is after using lov I can't use the binding value of the unbound item (which filled by returning value from lov) for another part of the the group
    I have a region that should be visible and invisible based on that item
    Please let me know is there anyway for doing this or not?
    Thanks for your help
    Setareh Rajaei

    the unbound item has a variable binding in the page def, so you can refer to the value of the unbound item using the expression
    #{bindings.[groupName][itemName].inputValue}
    Steven Davelaar,
    Jheadstart Team.

  • Return formatted text from LOV

    I have text stored in a table as a varchar2 with carriage returns in the text using utl_tcp.CRLF. This works fine when I send an email using this text thru a procedure. I am trying to load this text to an unbound item (defined as char) thru an LOV created using Designer (web pl/sql page). The lov lists the text in read-only as formatted, but when I load it to the unbound item, it loses the formatting. I have tried to make a post-gen change to add WSGL.preformat to the javascript:passback function, but I am still not seeing the formatting in the unbound item on my page. Does anyone have any ideas (including post-gen changes to the package)how I might accomplish this?? Any ideas are welcome.

    I suspected that...
    Maybe someone has an idea for the following:
    I need a generic solution for a reference table (based on table name, key and value attribute names). In a function I generate this query statement.
    TEXT_FROM_LOV_QUERY would be just fine for me, for it lets me pass a statement as a string and providing me a solution with key/value pairs. However, due to the restrictions above I cannot use that function.
    Instead, I'd probably have to join the reference table somehow. I would have suggested the following
    SELECT e.empno, e.ename, d.display_value
      FROM emp e,
           f_get_generic_ref_table('dept', 'deptno', 'dname') d
    WHERE e.deptno = d.return_valuewhile the function f_get_generic_ref_table generates me a string like
    'SELECT deptno, return_value, dname display_value
       FROM dept'obviously that doesn't work since the function f_get_generic_ref_table only returns a statement as VARCHAR.
    Any ideas how I could solve that?
    Thanks,
    Michael

  • JDev 11gTP4: ADF BC LOVs - JSF selectOneChoice sometimes empty

    Hi JDev team
    With apologies the following is a bit of a ramble rather than a good description of what the problem is within JDev 11gTP4. I'm a bit lost to know what the problem is or where to look next?!
    I've created an ADF BC VO with attributes that derive 3 values from LOVs. All 3 correctly render in the Business Components Browser with a pop list.
    I've also created 2 inputs forms, one standalone, the other called from an ADF Read-Only table page. Both inputs are based on exactly the same VO, created in exactly the same way from the data control pallete. This include selectOneChoice controls created for the LOVs.
    The first page always shows the VO information correctly, and the corresponding selectOneChoice fields always have entries.
    I'm getting very inconsistent results with the 2nd page called from the read-only table. Sometimes the selectOneChoice controls based on the ADF BC VO LOV fields are populated if called from a Create action, other times they're not.
    I can't understand why I'm getting the inconsistent results to the point I don't know what to give you to find the problem. If I replace the selectOneChoice with an ADF LOV control, they always correctly show the data, so it would indicate the selectOneChoice controls are having issues.
    I've also carefully compared the selectOneChoice attributes between the 2 inputForms, as well as the associated bindings, and they are the same.
    The only other difference is the original inputForm is within the unbounded task flow, while the 2nd inputForm lies in a bounded (train) task flow. I can't think of a reason why this would make a difference though.
    So at this point any help would be appeciated as I'm scratching my head to work out what's wrong here.
    Thanks for your help in advance,
    Cheers,
    Chris Muir.

    Did you know this
    Steve Muench quotes "Notice that in TP4 there is no longer an "ADF Create Form" and that we're encouraging you to create a create form using a method activity that declaratively invokes the create operation, then forwards to a page with a regular ADF Form on it. This is due to the numerous confusions that have always surrounded the ADF "invokeAction" now that we have a visual, declarative mechanism to model this type of initialization activity, we will prefer users adopting that. Also, notice that the page definition for the method activity has the new "SkipValidation" property set to true."
    Andrejus made a create sample how to use a lov when the form is in create mode. If you don't do this you get validation errors and the lov is empty.
    There is a thread in this forum and look at Andrejus blog for some create forms example
    Edwin

  • Customize Search region of LOV - Basic mode

    I created an Input text with List of Values in JDev 11.1.1.2 and designed the search region of this LOV in Basic mode (disable the Advance mode) so the combo box to choose the condition of Search fields like: Contains, Start with, Equal to... disappear.
    I wonder if in this Basic mode there is way to make all the search fields in "Contains" condition (Because now, by default, in my Search region, some of the search fields in "Contains" and some in "Equal to" ).
    Does any one know how, please help. Thanks.
    Edited by: Mun on Jan 30, 2010 10:11 PM

    Hi Mitesh,
    I provide here some more details:
    I want to create the LOV component as unbounded, like the Countries LOV in this post http://andrejusb.blogspot.com/2008/02/list-of-values-component-in-search-and.html. However, JDev 11.1.1.2 seems not support to do like this.
    So I find another way to create my LOV as below:
    Let's say: The view Object is MainVO which contains 2 fields: AAA and BBB.
    1. Open the MainVO, in View Accessors tab, I create a view accessor named viewAss and choose the MainVO from the available View Objects and shuttle it to the View Accessors part
    2. In Attributes tab of the MainVO, set the List of Values of AAA attribute to viewAss.
    In my jspx page:
    drag the AAA from the data controls to a this jspx page by choosing: Create -- List of Values -- ADF LOV input.
    So the problem here is I can't find in my viewAss the place to choose operators like Contains or Start with etc (as you suggested in the View Criteria).

  • LOV - date format

    Whenever I use a list of values to display a date field it displays as DD-MON-YY even though I have put a format mask of DD-MON-YYYY.
    How can I get it to display DD-MON-YYYY?

    Thanks Vincent and Michael.
    The to_char function worked using an unbound item of type SQL expression instead of the column. Some LOVs were built on a view and I tried putting the formatted date as a varchar2 attribute of the view but it didn't work for me so I created an unbound item and this work.
    Cathy

  • Error while creating a custom LOV

    Hi All,
    We have a requirement to open a custom page on the click of an LOV
    inside a table(n Number of rows will be there in the table). We need to
    populate the base page field after selecting a value from the custom page.
    We are using a flow layout with a text box and a torch icon. On the
    click of torch icon we are using javascript to open the custom Page.
    Everything works fine. When we use the cancel/apply in the custom popup
    page, we are using javascript to submit the base page. The popup closes,
    but the base page is erroring out saying
    "You are trying to access a page that is no longer active.
    - The referring page may have come from a previous session. Please
    select Home to proceed. "
    Can we achive this functionality by any other approach?
    We cannot use the standard LOV as the page should have much more
    functionality than what the standard LOV offers. The client want the
    functionality to be in the same way as LOV works.
    We have set the Security property of the custom page to 'SelfSecured'.
    The javascript used on the click of the torch icon is given below.
    function popupWindow(pageUrl,formName,rowId,retainAM,isModal)
         var Nav4 = ((navigator.appName == "Netscape") &&
    (parseInt(navigator.appVersion) >= 4))
         if(rowId != null)
              pageUrl += "&xxbgRowId=" + rowId;
         if(retainAM)
              pageUrl += "&retainAM=Y";
         if(isModal)
              if(navigator.userAgent.indexOf("Firefox")!=-1) // For Mozilla --
    added for BUG#2339
                   var versionindex = navigator.userAgent.indexOf("Firefox")+8;
                   if (parseInt(navigator.userAgent.charAt(versionindex))>=1)
                        openWindow(self, pageUrl,formName ,{width:650, height:450,
    resizable:'yes'},'modal','dialog', true);
              else if(Nav4) // For Netscape -- For Mozilla also Nav4 will be true,
    but if the browser is mozilla it would be caught in the previous block only
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes,modal=yes');
              else // For IE
                   openWindow(self, pageUrl, 'modal',{width:650, height:450,
    resizable:'yes'}, true);
         else
    open(pageUrl,'self','width=600,height=400,toolbar=no,menubar=yes,status=1,resizable=yes,scrollbars=yes');
    The javascript used on the click of the cancel button on the custom
    popup page is below.
    function closeAndSubmitBasePage()
         window.close();
    window.opener.submitForm(0,0,{serverValidate:'0',FromPopup:'selectSubmit'});
    }

    Mukul,
    I have tried with the bound value approach also. The popup is coming fine, but when the base page is submitted , it is still erroring out. Also if we close the popup with the browser close (X), and then do some action on the base page, it is erroring out saying
    "You cannot complete this task because you accessed this page using the browser's navigation buttons (the browser Back button, for example).".
    Now our client has agreed to navigate to another page and come back to the originating page instead of bringing the popup. Since we are close to the release point, I am going ahead with this approach., there is lot to do with the page functionality.
    I will try to use the popup again , once the functionality of the page is done and will update you on the same.
    Thanks a lot Mukul
    --Anoop                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • LOVs in Reports6i

    When building my LOV on the parameter screen, I want to limit the values of one field based on a value from another field. When I tried it, I got an error about using a bind variable in the where clause. Any suggestion on how to do this?

    greg,
    the capabilities of the reports parameterform are limited as it was only designed to provide simple form capabilities. if you need more complicated parameter form functionality, you need to use oracle forms or regular html-forms/javascript functionality.
    regards,
    philipp

  • Error While Running LOV

    Hello,
    I am using APEX 4.0.1.00.03 and 11g DATABASE, and I'll explain my problem on the following lines.
    I've started using functions in PACKAGES to return results to my LOVS in APEX, so that I can change the code of LOV without having to make any change in the application (I've created a generic table type t_varchar_number). The problem is I've started to get this error:
    "ORA-06550: linea 1, columna 71: PL/SQL: ORA-0947: no hay suficientes valores ORA-01007: la variable no está en la lista de selección ORA-06550: línea 1, columna 7: PL/SQL: SQL Statement ignored ORA-01007: la variable no está en la lista de selection".
    Strangely it doesn't appear every time and if I push F5 a given number of times it will disappear and stop giving the error for a time. I've also placed a logging mechanism on the code so that I can see the query strings I use on my "execute immediate" instructions, when the error appears and there is no difference from when it doesn't give the error. Also if I run the string I place on the log manually there is no error.
    On each LOV I use the following code:
    select * from table(PACKAGE_NAME.function_name(args))
    Can anyone help me out? What other steps can I take to try and track this problem?
    Thank you,
    Miguel

    Hi Scott,
    I'm also facing the same problem as Monika.
    I have an LOV with the following query which returns 8774 records, when I copied and pasted those records into a text file it shows as 220KB in size.
    SELECT
    p.name d,
    p.pers_id r
    FROM people p,
    people_contacts pc
    WHERE SYSDATE BETWEEN NVL(start_date,SYSDATE) AND NVL(end_date,SYSDATE)
    AND     p.used_by_orc = 'Y'
    AND     pc.pers_id = p.pers_id
    AND     pc.group_id IN ('ORC','SHARED')
    ORDER BY 1
    After searching the forum, I think there's a 32K limitation on the fetched rows in tabular forms, can you please let me know how to overcome this problem?
    I'm selecting the persid in the (tabular form) SQL query updatable report.
    I'm trying to display the field as Name instead of PERSID by changing it to select list(based on named LOV) or whichever way it can work.
    Please help me.
    Thanks in advance.
    - Pradeep

  • Firefox 4 download. Since, Windows start button options changed. Should be browser agnostic, can you please tell me how to fix this? While I love Firefox, this has me livid! (1 irony, Firfox is no longer in my Start button menu.)

    I first noticed an issue when looking for something normally located in the Accessories folder of MS programs. What I found upon clicking on "All Programs" was not the program file/folder tree I expected but rather a direct list of all files in the Program Files folder. I then went to open a new session of Firefox to research that issue and noticed my basic Start button options were also changed. Now, even focus for event-driven events is not working correctly. Again, while I love Firefox, this needs to be fixed immediately or I will be forced to uninstall the product just to function.

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • How to restrict Sales Order LOV in Transact Move Orders

    Hello
    We would like to restrict LOV in the Transact Move Orders screen to only those orders that were created in that specific Operating Unit. Also, we would like to control the LOV for Release Rules to a specific OU.
    I believe the LOVs for both these screens pull from MTL_SALES_ORDERS. Therefore, I guess we would need to create a Value Set of type Table, value will be SEGMENT1 (Sales Orders) but unsure about the where condition.
    Any help would be appreciated.
    Sanjib

    Sanjib
    Release Rules: Why don't you use the SRS version if pick releasing rather than the screen. Ofcourse you lose some flexibility to enter order number and customer information. If screen is a must you can take the LOV from the existing form and create a new record group in the new form instance trigger. Add this peice to the lov sql to control the pick release rules result:
    (select 1 from org_organization_definitions cust_org
    where org.organization_id=cust_org.organization_id
    and operating_unit=FND_PROFILE.VALUE('ORG_ID'))
    This org is mtl_parmeters table used in LOV.
    2. Transact Move Orders: Instead of changing the LOV and playing with the Sales Order Flexfield, you can use the inventory organization security to control who can do a transaction. This will not change the LOV but definitely will control the access to the records after you have queried. As you know this is inventory or warehouse function not the OE function.
    You can try one idea though:
    Segment2 is order_type which is OU specific. You can create value set that picks the LOV from the order types table for a specific OU, assign that to the segment2 and create a security rule. This rule will have include and exclude rules. You include all the Order types that are in a specific OU and assign that rule to the resp of that OU where move order is transacted. This will limit the LOV of the order types to only those that are availble for that resp. I have not tried this but give it a shot.
    Thanks
    Nagamohan

  • XSLT mapping - Mapping of unbounded elements using Altova Mapforce

    Hi,
    Please give guidance on doing XSLT mapping for unbounded elements in Altova Mapforce. I am not seeing any functions (like FOR loop etc.,) in the XSLT mapping screen for the same.
    I appreciate your input.
    Regards
    Ramesh

    HI,
    For XSLT Mapping refer this help to get functions,syntax etc-
    http://www.w3schools.com/xsl/default.asp
    Regards,
    Moorthy

  • Love / Hate Relationship with Photoshop Elements

    I am having a love/hate relationship with Photoshop Elements!  Love the page design capabilities and hate the lack of capability on the print end.  Kodak does not give any choice in the book they will print from Elements.  All I can get is a #$%& die cut cover!  Is there anyway that I can order other options that I know Kodak has available when creating a book using Elements and their site.  I want to be able to choose a custom cover!  I have tried Kodak to get answers.  I have tried Adobe (impossible, unless maybe you pay).  Neither are very helpful!  The only answers I get are use the Elements designed pages and place them onto pages that you create in their software.  Problem is that one needs a jpeg file to do this.  No online program seems to recognize .PSD or .PSE file types.   HELP!
    Bob, Barbara you both seem to be very knowledgable...any ideas...
    Anyone with any help can answer here or [email protected]
    Terry

    Terry:
    Yeah, the photobook print options are limited. (Although, the built in Kodak and Shutterfly books are very nice)
    One thing to try differently is to use the Print At Home selection on that first screen after the clicking on the PhotoBook option (assuming you are using PSE8 here) (use Photo Collage with PSE7)
    Down that path, you will get a few more choices in page size. It will still create a multi-page document (a .pse) while your building your book, and when done, you can print the pages of the book out as a .pdf. Many book printing services will take in a PDF.
    Another option is to do a single page at a time and save them as .jpg's. A little more work in keeping your various files together and ordered properly, but it would give you ultimate flexibility.

Maybe you are looking for

  • How do you install CS5 onto a new computer without Time Machine/file transfer

    I'm not getting a new computer, but my current one is getting a little old (Macbook Pro V. 10.6.8) and I'm afraid it might crash if I download the newest Maverick system, which is why I want to make absolutely sure I'm able to save and transfer all m

  • Appple DVD Player Output to NTSC?

    I have an NTSC monitor connected to my G5 through a Black Magic HD Pro Card. Anyone have any ideas if there is a way to monitor the output/playback of Apple's DVD player to the NTSC monitor through the Black Magic card? Thanks in advance. Chris

  • CiscoWorks2000 on Solaris 10

    I am currently running CiscoWorks 2000 on Solaris 9 , but the administrator is going to upgrade that box to Solaris 10.  Will CiscoWorks2000 run on Solaris 10? These are the packages I am currently running: - LMS Bundle                = 2.6 - CiscoWo

  • Is form builder changed in R12 ?

    Dear members, Oracle recently released its new version R12. I am not sure what will be Form Builder like in R12. I heard that there is no more Form bulider in R12 and It is being replaced by oracle applications frame work. Is this true ? I request al

  • Raw Files in PSE7

    I'm new to PSE7 and new to Raw Files.  I've taken a bunch of photos in RAW and was hoping to import them into the Organize area.  However, it seems PSE7 doesn't recognize the files.  Hopefully someone can shed some light on this.  The files are Canon