I18n of Databound Pop-list

Hi all,
I read Oracle "How to create Databound pop-list with Oracle Jdeveloper10g" to create a Single Select List.
In this paper the DepartmentId input text will be replaced with a Databound pop-list. This works fine for a single language. How can I create a i18n Databound pop-list with the same mechanism of the paper? It's possible?
thx

From a design point of view I wouldn't do it your way because you'll have to change the table structure if you find you need to add another language.
I'd use a structure like
TABLE answers
answers_id NUMBER
answers_country_code VARCHAR2
answers_answer VARCHAR2
That way you can have as many languages as you like and simply query based on the country code.
However, assuming your Structure, you'll have to do something with JSTL.
So maybe you'd create three list bindings in the UIModel for the page, one for each language, with the correct column being displayed for the display value. The use a <c:choose> statement in the page to define which one to actually show based in the locale

Similar Messages

  • Creating a databound JSP pop-list (with dependent values)

    I was able to create a databound JSP pop-list from the "How To Create a Databound Pop-list with Oracle JDeveloper 10g" article. Where would I have to modify the code so that I can define a WHERE clause to the DepartmentView object so that only a subset of values are displayed? My goal is to try to create pop-lists so that the values of pop-list #2 is dependent on the current value in pop-list #1.

    You can create both static values and also
    values based on record group .
    I think you know how to create static values.
    (for static just give the values in "Element List" property of list item)
    Using Record group. see this example.
    Declare
    Rg_Id RecordGroup;
    Rg_Name varchar2(20) := 'Type';
    List_Id Item;
    Temp Number;
    Rowcount Number;
    Begin
    Rg_Id := Find_Group('Type');
    If Not Id_Null(Rg_Id) Then
    Delete_Group(Rg_Id);
    End If;
    Rg_Id := Create_Group_From_Query('Type','select empno,'
    &#0124; &#0124;'empno'
    &#0124; &#0124;' from emp ');
    List_Id := Find_Item('CTRL_BLOCK.IT_LIST');
    Temp := populate_Group(Rg_Id);
    Populate_List(List_Id,Rg_Id);
    End;
    In the selection you must give two columns one for label and another one for value.
    Try this and let me know if you have any problem.
    Regards,
    viji.
    null

  • How to remove value from pop list in iProcurement Page

    I need to remove a value from POP list. How can I do this? Can I do this using Perosnalization?
    While creating requisition in the approvers page there are two buttons one is Approvers and another is Add_Attachments.
    When I click Add_Attachments button it will open another page there I need enter description and select category from the pop list and define attachment.
    In the category list I need to remove one value. How do i do this.Personalization links not available in this page.
    Please help guys...
    Thanks Advance
    Kumar

    Kumar,
    First you need to find out the data source for the category pop list. Based on that we can suggest how to achieve that requirement as there are many different ways of specifying the data source for a pop list.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Populating a Pop List via WHEN-NEW-FORM-INSTANCE

    Vendor provided a form that attempts to populate a pop list within a WHEN-NEW-FORM-INSTANCE trigger. Unfortunately when the user enters the form there are no values in the list. User has access to the table (verified by running SQL of cursor in SQL*Plus). Here is the trigger:
    BEGIN
    G$_SET_INST_PROPERTY;
    G$_CHECK_FAILURE;
    G$_STARTUP;
    G$_CHECK_FAILURE;
         DECLARE
         CURSOR SFTVDTYP_C IS
         SELECT SFTVDTYP_CODE,SFTVDTYP_DESC FROM SFTVDTYP ORDER BY SFTVDTYP_DESC;
         i number := 1;
         BEGIN
         Clear_list('SFDBCOND_DTYP_CODE');
         for SFTVDTYP_REC in SFTVDTYP_C loop
         Add_list_element ('SFDBCOND_DTYP_CODE', i, sftvdtyp_rec.sftvdtyp_desc, sftvdtyp_rec.sftvdtyp_code);
         i := i+1;
         end loop;
         Set_item_property ('SFDBCOND_DTYP_CODE', REQUIRED, PROPERTY_TRUE);
         :SFDBCOND.SFDBCOND_DTYP_CODE := get_list_element_value('SFDBCOND_DTYP_CODE', 1);
         SYNCHRONIZE;
         END;
    END;
    Vendor claims that other sites this is working perfectly. Any ideas what has gone wrong at our site?

    seems like the select is not returning any values.
    try to put a message inside the cursor-for-loop to see if how often it loops.

  • Add Content renders blank pop list

    I have created a Webcenter application.
    The edit button changes the mode to editable. Upon hitting the Add Content button, a blank pop list is rendered with the following exception:
    Mar 12, 2010 5:28:35 AM oracle.adfinternal.rc.model.service.CatalogService getCatalogContext()
    SEVERE:
    oracle.adf.rc.model.exception.InvalidCatalogException: cannot initialize the catalog context with catalog [default-catalog]
         at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1720)
         at oracle.adfinternal.rc.model.service.CatalogService.retrieveItems(CatalogService.java:1412)
         at oracle.adfinternal.rc.model.service.CatalogService.getItems(CatalogService.java:499)
         at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:303)
         at oracle.adf.rc.model.dc.ResourceCatalog.getItems(ResourceCatalog.java:490)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at oracle.adf.model.binding.DCInvokeMethod.invokeMethod(DCInvokeMethod.java:567)
         at oracle.adf.model.binding.DCDataControl.invokeMethod(DCDataControl.java:2113)
         at oracle.adf.model.bc4j.DCJboDataControl.invokeMethod(DCJboDataControl.java:3020)
         at oracle.adf.model.bean.DCBeanDataControl.invokeMethod(DCBeanDataControl.java:439)
         at oracle.adf.model.binding.DCInvokeMethod.callMethod(DCInvokeMethod.java:257)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1625)
         at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2120)
         at oracle.adf.model.bean.DCBeanDataControl.invokeOperation(DCBeanDataControl.java:467)
         at oracle.adf.model.adapter.AdapterDCService.invokeOperation(AdapterDCService.java:307)
         at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:730)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.invokeMethodAction(JUMethodIteratorDef.java:173)
         at oracle.jbo.uicli.binding.JUMethodIteratorDef$JUMethodIteratorBinding.initSourceRSI(JUMethodIteratorDef.java:656)
         at oracle.adf.model.binding.DCIteratorBinding.callInitSourceRSI(DCIteratorBinding.java:1655)
         at oracle.adf.model.binding.DCIteratorBinding.internalGetRowSetIterator(DCIteratorBinding.java:1631)
         at oracle.adf.model.binding.DCIteratorBinding.setRangeSize(DCIteratorBinding.java:3307)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3115)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.internal.binding.TaskFlowRegionController.refreshRegion(TaskFlowRegionController.java:166)
         at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3084)
         at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2791)
         at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:546)
         at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:78)
         at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:222)
         at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:190)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:19)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:393)
         at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:58)
         at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:42)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:246)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:193)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:189)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at com.bea.content.manager.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:178)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:230)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3593)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2203)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2109)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1427)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: oracle.adf.rc.exception.DefinitionNotFoundException: cannot find resource catalog [default-catalog] using MDS path=[oracle/adf/rc/metadata/default-catalog.xml] Root Cause=[MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"] [Root exception is oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/oracle/adf/rc/metadata/default-catalog.xml"]
         at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:150)
         at oracle.adfinternal.rc.catalog.CatalogImpl.openCatalog(CatalogImpl.java:108)
         at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:339)
         at oracle.adfinternal.rc.core.RCSessionImpl.getCatalog(RCSessionImpl.java:323)
         at oracle.adfinternal.rc.model.service.CatalogService.getCatalogContext(CatalogService.java:1708)
         ... 73 more
    The jspx page:
    <?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"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view locale="#{applCorePrefs.locale}">
    <af:document id="d1">
    <af:form id="f1">
    <af:panelSplitter orientation="vertical" splitterPosition="50" id="ps1">
    <f:facet name="first">
    <af:panelStretchLayout id="psl1" startWidth="400px"
    endWidth="300px" topHeight="0px"
    bottomHeight="0px">
    <f:facet name="bottom"/>
    <f:facet name="center"/>
    <f:facet name="start"/>
    <f:facet name="end">
    <af:panelGroupLayout id="pgl1" layout="scroll">
    <pe:changeModeButton id="cmb1"/>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="top"/>
    </af:panelStretchLayout>
    </f:facet>
    <f:facet name="second">
    <!-- id="af_one_column_header_stretched_with_splitter" -->
    <pe:pageCustomizable id="pageCustomizable1">
    <f:facet name="editor">
    <pe:pageEditorPanel id="pep1"/>
    </f:facet>
    <pe:layoutCustomizable id="layoutCustomizable1">
    <cust:panelCustomizable id="panelCustomizable1"/>
    <f:facet name="contentA">
    <cust:panelCustomizable id="panelCustomizable2"/>
    </f:facet>
    <f:facet name="contentB">
    <cust:panelCustomizable id="panelCustomizable3"
    layout="horizontal">
    <cust:showDetailFrame text="Custom Show Detail Header Text" id="sdf1"/>
    <af:inputText label="First Label" id="it1"/>
    </cust:panelCustomizable>
    </f:facet>
    </pe:layoutCustomizable>
    </pe:pageCustomizable>
    </f:facet>
    </af:panelSplitter>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    What is wrong with the page here? Or is there any jar that I have missed out.

    I have the same exceptions thrown at me. Unfortunately, I do have the default-catalog.xml created for me. But for some reason it is not found it seems. I have tried creating a custom catalog, but that is not found either. How does one specify in which directory the framework should look for this catalog? Is there anything else to influence the frameworks ability to find a file that clearly exists!
    best regards
    Lucas

  • Blank record in POP list

    Hi,
    I have a form, and i query data to populate the pop list when I enter the form.
    So far, no problem. But how do I add a blank entry in the Pop list?
    I want the user to select from the list or blank entry.
    When I click on the pop list, all the data is there, EXCEPT for a BLANK entry.
    Please Help,
    Marc.

    Remove the required property = yes and inital values should be blank.
    you will get a blank entry

  • Can a pop list have a dynamic value assigned to it?

    Can a pop list have a dynamic value assigned to it?
    like Select actualValue, fullname from category;
    and assigning fullname to the list of values of the pop list and actualValue to each of the values returned...

    The following code will help you and define on when-new-form-instance trigger,
    DECLARE
    rg_name VARCHAR2(40) := 'EMP';
    rg_id RecordGroup;
    errcode NUMBER;
    BEGIN
    rg_id := Find_Group( rg_name );
    IF not Id_Null(rg_id) THEN
       delete_group(rg_id);
    END IF;
    rg_id := Create_Group_from_query(RG_NAME, 'SELECT ename, TO_cHAR(empno) FROM emp');
    errcode := Populate_Group( rg_id );
    -- Error occured while populating the record group
    if errcode != 0 then
    message(' Error occured while populating the record group');
    raise form_trigger_failure;
    end if;
    -- Clearing the list before populating it.
    clear_list('here you define block column name');
    populate_list('here you define block column name',RG_ID);
    exception
    when no_data_found then
    null;
    when others then
    null;
    END;  

  • Display More then one column in to POP LIST OF VALUE Item

    Dear All,
    i want to display More then one column in to POP LIST OF VALUE Item like POINTNO,CITY_NAME,REGION_NAME,POSTEL_CODE .
    How can i display these 5 Column in to POP UP LIST OF VALUE Item.
    Thanks
    Vedant

    Hi,
    Here is my example how to get the address data from address book:
    on page, where is the IR report with many columns (as a popup page) there is a Column Link of URL type - you can choose any colulmn .
    In the URL address type: javascript:passBack('#ID#', '#NAME#', '#SURENAME#', '#COMPANY#', '#STREET#', '#CITY#', '#POSTAL_CODE#', '#STATE#' );self.close();
    self.close function close the popup after fetch.
    It will call a passBack function declared in page header.
    Example:
    <script language = "JavaScript">
    function passBack(v_addr_id, v_name, v_suren, v_comp, v_street, v_city, v_postal_code, v_state) {
    opener.document.getElementById('P2_ADDRESS_ID').value = v_addr_id;
    opener.document.getElementById('P2_ADR_NAME').value = v_name;
    opener.document.getElementById('P2_ADR_SURENAME').value = v_suren;
    opener.document.getElementById('P2_ADR_COMPANY').value = v_comp;
    opener.document.getElementById('P2_ADR_STREET').value = v_street;
    opener.document.getElementById('P2_ADR_CITY').value = v_city;
    opener.document.getElementById('P2_ADR_POSTAL_CODE').value = v_postal_code;
    opener.document.getElementById('P2_ADR_STATE').value = v_state;
    </script>
    If you want set only one value, just make a similar function with only one parameter.
    I hope it will help to you
    J

  • Pop-List button

    Hi,
    I am generating Forms application (iAS).
    I would like to change view of pop-list button from arrow to "...".
    I know that there is something Jinitiator.
    How can I do that ?
    regards,
    Cezary

    Set app.ui.lovButtons to false. Then add a button to the canvas right next to the item. Set iconic to Yes and the Icon Filename to the name of your .gif file that contains the icon that you want to display on the button. For example, if your filename is list.gif, you would set IconFilename to list.
    To deploy the icon file, there is some configuration that must be done on the middle tier. There is a white paper on OTN that explains how to do it: http://www.oracle.com/technology/products/forms/pdf/webicons.pdf.
    If you want to have the button only visible when navigating to the text item, you can use Pre-Text-Item and Post-Text-Item triggers on the text item to make the button visible/not visible.

  • How to move to a particular record after getting the key from pop list?

    Hi,
    I have a non-tabular form. I have provided a POP Lov to display and return the primary key of the table.
    When a particular record is selected from the List I want the page to fetch that particular row from the table and populate the fields. This is a critical feature I need in most forms, so use can easily fetch any record of choice.
    Can some one help me?
    thanks
    Seb

    Hi
    There are several methods you could adopt for this.
    The most typical method would be the report/form combination of pages - where the form is populated based on the PK ID passed by a link from the form. In a lot of cases, I would suggest, this is what users would expect.
    However, I can also see situations where the user wouldn't want to see a report just to get to a form. In these cases, either a Select List with Submit or a Popup LOV would be required.
    Either way, the principles would be the same - you need to populate the form page's hidden PK item with the ID of the record you want to display/edit and let the page's "Fetch Row..." process retrieve the record when the page is reloaded.
    For a Select List with Submit, the list itself could be the PK item or you could transfer this into the normal hidden item. The latter could be handled either by a process or a branch when the page is submitted (which would be triggered by the change in the list's value).
    The popup LOV method would be more complicated as you have two pages to work with. However, this can still be done as long as you consider two things - (1) the popup page needs to set the ID value for the form page to use and (2) the popup page needs to force the form page to reload so that it can use this value. (1) can be done using a normal page submit - you can set any value on any page and it will be retained unless you clear the session value(s) for that page or item and (2) can be handled with javascript - a child window (which is what a popup is) can run javascript in its parent window - or by the user clicking a button on the form page.
    Another alternative would be to retrieve all relevant values in the Popup and populate the parent with all these values when the user makes their selection. This would require that the hidden PK ID item on the form is "Hidden" rather than "Hidden and protected" to allow javascript to set this value so that the record can be saved correctly.
    Andy

  • Oracle form: how to retrieve data from database to pop list

    I have problem in retrieving data from database to item list in
    oracle forms.
    Can anyone help me.
    thanks.

    The next is an example but you can find this information in
    Forms Help:
    DECLARE
         G_DESCS RECORDGROUP;
         ERRCODE NUMBER;
         rg_id RECORDGROUP;
         rg_name VARCHAR2(40) := 'Descripciones';
    BEGIN
         rg_id := FIND_GROUP(rg_name);
         IF Id_Null(rg_id) THEN
         G_DESCS := Create_Group_From_Query (rg_name, 'SELECT
    DESCRIPCION DESCRIPCION, DESCRIPCION DESC2 FROM FORMAS_PAGO);
         ERRCODE := POPULATE_GROUP(G_DESCS);
         POPULATE_LIST('FORMAS_PAGO.CMBDESCRIPCION',G_DESCS);
         END IF;
    END;
    Saludos.
    Mauricio.

  • Pop List and Developer Toolbar

    Hi every body,
    I love HTML DB , It a cool and nice thing
    I need your help folks,
    1. How can I hide the developer toolbar for some user.
    2. How can I build one page showing master-detail rel, I need to show Depts as a select list then when I select a certain deptartment the bottom of the page shows the related employees and have the ability to change the sal and comm columns only.If it is not possible then I am satisfied with two pages with the same functionality.
    thanx

    <omar>
    1. How can I hide the developer toolbar for some user.
    </omar>
    <raj>
    sergio explained this at Some newbie questions . please take a look and let us know if you have questions.
    </raj>
    <omar>
    2. How can I build one page showing master-detail rel, I need to show Depts as a select list then when I select a certain department the bottom of the page shows the related employees and have the ability to change the sal and comm columns only.If it is not possible then I am satisfied with two pages with the same functionality.
    </omar>
    <raj>
    here's an easy way to setup a master-detail form on emp/dept as you've described it:
    1) create a tabular form page on EMP using the "Tabular Form Wizard" being sure to select only the Sal and Comm columns in the "Updatable Columns" field of the "Identify Updatable Columns and Primary Key" page of the wizard.
    2) add a Dept lov to your wizard-generated tablular form (let's say it's page 1)
    ------create the new item (let's call it P1_DEPTNO) with a type of "Select List with Submit"
    ------define the LOV for this Dept item as something like "select dname, deptno from dept"
    3) add a branch to the page to have the page redraw itself when a value if a value is selected from the LOV above
    ------create the branch with a type of "Branch to Page or URL" that branches back to itself (page 1 in this case)
    ------set the branch up with a "Condition Type" of "Request = Expression 1" and have "Expression 1" be the name of your item, P1_DEPTNO
    4) add a where clause to your tabular form query so it pays attention to your selected Department
    ------"where (to_char(deptno) = :P1_DEPTNO or :P1_DEPTNO ='%null%')" should do it for now
    and that should do it.
    </raj>
    let us know if you need further assistance,
    raj

  • Creating Combo Box or Pop list

    I created list of values.But i never used combo box and poplist.I created a item and in itemtype i changed to listitems and functionality nodes changed to combo box.How to generate value in the list through programatically.Can any one help me .
    Thanks

    You can create both static values and also
    values based on record group .
    I think you know how to create static values.
    (for static just give the values in "Element List" property of list item)
    Using Record group. see this example.
    Declare
    Rg_Id RecordGroup;
    Rg_Name varchar2(20) := 'Type';
    List_Id Item;
    Temp Number;
    Rowcount Number;
    Begin
    Rg_Id := Find_Group('Type');
    If Not Id_Null(Rg_Id) Then
    Delete_Group(Rg_Id);
    End If;
    Rg_Id := Create_Group_From_Query('Type','select empno,'
    &#0124; &#0124;'empno'
    &#0124; &#0124;' from emp ');
    List_Id := Find_Item('CTRL_BLOCK.IT_LIST');
    Temp := populate_Group(Rg_Id);
    Populate_List(List_Id,Rg_Id);
    End;
    In the selection you must give two columns one for label and another one for value.
    Try this and let me know if you have any problem.
    Regards,
    viji.
    null

  • FRM-41337: Cannot pop list from record group

    If I update a record from a poplist and try to re-populate the list, i get this error. I've read you need to have a default or other values listed, unless it can accept NULL values. Well, it CAN accept NULL values, and required property is set to NO. I'd appreciate your help.

    On-line help says:
    ADD_LIST_ELEMENT restrictions:
    For a base table list with the List Style property set to Poplist or T-list, Form Builder does not allow you to add another values element when the block contains queried or changed records. Doing so causes an error. This situation can occur if you have previously used DELETE_LIST_ELEMENT or CLEAR_LIST to remove the other values element that was specified at design time by the Mapping of Other Values list item property setting.
    Note: The block status is QUERY when a block contains queried records. The block status is CHANGED when a block contains records that have been either inserted or updated.

  • POP LIST

    Using Forms6i Client/Server
    I have a poplist item that is populated by a query.
    My problem is that when I click on the list, I am auto navigated to the last entry.
    Is this a default or have I made an error??!!

    Asim,
    set the poplist property "required" to yes and see if it changes a thing.
    Frank

Maybe you are looking for

  • How to get the customize url of an portlet using PLSQL

    How to get the customize url of an portlet using PLSQL.

  • How to change content type from Document set to Item

    While creating content type I've selected Item as a parent but after created I can see its showing Document Set as a parent content type. Now can anyone please suggest if possible I can change the parent content type from Document Set to Item.

  • Status of SAP Query SQ01-SQ03

    Hi I have a generic question on whether transaction codes SQ01 to SQ03 should be allowed for modification every system ( Dev, QA, PRD) or should be set as "not modifiable" in any system other than DEV - such that changes follow the Transport route. W

  • Link to local url

    I want to link to a url that will be local on the CD. I am using toToNetPage "myUrl", "_new" but when clicked for the first time if the browser is not already running I get a blank untitled page or tab. Click it again and I get the page OK but this w

  • LabVIEW changes colors in different machines

    Hello! I'm having a problem with some VIs and I hope somebody can help me. A friend developed some VIs in one PC, and set the colors for the front panels, controls, and indicators. Then he gave me those VIs and ...surprise!, when I open them in my PC