[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

Similar Messages

  • 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.

  • Is it possible to order by an Unbound Item?

    I have a block in my module that requires the records to be ordered by one of its Unbound Items. I have tried using the Order By Sequence property but this seems to be ignored when the module is generated.
    Any help would be gratefully received.
    Cheers,
    Joel

    To my knowledge it isn't possible the way you try to achieve it, because these unbound items are populated 'post query'. What you can do is create a (database) function that returns the value of your unbound item and use this in the the 'Where/Validation property' of the table usage (enter 1=1 before the order by).
    Example:
    1=1
    order by (PRF_CURRENT - PRF_MINIMAL) desc
    (in this example I order the block on the difference between two fields, depending on your situation you can do something similar of use a database function instead)
    HTH
    Roel

  • Query with criteria in unbound item

    Hi,
    I have a block (master) related to another block (detail). I'd like to narrow the returned results by adding a criteria in an unbound item in the master block.
    The value in the unbound item seemed to be ignored when I execute the query.
    How can I add a criteria for my query ?
    Thank you...

    If it's a simple value then add in a pre-query trigger onto the detail block with something like :
    begin
    if :control.my_unbound_item is not null then
    :detail.the_item := :control.unbound_item;
    end if;
    end;
    If you need something more sophisticated then post an example of what you'd like to do.
    Regards,
    Steve

  • Map unbound items to db columns??

    In designer 6i how do I map an unbound item that calls a function to a db column?
    I checked out the help in Designer and it was no help. This is what it said....
    1. Select one or more unbound items.
    2. From the Select Binding for Unbound Items dialog box, use the Column dropdown lists to identify the database column to which each unbound item will be mapped.
    Well, what is a 'select binding'? I looked in the properties pallete and the dialog and there was nothing there.
    Any help would be greatly appreciated.
    Maggie

    Hi,
    Have u tried:
    inserting/updating the values in database and then refreshing the block by using the same way as u used to populate the block?
    Regards,
    Pragati.

  • Generation of Unbound Items

    Hi,
    I have a module component that have some unbound items.
    I tried to adjust the generated item "Maximum Length" property to a given number by changing the "Domain" property (in Definition section of item properties wizard) of the unbound item to one of domains I created. As a result, the domain was not effective. The generated item still has the default "Maximum Length" property value.
    Can anybody tell me why this is happening? What is the role of "Domain" property in unbound items definition?
    Notice that I decided not to use the Object Library component to solve this problem because I think it is unpractical way to adjust properties of item that are generated from unbound items.
    I'm using Designer version 10.1.2.0.2.
    Best regards

    Thank you for reply.
    How can I adjust "Maximum Length" of the generated item in the generated FMB file if the source of this item in Designer is an unbound item?
    Usually this length is taken from server model for generated bound items, but unbound items has no reference to server model. I understood that we can adjust domain property for this unbound item to inherit domain properties when generating form, and thus, set the length of the corresponding generated item.
    This what I expected, but it didn't happen.
    If you can help me I will be very appreciating.
    Thanks

  • Date Format Mask On Unbound Item

    Hello everyone!
    I have a module with some unbound items. One of them is date_completed. I gave the item datatype DATE and formatmask "DD-MM-RRRR". But in the application, when I type 290108, I get FRM-50026 "date must be entered like : DD-MM-YYYY.
    But I gave the item a format mask!
    Can somebody help me?

    But I gave the item a format mask!Then enter it in the format mask and not as a number
    It is doing exactly what you are telling it to do
    Nicolette

  • Unbound item in mutli records block

    Hi,
    is it possible to have an unbound item in a block with 4 rows to be displayed only 1 time instead af 4 like a computed item ?
    Thanks
    Jean-Yves

    Set the context-property of the items that you want to display multiple times to Yes, the context property of the unbound item to No (and change te order of the items, so the unbound item is the last one). Set the block property 'Overflow' to Overflow Below (or Right whatever you prefer).
    That should do the trick...

  • Concat in unbound item

    Hello,
    I need a concatenation of 2 names and I don't get it to work properly...
    As Unbound Type i have SQL Expression and for Derivation Expression there is L_FWR_ACHTERNAAM||' '||L_FWR_ROEPNAAM
    I also tried this with the function concat() itself but this result in the same problem. When I try to generate the module I have the error message:
    CDG-01061 ERROR: Unbound Item OIFF0420301.ILD.FWR_NAAM: Invalid derivation expression 'L_FWR_ACHTERNAAM||' '||L_FWR_ROEPNAAM' for this item's type
    Anyone who knows what to do?
    Sofie

    Hi Sofie,
    I think you can't do that on a lookup column usage, because these fields are filled using a post-query trigger (and using a SQL Expression it should be part of the main block query). Try using a 'client side function' or create a function in the database that will return the "fwr_naam" using the "fwr_id" and call that function in the SQL Expression - using only columns from the 'main' table usage.
    HTH
    Roel

  • When form is generated unbound items always have maxlength=2000

    When form is generated unbound items always have maxlength=2000
    When generating forms in Designer using the Headstart templates & libraries any unbound items when viewed in Form Builder have a maxlength=2000. The width property specified in Designer for each unbound item is ignored. The item max length is subclassed from the object library setting CGSO$DEFAULT_ITEM. Can anyone tell me why this happens and any known workarounds.
    Thank You
    Eoin Smyth

    It sounds like a problem with Designer. What release are you using? The object CGSO$DEFAULT_ITEM has width = 2000 in the object library for Headstart. However, Designer should be overriding that value with the value from the repository. Please submit this same question on the Designer discussion forum and see if anyone there has experienced it. Be sure to mention which version of Designer you are using.
    Regards,
    Lauri

  • Have a multirecord block with several unbound items, filled by calling just

    In oracle forms I have a form with a multi-record block, with several unbound items.
    One of these unbound items is a formula based item.
    The formula for this item fills the others unbound items.
    A procedure with several out parameters is called.
    E.g.
    :cmr.id (holding the unique id of a database record)
    :cmr.unbound_dummy, with formula f_fill_blk_unbound_items(:blk.id)
    :cmr.unbound_adres
    :cmr.unbound_contactperson
    function f_fill_blk_unbound_items(p_id in customers.id%type)
    return number
    is
    l_rc number;
    begin
    customer_pck.get_adres_and_contactperson
    (p_id => p_id --IN
    ,p_adres => :cmr.unbound_adres --OUT
    ,p_contactperson => :cmr.unbound_contactperson --OUT
    return(0);
    end;
    QUESTION: how can I do something similar in APEX; have a multirecord block with several unbound items, filled by calling just one procedure with several out parameters ?

    Thank you for your reply.
    I can write database functions as wrappers, one for each out parameter, and use these in a select.
    But:
    - having one procedure with several out parameters was done for performance reasons.
    - I want to leave my database as is, and just replace the client.
    Easy as this is using Oracle developer forms, I cannot find out how to do this in any of the APEX examples/documentation.

  • How to Populate a List item with LOV'S

    How to Populate a list of items with Lov's
    and then how to dynamically change the Values of one LIST Item
    Based on the Value of anothe List item

    976798 wrote:
    --Hello..I want to ask that How to bind a list item with  table values? this below code does not populate items from database to list item.Pls any body give me solution.
    declare
         group_id RecordGroup;
         list_id Item:=Find_Item('LST_CLASS');
         status number;
    begin
         group_id:=Create_Group_From_Query('Answer_List','select CLASS_ID,CLASS_NM from CLASS_MSTR');
         status:=Populate_Group('Answer_List');
         message(to_char(status));
         Populate_List(list_id,group_id);
         end;Welcome to the Oracle Forums. Please take a few minutes to review the following:
    <ul>
    <li>Oracle Forums FAQ
    <li>Before posting on this forum please read
    <li>10 Commandments for the OTN Forums Member
    <li>How to ask questions the smart way
    </ul>
    Following these simple guidelines will ensure you have a positive experience in any forum; not just this one!
    Check this link: How to Dynamically Populate a Pop List ?
    Hope this helps
    Hamid
    If someone's response is helpful or correct, please mark it accordingly.

  • Getting the index of an unbounded item

    Hi there,
    How can i get the index of an unbounded item in an incoming record set message?
    For example, suppose my message looks like this:
    <Root>
    <Record>item_1</Record>
    <Record>item_2</Record>
    <Record>Item_X</Record>
    </Root>
    And i want to know the index of "Item_X" while mapping
    Thanks,
    Yigal.

    Just create a UDF of type queue. The input of UDF is the node you want to access (in your example, Record).
    In the code, use somehing like:
    for (int i=0; i< a.length; i++) {
      <insert logic here>
    And inside the for loop, you can implement the desired logic, and the variable i will have the index of your node (actually it will have index - 1, since its from 0 until a.length-1 ).
    Regards,
    Henrique.

  • Passing unbound items via pages

    Hi dear readers
    I want to pass value of some unbound items to another page by query string or via managed bean but i dont know how?
    please help
    best regards
    Edited by: mohba on Sep 23, 2008 3:10 AM

    Hi,
    Then you can use a ValueChangeListener method implemented in a backing bean to retrieve the new value and store this in the sessionScope or processScope or perhaps a property of a session-scoped managed bean, which can be queried in a different page.
    Regards,
    Ibrahim

  • Could not find selected item in LOV

    hi i follow this sample http://www.scribd.com/doc/2633296/ADF-Learning-6-Dependent-List-Boxes ,but when i select my LOV am geting this error FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 100 of type: oracle.jbo.domain.Number in the list-of-values.
    am in jdeveloper 11.1.1.6.0

    the data type am selecting is number but displaying employee name my page is,the value 100 is the employeeid is in db
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1">
          <af:messages id="m1"/>
          <af:form id="f1">
            <af:panelHeader text="panelHeader 1" id="ph1">
              <f:facet name="context"/>
              <f:facet name="menuBar"/>
              <f:facet name="toolbar">
                <af:commandButton actionListener="#{bindings.CreateInsert.execute}"
                                  text="CreateInsert"
                                  id="cb1"/>
              </f:facet>
              <f:facet name="legend"/>
              <f:facet name="info"/>
              <af:panelFormLayout id="pfl1">
                <af:inputText value="#{bindings.DepartmentId.inputValue}"
                              label="#{bindings.DepartmentId.hints.label}"
                              required="#{bindings.DepartmentId.hints.mandatory}"
                              columns="#{bindings.DepartmentId.hints.displayWidth}"
                              maximumLength="#{bindings.DepartmentId.hints.precision}"
                              shortDesc="#{bindings.DepartmentId.hints.tooltip}"
                              id="it1" rendered="false">
                  <f:validator binding="#{bindings.DepartmentId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.DepartmentId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.EmployeeId.inputValue}"
                              label="#{bindings.EmployeeId.hints.label}"
                              required="#{bindings.EmployeeId.hints.mandatory}"
                              columns="#{bindings.EmployeeId.hints.displayWidth}"
                              maximumLength="#{bindings.EmployeeId.hints.precision}"
                              shortDesc="#{bindings.EmployeeId.hints.tooltip}"
                              id="it3" rendered="false">
                  <f:validator binding="#{bindings.EmployeeId.validator}"/>
                  <af:convertNumber groupingUsed="false"
                                    pattern="#{bindings.EmployeeId.format}"/>
                </af:inputText>
                <af:inputText value="#{bindings.Password.inputValue}"
                              label="#{bindings.Password.hints.label}"
                              required="#{bindings.Password.hints.mandatory}"
                              columns="#{bindings.Password.hints.displayWidth}"
                              maximumLength="#{bindings.Password.hints.precision}"
                              shortDesc="#{bindings.Password.hints.tooltip}"
                              id="it4">
                  <f:validator binding="#{bindings.Password.validator}"/>
                </af:inputText>
                <af:inputText value="#{bindings.UserId.inputValue}"
                              label="#{bindings.UserId.hints.label}"
                              required="#{bindings.UserId.hints.mandatory}"
                              columns="#{bindings.UserId.hints.displayWidth}"
                              maximumLength="#{bindings.UserId.hints.precision}"
                              shortDesc="#{bindings.UserId.hints.tooltip}" id="it2">
                  <f:validator binding="#{bindings.UserId.validator}"/>
                </af:inputText>
                <af:selectOneChoice value="#{bindings.DepartmentId1.inputValue}"
                                    label="#{bindings.DepartmentId1.label}"
                                    required="#{bindings.DepartmentId1.hints.mandatory}"
                                    shortDesc="#{bindings.DepartmentId1.hints.tooltip}"
                                    id="soc1" autoSubmit="true">
                  <f:selectItems value="#{bindings.DepartmentId1.items}" id="si1"/>
                </af:selectOneChoice>
                <af:selectOneChoice value="#{bindings.EmployeeId1.inputValue}"
                                    label="#{bindings.EmployeeId1.label}"
                                    required="#{bindings.EmployeeId1.hints.mandatory}"
                                    shortDesc="#{bindings.EmployeeId1.hints.tooltip}"
                                    id="soc2" partialTriggers="soc1">
                  <f:selectItems value="#{bindings.EmployeeId1.items}" id="si2"/>
                </af:selectOneChoice>
              </af:panelFormLayout>
            </af:panelHeader>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>my view is
    <?xml version="1.0" encoding="windows-1252" ?>
    <!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
    <!---->
    <ViewObject
      xmlns="http://xmlns.oracle.com/bc4j"
      Name="VikUserViewObj"
      Version="11.1.1.61.92"
      InheritPersonalization="true"
      SelectList="VikUser.DEPARTMENT_ID,
           VikUser.EMPLOYEE_ID,
           VikUser.PASSWORD,
           VikUser.USER_ID"
      FromList="VIKUSER VikUser"
      BindingStyle="OracleName"
      CustomQuery="false"
      PageIterMode="Full"
      UseGlueCode="false">
      <Properties>
        <SchemaBasedProperties>
          <LABEL
            ResId="model.VikUserViewObj_LABEL"/>
        </SchemaBasedProperties>
      </Properties>
      <EntityUsage
        Name="VikUser"
        Entity="model.VikUser"/>
      <ViewAttribute
        Name="DepartmentId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="DepartmentId"
        EntityUsage="VikUser"
        AliasName="DEPARTMENT_ID"/>
      <ViewAttribute
        Name="EmployeeId"
        IsNotNull="true"
        PrecisionRule="true"
        EntityAttrName="EmployeeId"
        EntityUsage="VikUser"
        AliasName="EMPLOYEE_ID"/>
      <ViewAttribute
        Name="Password"
        PrecisionRule="true"
        EntityAttrName="Password"
        EntityUsage="VikUser"
        AliasName="PASSWORD"/>
      <ViewAttribute
        Name="UserId"
        PrecisionRule="true"
        EntityAttrName="UserId"
        EntityUsage="VikUser"
        AliasName="USER_ID"/>
      <ResourceBundle>
        <PropertiesBundle
          PropertiesFile="model.ModelBundle"/>
      </ResourceBundle>
    </ViewObject>Edited by: user0994 on 2012/10/20 9:07 PM
    Edited by: user0994 on 2012/10/20 9:29 PM
    Edited by: user0994 on 2012/10/20 10:41 PM

Maybe you are looking for

  • I NEED HELP FINDING MY RSS FEED ADRESS!!!!!

    hi im getting crazy trying to find my rss feed adress, i tried to post my podcast in yahoo podcast directory and in a few more podcast searchers, all asked me my rss feed adress but I CAN´T FIND IT. PLEASE anyone can tell me where it is? or where i c

  • No notification on text messages on Z10 after the 10.2.1.3062 update

    I have recently updated my phone to the new 10.2.1.3062 which had 28mb on my Z10, now there is no notification on text messages. messages are just poping through silently. no LED, no Sound. absolutely nothing. on text message icon on homescreen there

  • ORA-12801: error signaled in parallel query server P002

    We are encountering the below problem frequently in SUN SOLARIS BOX ORA-12801: error signaled in parallel query server P002 ORA-01652: unable to extend temp segment by 128 in tablespace TEMP

  • Cannot generate .chm; no images are compiling.

    Thank you in advance for any help.  Here is the situation:  I am using RoboHelp HTML, ver. 8 and have a project that I cannot generate a .chm file for.  Each time I try it runs through the compiler, the output shows .htm files but no image files are

  • JAXM and entities in SOAP document

    I've been trying out JAXM (1.0.0) and I've reached a situation where JAXM is telling me that I can't have entities (such as & lt ;) in my SOAP document. I've not seen this restriction mentioned anywhere before -- I can't find it in the SOAP 1.1 spec.