Cascading List Item does not work proprely

In HTMLDB 2.0
I have two list item
The first one: :P7_TYPE (select list with branch to page)
The second: :P7_PERIOD (select list)
The Query of the :P7_PERIOD use a where clause on :P7_TYPE
There is also two button at the bottom of region that will work once the two list (P7_TYPE and P7_PERIOD) are filled.
Note: Both Query are based on shared compenent LOV.
So I would like the page refreshed once the P7_TYPE values is choosed so the P7_PERIOD show only the valid values.
The problem is when I select from the P7_TYPE List, the page is refresh but instead of displaying the page 7 again, it display another page of the application.
I realise it always display the page number according to the value of the P7_TYPE.
For exemple, if in P7_TYPE is choose (type desc 4, value 4) then the page 4 is displayed.
I want the page 7 to be resfresh, not another page. So I can have a cascading list that work with P7_PERIOD.
??

Ok, I change the list for list with submit instead and it work.

Similar Messages

  • Programmatically clearing an input item does not work

    Hello,
    I want to clear one input item (RichInputListOfValues) contained in a PanelForm programmatically, after the user presses on the "Clear" button:
    <af:commandToolbarButton text="Clear" id="ctb1"
    actionListener="#{pageFlowScope.UiBindings.clearItem}"/>Where the code that should really clear the item is:
        public void clearItem(ActionEvent actionEvent) {
                getItem().setValue(null);
                // getItem().resetValue(); // even with this, it does not work.
                AdfFacesContext.getCurrentInstance().addPartialTarget(getItem());
        public RichInputListOfValues getItem() {
            return item;
        }However, the above does not clear the item on the page. I have to click a second time to actually see the item empty as expected.
    The problem still appears if I also do addPartialTarget() on the PanelForm container.
    Do you have any idea?

    My test case:
    JDeveloper 11.1.2.2
    page:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <f:view xmlns:f="http://java.sun.com/jsf/core" xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
        <af:document title="untitled1.jsf" id="d1">
            <af:form id="f1">
                <af:toolbar id="t1">
                    <af:commandToolbarButton text="Clear" id="ctb1" actionListener="#{viewScope.myBean.clear}"/>
                </af:toolbar>
                <af:inputListOfValues label="Label 1" popupTitle="Search and Result Dialog" id="ilov1"
                                      binding="#{viewScope.myBean.item}"/>
            </af:form>
        </af:document>
    </f:view>bean:
    package view;
    import javax.faces.event.ActionEvent;
    import oracle.adf.view.rich.component.rich.input.RichInputListOfValues;
    import oracle.adf.view.rich.context.AdfFacesContext;
    public class myBean
      private RichInputListOfValues item;
      public myBean()
      public void setItem(RichInputListOfValues item)
        this.item = item;
      public RichInputListOfValues getItem()
        return item;
      public void clear(ActionEvent actionEvent)
        getItem().setValue(null);
        AdfFacesContext.getCurrentInstance().addPartialTarget(getItem());
    }config:
    <?xml version="1.0" encoding="windows-1252" ?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__1">
        <managed-bean-name>myBean</managed-bean-name>
        <managed-bean-class>view.myBean</managed-bean-class>
        <managed-bean-scope>view</managed-bean-scope>
      </managed-bean>
    </adfc-config>It works fine on the first click. Something's not right on your end :)
    John

  • Itunes 10.6.1.7 I have 2 sets of playlists the first set displays greyed out lists and does not work The second set is fine. How do I get rid of the non working set of playlists?

    I have 2 sets of playlists in the sidebar of itunes. I have recently upgraded to 10.6.1.7 but this condition remains the same
    The top list refers to greyed out listings and does not function
    The list below works fine
    How do I get rid of the "false" list?

    I think the greyed out playlists must be listed from your device which is set up to mirror your library. Because the device is synced you can't edit content directly on the device. From the top of the left-hand column do you have?
    Library > Music, Movies...
    Store > iTunes Store, iTunes Match...
    Devices > <Your Device> > Music, Movies, and all the other "dummy" lists...
    Genius > Genius, Genius Mixes...
    Playlists > iTunes DJ, and then all your playlist folders and playlists...
    If so then that is perfectly normal when your device is connected, either directly or over wi-fi and you have the lists expanded. Simply click the small triangle to the left of the device name to hide all the playlists.
    tt2

  • Check menue item does not work

    Hello,
    I create a menu item MI_DEBUG of type Check in a submenu named EXTRAS_MENU.
    In the menu item code I want to enable debug logging of the current user actions.
    In the Menu Startup Code I set the status UNCHECKED.
    When the user clicks the menu item I want the status to be changed to CHECKED and back on a second click
    Menu Startup Code
    DECLARE
        mi_id   MENUITEM;
    BEGIN
        mi_id   := find_menu_item('EXTRAS_MENU.MI_DEBUG');
        IF id_null(mi_id) THEN
            my_debug.pl('EXTRAS_MENU.MI_DEBUG not found','zvc_menu.mmb Menu Startup Code');
        ELSE
            set_menu_item_property(mi_id,CHECKED,PROPERTY_FALSE);
        END IF;
    END;Menu Item Code
    DECLARE
        mi_id   MENUITEM;
    BEGIN
        mi_id   := find_menu_item('EXTRAS_MENU.MI_DEBUG');
        IF id_null(mi_id) THEN
            my_debug.pl('EXTRAS_MENU.MI_DEBUG not found','zvc_menu.mmb mi_debug');
        ELSE
            my_debug.pl('EXTRAS_MENU.MI_DEBUG found','zvc_menu.mmb mi_debug');
            my_debug.pl('Status '||get_menu_item_property(mi_id,CHECKED),'zvc_menu.mmb mi_debug');
            IF get_menu_item_property(mi_id,CHECKED) = 'TRUE' THEN
                my_debug.pl('property(CHECKED) = TRUE','zvc_menu.mmb mi_debug');
                set_menu_item_property(mi_id,CHECKED,PROPERTY_FALSE);
            ELSE
                my_debug.pl('property(CHECKED) = FALSE','zvc_menu.mmb mi_debug');
                set_menu_item_property(mi_id,CHECKED,PROPERTY_TRUE);
            END IF;
        END IF;
    END;But I never get the checked sign in the menu and every time my debug messages say, that the property CHECKED = 'TRUE'.
    I even have tried it with PROPERTY_ON/OFF as some examples suggest, but it doesn't work.
    Any ideas what is wrong with my code?
    Forms [32 Bit] Version 11.1.1.4.0 (Production)
    Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
    Regards
    Marcus

    Hm. In that case the only thing that comes to my mind is to apply the latest patchset for forms 11gR1 which is 11.1.1.6 if memory serves.Not possible, applying patches requires tons of tests for many applications.
    Does it work in a previous version of forms?This is a new menu item and I have not other version available to test.
    Another thing I found: When I open or close a form after clicking the menu item, then the check mark appears. Changing the label of an item works without opening a form.
    Therefore I changed my Menu Item Code to
    DECLARE
        mi_id   MENUITEM;
    BEGIN
        mi_id   := find_menu_item('EXTRAS_MENU.MI_DEBUG');
        IF id_null(mi_id) THEN
            my_debug.pl('EXTRAS_MENU.MI_DEBUG not found','zvc_menu.mmb mi_debug');
        ELSE
            my_debug.pl('EXTRAS_MENU.MI_DEBUG found','zvc_menu.mmb mi_debug');
            my_debug.pl('Status '||get_menu_item_property(mi_id,CHECKED),'zvc_menu.mmb mi_debug');
            IF get_menu_item_property(mi_id,CHECKED) = 'TRUE' THEN
                my_debug.pl('property(CHECKED) = TRUE','zvc_menu.mmb mi_debug');
                set_menu_item_property(mi_id,CHECKED,PROPERTY_FALSE);
                set_menu_item_property(mi_id,LABEL,'Debug on');
            ELSE
                my_debug.pl('property(CHECKED) = FALSE','zvc_menu.mmb mi_debug');
                set_menu_item_property(mi_id,CHECKED,PROPERTY_TRUE);
                set_menu_item_property(mi_id,LABEL,'Debug off');
            END IF;
        END IF;
    END;Now when I click the menu item the first time, the label changes immediately, but not the check mark. When I click the menu item a second time without opening a form the label does not change, this means, that the property CHECKED is only changed, when a form is opend/closed.
    Even better: The initial label id Debug, clicking the item should change it to+ Debug on+ and on subsequent clicks change between Debug on and Debug off
    1. Click -> Label changes to "Debug on", check mark unchanged
    2. open a form
    3. Check mark is shown but label is the default Debug
    4. close the form
    5. Check mark is not shown, label is back to Debug on
    6. Repeat step 2 - 5 with the same result
    Different sequences of clicking and opening/closing forms give seemingly random combinations of check mark on/off and label texts.
    Conclusion:
    A menu check item is a very obstinate thing. I will not use it if I can avoid it.
    Regards
    Marcus

  • DB Toolbox List tables - does not work properly

    Hello All
    I have two databases: one "c:\a\aa.mdb" contains some tables inside
    second "c:\a\bb.mdb" contains no table.
    When I run the list tables command from DB toolbox SEPARATELLY the tables are listed in proper way, i.e. one has tables, second does not.
    But when I build a vi which returns the table list, and call it twice the result is wrong. Both database seems to have all tables, even though the second does not contain any tables.
    I attachment you will find the packed example.
    Two databases with udl files (change if unpacked to different directory than c:\a\).
    The vi "two vi tables.vi" shows the problem. It calls "find tables.vi" to return the tables in database.
    You can see th
    at when DB List tables is called in the main vi it works fine. But when it is called two times inside the loop it returns false results.
    Can anybody comment on this.
    For those who are afraid of unpacking zip files I enclose pictures.
    thank you in advance
    Pawel
    Attachments:
    list_tables.zip ‏36 KB
    diagram.gif ‏22 KB
    front_pannel.gif ‏37 KB

    Pawel,
    I apologize for the delayed response to your first question. I am currently working on the problem in order to determine a more permanent solution. These forums are a very important resource for not only helping our customers but also for improving our products!
    With regards to your other question I believe the problem is one of data flow programming. Each table creation will take a certain amount of time to complete depending on the size and nature of the rows and columns being inserted. Unless you programmatically control the data flow, the �DB Tools Execute Query.vi� does not necessarily know when each table has been created. Since control is handed off to the database program, the �DB Tools Create Table vi� is forced to wait
    until the database program returns control.
    To programmatically control the flow of data you would need to use either a case structure with a while loop (suggested) or a sequence structure. These structures are critical in cases where execution of a previous section of code must be completed before subsequent code portions are to execute. I have attached an exaple that may prove useful.
    The wait method is actually a good way to time data flow but in this case may not be the best solution if you want your table creations to be dynamic over time (you may be forced to change the wait for larger table creations, for instance). If you know that your table creations will never change then using a wait method may be an acceptable solution.
    I hope this information helps out some. If not please post back with some sample code or more detail on your issue. Good Luck!
    Craig H.
    National Instruments
    Attachments:
    Create_Table_Example.zip ‏26 KB

  • Copy-Item does not work between two azure vms

    hi
    I have 2 VMs hosted in Azure and i tried to copy using power shell
    Copy-Item -Path C:\testSource\test.txt  -Destination \\10.0.0.4\testshare 
    I got the following error
    Copy-Item : Source and destination path did not resolve to the same provider.
    At line:1 char:1
    + Copy-Item -Path C:\testSource\test.txt  -Destination \\10.0.0.4\testshare -Force
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (System.Collecti...[System.String]:Collection`1) [Copy-Item], PSArgumentException
        + FullyQualifiedErrorId : CopyItemSourceAndDestinationNotSameProvider,Microsoft.PowerShell.Commands.CopyItemCommand

    Hi,
    I will mark Sam's post as answer, if you find that doesn't give you help, please feel free unmark it and follow up.
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Hello, i am using itunes 11.1.5 with a MAC and facing the following issue. When i play a playlist and decide to deselect the next tune in the list, itunes does not work as expected and play the tune !

    for instance if i am playing tune #20 and i deselect #21, #21 will still be played. I need to deselect #21 before ITunes has started to play #20. this is a strange behaviour. I am using ITUNES as a DJ again after 2 years off and i don't remember it did behave like this before. Is there a bug with 11.1.5 ?

    http://support.apple.com/kb/PH12131

  • The dropdown list in the address bar does not work when clicked

    In the address bar the dropdown list icon does not work when clicked. I have tried resetting everything in safemode and it still doesn't work. When I click on the icon it just highlights the entire address line.

    This can be a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Also check the setting in:<br />
    [http://kb.mozillazine.org/Menu_differences Firefox > Preferences] > Privacy > Location Bar: When using the location bar, suggest: History, Bookmarks, History and Bookmarks

  • Maverick's Mail does not work with Gmail ! it works better with iOS 7

    For info.
    I do know how it's complex to program and more for an OS System.
    Maverick's Mail DOES NOT work proprely with Gmail boxes ? Gmail incoming or outcoming messages are correctly notified on my iPhone 5s with iOS 7. But not on my Macbook Pro retina (end 2012) with Mavericks. One update was suppose to solve the trouble.
    Hope you'll solve the problem as soon as possible. Bur not during the nights. But during your daytimes' work !
    Wish you nice end of year's days.
    And please get my best wishes for 2014. Hope you'll get a lot of these nice little moments of happiness.
    Best regards.
    Pascal

    Have you checked your incoming and outgoing mail server settings?
    If you are using IMAP, it should look something like the following:
    Incoming Mail (IMAP) Server - Requires SSL
    imap.gmail.com
    Port: 993
    Requires SSL:Yes
    Outgoing Mail (SMTP) Server - Requires TLS
    smtp.gmail.com
    Port: 465 or 587
    Requires SSL: Yes
    Requires authentication: Yes
    Use same settings as incoming mail server
    If you are using POP3, it should look something like the following:
    Incoming mail server type: POP3
    Incoming mail (POP3 or IMAP) server: pop.gmail.com. Google Apps users, enter the server name provided, don't add your domain name in these steps.
              Port: 995
    Outgoing e-mail server (SMTP) name: smtp.gmail.com
         Port: 465
    Outgoing server requires authentication: enabled

  • When logging in into yahoo mail after typing in password Firefox is adding something, login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    When logging in into yahoo mail after typing in password Firefox is adding something, probably remembered password and login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
    Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox

  • The Create List Item workflow action does not work in document library with document template

    My end goal is more complex but below is a basic example of the issue I’m having that just simply does not work.
    I'm trying to use a site workflow to create an item in a document library that has a document template applied to it but the file that gets created by the workflow is corrupt and cannot be opened.
    I created a document library and edited the document template by adding some text to the header and changing it to a Word docx file instead of a Word dotx file. I tested the document template by clicking the files tab in the ribbon and then clicking new
    document which opens the document template in Word and allows me to edit and save the document back to SharePoint. Then I created a SharePoint 2013 site workflow in SharePoint Designer that contains a single Create List Item action, and that action creates
    an item in the document library with the name field statically defined. I published the workflow and then manually start it on the site. The workflow completes successfully and when I navigate to the document library the document has been created by the workflow.
    When I click on the document to open it in the Word Web App it throws the error pictured below and if I open it in the Word client application it just opens a blank document and not the correct document template.
    I also tried using a SharePoint 2010 workflow with pretty much the same results. Opening the document in Word Web App gives the same error as above and opening the document in the Word client application gives the error pictured below.
    Come on Microsoft creating a Word Document in a SharePoint Document Library from a SharePoint Workflow should just work! Is this a bug or does anyone have any ideas on what is causing the this issue?

    I had the same problem with corrupted document - this worked for me:
    1. Create a 2010 Workflow which creates the list element in a document library
    (you may start this workflow from your 2013 workflow if applicable)
    2. In the Create New List Item properties - make sure to set ContentTypeId to your content type
    ("Id for indholdstype" is Danish for "Contenttype ID")
    3. Your Content Type template should be a ".docx" file - NOT a ".dotx" file...!
    (I have always created my templates for content types as .dotx files - seems Microsoft wants us to use ordinary .docx files as template files for content types)
    Hope this helps you!

  • Automatic Selected Item of List Builder Component Does not work (anymore)

    Hi all,
    Í'm working with Xcelsius Engage 2008 (version 5.3.2.0) and the automatic selection of an item at runtime of the list builder component does not work anymore. In a previous version it worked very well.
    Here's the case: at runtime I want that the list builder component automatically puts the first item in the list to the destination section and selects it, so that a graph can show the underlying pushed data. In the previous version it worked o.k., but now at runtime the destination section remains empty at startup. If I interactively select an item from the source section to the destination section and update the list builder, the data is shown correctly, but it must done automatically, which worked o.k. in an earlier version of Xcelsius 2008...
    This are my settings of the list builder component (which was running correctly earlier..):
    -at the general tab I defined a range of labels
    -at the general tab I defined 2 data column insertion series
    -at the behaviour-common tab I defined selected items: position mode; items: the first item of the label list; insert items at runtime
    -all of the data comes from an external xml data source
    You can find an example of the visualisation at: http://onderzoek2.evinet.nl/projecten/10169/dynarap.htm. You will see that at start-up there is no item visible and selected in the destination section of the list builder....
    I've tried every combinations of settings, build up the component from scratch, but its not working (anymore).
    Greetings Erik-Jan Vriens

    Hi njnits,
    Print view button is a standard component of Xcelsius: look at it in the IDE
    Exporting to Powerpoint is also a standard functionality, so yes. For this particular dashboard/report all data resides in an external xml-file which have to be accessible for Powerpoint
    All visualisations, not only the table,  in this/report fetch their data from an external xml-file, but a QaaWS-connection will also do the trick. You will have to write this dedicated service. In our case the xml-data is also generated automatically.
    The external data is best defined as a sort of matrix, consisting of approx. 100 columns by 1000 rows. I agree it takes a lot of Xcelsius but it does the job....
    Hopes this info helps....

  • Cascading LOV does not work when setting the value of the parent LOV with DA

    Hello All,
    Using APEX 4.2.2.
    I have tow LOVs
    Parent LOV item is: P50_TYPE
    Child LOV item is :  P50_PROJECT_ID
    In other words in the attributes of the item P50_PROJECT_ID we have :
    > Cascading LOV Parent Item(s): P50_TYPE
    > Page Items to Submit: P50_TYPE
    > List of values definition: something similar to:
    Select * from mytable where type = :P50_TYPE
    I use DA that execute JS code to set the value of the P50_TYPE item
    something similar to:
    > $('#P50_TYPE').val(2);
    Having done this, the P50_PROJECT_ID item does not get refreshed, when the value of P50_TYPE is changed. Namely, P50_PROJECT_ID remains empty, unless end user manually changes the value of P50_TYPE.
    Any help please ?
    Regards,

    Thanks Scott,
    By the way, I remember reading a thread posted by you about  Sumneva Drag & Drop Report Region plugin that was answered by Tom . But, I cannot find this plugin anywhere. Does not it supported in APEX 4.2 ? Is there any alternative out there ?
    If you use it, and it works find with you, can you please send it to me on [email protected] ?
    Regards,
    Fateh

  • Dynamic Height in Graphs does not work properly when the graph is in an list

    Help please,
    I have an report in SQL Server 2008 (SP1) Reporting Services which uses Dynamic Height to dynamically increase the size of the graph for the data. For a single dataset this works great!
    When I place this graph in a list/tablix (to display this graph on each group) things go bad... Only the first graph on every page is resized, all other graphs on the same page are equal in size of the first!
    When I place a pagebreak on the lists property all graphs are drawn fine!! But then I will have a page for every question in my data (which can be a lot!)
    What is going on here? Please help.

    Hi Jerry,
    thanks for your reply, but this does not work. The graphs are now all the same size (the size of the first one that is), and on the same page for that matter...
    It looks like the renderer calculates the value of the dynamic height only once on a page in stead of each graph. That's a bug in my opinion.
    Any suggestions on how to fix this?
    The inner workings of the report are like this: The data contains anwers from a survey by question, so i have a unknown count of answers with each question; I placed a list on my report with a groupingproperty on the question asked. On this list i place a horizontal bar-graph which must grow in height when it is too small. The dynamic height should be calculated like this =70 + (CountDistinct(AnswerValue.Value)*10) & "pt".
    When i place this calculation in a textbox, every item in the group is calculated correctly. Each graph is drawn, but the graphs are sized only to the size of the first graph on the page. When I place a pagebreak after each list-repeat (so i get each question on a seperate page) each graph is drawn correctly! This results however in more than 100 pages with all used for just a few centimeters (think about trees!).
    I'm using SQL 2008 / SSRS2008 with SP1 by the way ( without SP1, the behaviour is the same).
    Any more suggestions are appreciated.
    Danny

  • Select list with bind variable does not work

    Hi,
    What can be wrong with a 'select list' with the a simple select
    select omschrijving o, id i
    from basiscodes b
    where domein = 'OPTIES'
    and b.id in
    (select eo.basiscode_id from evenementen_opties eo
    where eo.event_id = :P16_ID)
    The :P16_ID has a value and should give result
    But it does not work at all with 'select list'
    Using the POPUP LOV (display discription, return key value) works nice
    The select retuns less then 10 records

    Hi Flavio,
    As I explained, the P16_ID is an item of the master page (page 16)
    In Page 18 where I want to reuse that value, the item is not there, but I use it to assign
    P18_EVENT_ID with the value in P16_ID and that works fine.
    In an after submit process, I do this :
    declare
    function get_pk return varchar2
    is
    begin
    for c1 in (select EVENEMENT_INSCHRIJVING_SEQ.nextval next_val
    from dual)
    loop
    return c1.next_val;
    end loop;
    end;
    begin
    :P18_ID := get_pk;
    :P18_EVENT_ID := :P16_ID;
    :P18_CREATIE_DT := TO_CHAR(SYSDATE,'DD-MM-YYYY HH24:MI:SS');
    :P18_CREATIE_USER := APEX_APPLICATION.G_USER;
    end;
    The value P16_ID is there before I open page 18
    I made a display item that displays the value P16_ID
    If I change the LOV select in :
    select b.omschrijving o, b.id i
    from basiscodes b
    , evenementen_opties eo
    where b.domein = 'OPTIES'
    and b.id = eo.basiscode_id
    and eo.event_id = 16
    then it returns the value I want : 1 record
    You see, I'm a really new one in apex.
    Forms 6i was easier for me...
    Regards Jules
    null

Maybe you are looking for