Refresh a dropdown

Hi VC experts,
I have a selection form that drives some tables and charts. In normal usage the user will return to the selection form and select and submit different values, several times in a session. Under certain conditions we need certain dropdowns (but not all) to be refreshed and set back to their default values, forcing the user to re-select that option.
Is there any way with an event, that I can reset one dropdown in a form to its default value?
Thanks for any assistance you can give.
Margaret

Okay, I found the answer here:
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/resetting+field

Similar Messages

  • SSRS: "View Report" button doesn't refresh parameter dropdowns

    So many people have asked similar questions about why SSRS report parameters are not refreshed when "View Report" button is clicked and MSDN simply comes back with an answer "work as designed". It's a bad design, period.
    Here is my suggestion to Microsoft team who works on SSRS: either add a "Refresh Parameters" button at the end of the last parameter dropdown so users can force reload the parameter list, or add "Reload
    Report" after "View Report" button (which should be re-named "Refresh Report" more precisely) to allow user reload the entire report (as if it was Ctrl-F5 is pressed in I.E.), not just to refresh the main report dataset as "Review
    Report" button is currently doing.

    Hi Steve Liu,
    Thanks for your suggestion and you can also submit this suggestion at
    https://connect.microsoft.com/SQLServer/
    If the suggestion mentioned by customers for many times, the product team may consider to add the feature in the next SQL Server version. Your feedback is valuable for us to improve our products and increase the level
    of service provided.
    Thanks for your understanding
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Refresh,tableview,dropdown

    Hi Experts,
    i have small requirement with Table view ie
    i have a drop down from the selected drop down ,data is populating in the table view .
    example
    projectname dropdown ---> i have selected  one projectname
    data in the table view is populated and i hv selected some of them and click on the button called ok  and again when i select anothter projectname 2 then the table view should be refereshed, it is not happening , pls help me to slove this
    table view should get refreshed...
    Bhavana

    Hi Bhavana,
    In order to refresh your table view data, you should trigger a server side request on change event of your dropdown box.
    Are you using HTML select for drop down box? If so, are you triggering a server side event by submiting the form in your javascript function which gets binded to the onchange attribute of dropdown box?
    Are you using HTMLB dropdown box? If so, is there a onclick or onclientclick event handlers?
    If you trigger a server side event then the html page should refresh itself. Is it happening?
    If you are sending a server side, are you modifying the table view content based on the selected drop down box item.
    You could get hold of the issue if you are able to answer to the above questions.
    Hope it helps!
    Regards
    Maheswaran

  • Is it possible to refresh the dropdown h:selectOneMenu

    Here is my requirement
    The user creates new record by selecting "New" value from the dropdown. Then user enters values on form fields and clicks the Submit button. The result is new Record gets created in the database and also gets populated in the dropdown. But the dropdown still shows the "New" value whereas I want the drop down to dynamically change from "New" to newly created value in the drop down
    The dropdown is populated from the database as shown below
    <h:outputText value="Manufacturer" />                  <h:selectOneMenu id="manufList" value="#{manufacturerBean.selectedManufacturer}" >           <f:selectItem itemLabel="New" itemValue="New" />                                    <f:selectItems value="#{manufacturerBean.manufacturerList}" />                   <a4j:support action="#{manufacturerBean.loadManufacturerDetails}" event="onchange"   reRender="t3,t4,t5,t6,t7,t8,t9,t10" />                        </h:selectOneMenu>       Here is the backing bean
    public List getManufacturerList(){   logger.info(" *** In getManufacturerList Backing Bean*** ");   List<Manufacturer> models = new ArrayList<Manufacturer>();   List<SelectItem> manufacturers = new ArrayList<SelectItem>();   models =  manufManager.getManufacturerList();   logger.info(" *** manufManager List Size=*** "+models.size());      for (Iterator it = models.iterator(); it.hasNext();) {    Object[] row = (Object[]) it.next();    manufacturers.add(new   SelectItem(row[0]+"",row[1]+""));   }        return manufacturers;     }  Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

    If you created the materialized view as UPDATEABLE then changes to it should automatically be relected in the underlying table. If this is not occurring I suggest you check the replication jobs. You probably have a stack of errors in DEFERROR.
    Cheers, APC

  • Are 'Select' and 'Refresh' supposed to be sticky in VM Manager GUI?

    VM Manager 2.2 - very nice GUI - pretty intuitive and easy to find your way around. Congrats to the team that added this.
    I did notice a couple of things:
    The 'Select' radiobutton choices and 'Refresh in:' dropdown choices are not sticky in the VM Manager GUI.
    Select a 2nd (anything but first) server and select '30 seconds' for 'refresh' on the Server Pools page (or any other page).
    Move to a different page; e.g. 'Servers'
    Return to the original page.
    The first radio button will be the one selected and not the one the user chose. Also, the 'refresh' setting will have been reset to 'Manually'.
    Also the TimeStamp format for the Administration logs is different than the format for the server pool and server logs:
    Admin log: 2009.12.14 at 20:52:25 GMT+00:00
    Server log: 2009-12-14 12:27:19
    Server pool log: 2009-12-11 21:19:53
    One possibility for the refresh is to always do a refresh on a page load. Then when you tab to a new page you know you are getting fresh info. Or make the refresh choice sticky and add a '10 second' and '20 second' choice.

    rp0428 wrote:
    I did notice a couple of things:This forum should not be used as an enhancement request/bug reporting tool. :) You're better off logging an SR with your issues/suggestions: that can at least be assigned to the product management/development teams for review.

  • DropDown by Index in table control

    Hi,
    I'm using dropdown by index(i need different values for each row) in my table control and I have this problem:
    I have this context binded to my table control:
    TABLE_NODE (card. 0..n)
       - ATRIB1
       - ATRIB2
       - DROPDWN_NODE (card. 0..n sel. 0..1) - to this node dropdown by index is binded
            - VALUE
            - TEXT     <-- bind this attribute to Texts property
    Dropdown is filled OK, but how to transfer selected dropdown value to ATRIB2? And then, if I have a value in ATRIB2, how to diplay correct text for user in dropdown?
    Another thing is that I have 2 dropdowns by value in table and values of second depends on selected value in first. How should I refresh second dropdown by index when user change value in first?
    Many thanks for reply.

    I'm also facing the issue.  Can u plz. share the source code.

  • Populating dependent dropdown without using AJAX

    In my struts application, I have jsp where I have two dropdowns (<html:select>) - Course and Subject.
    The values are being retrieved from database.
    Now depending on the selection of my Course, I have to get corresponding Subjects from database.
    If I call same Action class from jsp, when jsp loads again, it refreshes my dropdowns and the value selected previously for Course reset.
    I dont want to use AJAX.
    Please give some idea, how can I acheive it.
    Thanks in advance.

    Gagz wrote:
    but when jsp loads, it clears the value of first dropdown.Ah, that's your whole problem! Populating the 2nd dropdown has completely nothing to do with it. You would still get the same problem if you didn't populate any 2nd dropdown. Try to elaborate problems the smart way the next time.
    Not sure how to do it in Struts (you're here at a JSP forum, not at a Struts forum), but basically you should set the selected value based on the submitted value/property. something like <html:select value="${beanname.propertyname}"> or <html:select property="propertyname">. In plain JSP/HTML terms you just need to set the <option> to "selected" based on the submitted value as request parameter.

  • Update Drop Down based on selection in Option group

    Good afternoon all-
    I've got an option box ('PanelStatus') with two options: "Panel" (value of 1) and "Non-Panel" (value of 2).
    On the form where this is located, I have a drop down box filled with names.  These people on this table are either Panel or Non-Panel.  So, my idea is that the drop down with names will be refreshed when the radio buttons in PanelStatus are clicked.
    I've got a query that will return the right results, based on what's selected in the Option Group.  However, when I set the Option Group after update event to refresh the dropdown box, Access is telling me "Object doesn't support this property
    or method".
    Any ideas/help are welcome!
    EDIT: I'm thinking it may be because the drop down is unbound...?  Does that explain why this is not working?  If so, any ideas how to do this with the drop down remaining unbound?

    The After Update event of an option group works whether the option group is bound or unbound.
    You should use the Requery method of the combo box.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • How to implement this multi-langual APEX apps

    My requirements are:
    - login page has a dropdown of two languages: English (en-us) and French (fr)
    - page is refreshed when dropdown value has changed.
    - language is selected at login page, and this language setting cannot changed during session.
    - Use cookie to store the selected language, and this language is selected once the login page is launched next time.
    Implementation:
    Globalization Settings
    - primary lang = en-us
    - Application lang derived Form = item preference
    - do the translation in XLIFF files
    Login Page
    - create a SELECT LIST with name "FSP_LANGUAGE_PREFERENCE", list of value definition "STATIC:English;en-us,français;fr"
    - After Submit
    owa_util.mime_header('text/html', FALSE);
    owa_cookie.send(name => 'LANG', value=> :FSP_LANGUAGE_PREFERENCE, expires => sysdate + 30);
    - Before Header
    l_cookie := owa_cookie.get('LANG');
    l_value := l_cookie.vals(1);
    :FSP_LANGUAGE_PREFERENCE := l_value;
    Problems:
    When the cookie is stored with value "fr", the droplist is "francais" but the page is not in French,. Also, I don't know how to set the refresh the page when dropdown value is changed.
    Any suggestion ?

    hello
    About Refresh of the page when the value is selected:
    You need to change the type of select list to select list with submit/redirect and put also a Branch in the page so the app could know where to go after submit/redirect.
    About the cookie problem:
    I think that the setting of the value on the page doesn't make this value is set in app.
    After setting this value to any field (TEXT or LOV) you need to submit the page so the value will stick.
    I remember having the same problem but didn't solved it. :/
    And also I don't know if this matters but it's faster:
    l_cookie := owa_cookie.get('LANG');
    :FSP_LANGUAGE_PREFERENCE := l_cookie.vals(1);
    regards
    piotr

  • Event for RibbonTab click in Excel Addin

    Hi,
    I am working on an Excel Addin. I am using VS 2008 and Excel 2007.
    Currently my addin gets loaded on opening of Excel. Since i have a dropdown in the Ribbon, even that gets loaded on openeing of Excel. And since that loading of dropdown takes time, i wanted to change this behavior. I wanted to load my Addin on click of the
    Ribbon Tab. For this i wanted to know how to fire the event on click of Ribbon Tab.
    Usually ThisAddIn_Startup() is the method that's fired first when excel is opened. But i want to call this method in the event of Click of Ribbon Tab. Is this possible?
    basically i want to capture click event of Ribbon Tab.
    Can someone please help me on this.
    Regards,
    Shailendra

    Hi ,
    Here's a short sample for you, as Cindy mentioned there's no "click event" for a Ribbon tab, so we need to pick Dropdown list instead.
    The idea is when Excel starts we add a button in Dropdown list, if user click the button, then refresh the Dropdown list,fill it with the real data, and also hide the button at same time:
    <?xml version="1.0" encoding="UTF-8"?>  
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui" onLoad="Ribbon_Load">  
      <ribbon> 
        <tabs > 
          <tab idMso="TabAddIns"  > 
            <group id="MyGroup"   
                   label="My Group">  
              <dropDown id="myDropDown" onAction="dropDownAction" getEnabled="dropDownGetEnabled" getItemLabel="ItemLabel" getItemCount="ItemCount"  > 
                <button id="mybutton" label="Button" onAction ="ReDraw" showImage="false" getVisible="getButtonVisible"/>  
              </dropDown> 
            </group> 
          </tab> 
        </tabs> 
      </ribbon> 
    </customUI> 
      bool ButtonVisible = true;  
            int itemCount = 0;  
            public void Ribbon_Load(Office.IRibbonUI ribbonUI)  
                this.ribbon = ribbonUI;  
            public void ReDraw(Office.IRibbonControl RibbonControl)  
                this.ButtonVisible = false;  
                this.itemCount = 9;  
                ribbon.InvalidateControl("myDropDown");  
                ribbon.InvalidateControl("mybutton");  
            public void dropDownAction(Microsoft.Office.Core.IRibbonControl control, string selectedId, int selectedIndex)  
            public bool dropDownGetEnabled(Office.IRibbonControl RibbonControl)  
                return true;  
            public string ItemLabel(Office.IRibbonControl control, int index)  
                return "Item " + index.ToString();  
            public int ItemCount(Office.IRibbonControl control)  
                return this.itemCount;  
            public bool getButtonVisible(Office.IRibbonControl RibbonControl)  
                return this.ButtonVisible;  
    For more information about InvalidateControl method :
    http://msdn.microsoft.com/en-us/library/aa433553.aspx
    Thanks

  • Combobox dropdown doesn't refresh

    Hi all!
    I have a comboBox problem. Please test this simple code:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
        creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import mx.collections.ArrayCollection;
                [Bindable]
                private var dp:ArrayCollection;
                private function init():void
                    dp = new ArrayCollection(["one", "two"]);
            ]]>
        </mx:Script>
        <mx:ComboBox id="cb" dataProvider="{dp}"/>
        <mx:Button label="click me" click="dp = new ArrayCollection(['three', 'four']);dp.refresh()"/>
    </mx:Application>
    What happens is that the dropdown list of the combobox doesn't show the new values. I guess I'm overlooking something here.
    Any advice?
    Thanks!
    Dany

    Hi Archimedia,
    I have run the sample code that you have sent....but I could see no problem I could see the combobox being refreshed when the button being clicked.
    However it is always safer to remove all the elements in the ArrayCollection using the removeAll() method before assigning the new values.
    Try the below code and check whether it's working for you...?
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" creationComplete="init()"
    >
    <mx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection; 
    Bindable] 
    private var dp:ArrayCollection; 
    private function init():void
    dp =
    new ArrayCollection(["one", "two"]);}
    private function refreshComboBox():void
    if(dp != null){
    dp.removeAll();
    dp.refresh();
    dp =
    new ArrayCollection(['three', 'four']);}
    ]]>
    </mx:Script>
    <mx:ComboBox id="cb" dataProvider="{dp}"/>
    <mx:Button label="click me" click="refreshComboBox()"/></mx:Application>
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari

  • Cat TimesheetData dropdown doesn't refresh

    Hi Expert,
    In Cat WD application , we have a cell Absence use dynamic dropdown UI.
    when we click on the calendar, the timesheet data is refreshed, but not the dropdown list.
    Any idea ?
    thanks.
    Ben.J.

    as i said v_t554s_essex for entries
    or T554s for the customisatiom
    Now then, does the search help show the time period it is valid for?
    usually it outputs all the absences and attendances
    Now in CATS WD as you are aware uses different search help
    ie CLASS CL_XSS_CAT_RFC_COMMAND_TOOLS method BUILD_F4_HELP
    SAPLHRXSS_CAT_WEBDYNP          / LHRXSS_CAT_WEBDYNPU02
    FUNCTION                       / HRXSS_CAT_WD_F4_AWART

  • How to trigger a refresh of a dropdown list when the selection is changed

    Hi,
    This is a general ExtendScript question, but since I'm working with FM, I'll ask here first. I have a bit of a paradox here and I'm not sure of the best way to handle it.
    I have a dialog box with a dropdown list, where I want to refresh certain controls when the user changes the selection in the list (dropdownList.onChange). This includes refreshing the contents of the list itself. However, the problem is, as soon as I try to refresh the list contents, it triggers onChange again. So, if I put the call to refresh the box within the onChange handler, it results in an endless loop, because my refresher function triggers onChange when it refreshes the list.
    Does anyone know a better methodology, where I can safely trigger a refresh of a dropdown list within the list's own onChange event handler? I really wish that onChange was reserved for a user action only, or there was at least some property to that effect.
    Russ

    Hi Russ,
    you can stop that with "stopPropagation()"
    You can find this in "Javascript Tools Guide" on page 150.
    I'm not able at the moment to send you an example 'cause I'm in a hospital for a while.
    Happy New Year!

  • Dynamically Refresh Dropdown in JSF

    I wanna dynamically refresh dropdown values. Here is my requirement
    The user creates new record by selecting "New" value from the dropdown. Then user enters values on form fields and clicks the Submit button. The result is record gets created in the database and also gets populated in the dropdown. Now i wanna show this record as selected value in the dropdown instead of New to faciltate update/delete operations.
    Note: The reason i am doing this is subsequent save results in detached object hibernate exception. To resolve this exception if i create a new instance then i will loose the original object so i cant do update/delete on the original object. My backing bean is in session scope
    Any pointers/suggestions will be highly appreciated
    Regards
    Bansi

    What do you mean by preset it by property because the new value is allready set in the backedbean but its not reflected on the page as the drop down doesn't get refreshed.

  • Combobox dropdown closes when refreshing dataprovider

    Hi,
    i'm having a small problem when filtering a dataprovider of a
    combobox and then refresh it.
    When the dropdown is open before the refresh() call, it'll
    close itself when refreshing the dataprovider.
    I've tried overriding the close() method but close() doesn't
    get called during this close operation.
    Also, the close event is not dispatched.
    Anyone knows if it's possible to prevent the dropdown from
    closing ?

    I don't think its possible, because the items in the list
    could completely change and it needs to close so it can remove the
    old lists and add the new items.
    You couldn't hold me to that thought its just my
    guess.

Maybe you are looking for

  • Change Seconds Waiting for Device during boot

    During boot at the section: "Waiting 10 Seconds for Device", I am often dropped to a shell. I think it may be because I need to increase the wait time. How can I do this? I've looked in several places but I'm not sure what to look for.

  • Installation not working 1.7.0.413

    I'm on Windows 8 - I open CC and it prompts me to install 1.7.0.413 - I run the installer and it gets to 100% then it closes the CC window and that's it. I open CC again and I'm hit with the same update message - have tried it 3 times - closed everyt

  • Illustrator won't reinstall.

         I recently downloaded and installed illustrator through Adobe's cloud service, Adobe Apllication Manager. Everything was working fine. I managed to use it for quite a while. Then about a day later my computer crash while doing something completl

  • How to use collections

    Hi i'm still quite the novice on APEX so bare with me. my problem is as follows: I have to develop a page for mass registration of sales, in APEX, and the client would like a tabular form with 20 empty rows in which the client can insert sales data.

  • Website Design Specs For SMS Campaign

    I am in the planning stages of an SMS (text messaging) campaign for one of my clients. Each message will have a quick benefit and a link to "find out more". I'd like to have an easy downloading, proper looking webpage for all these details. Is there