Auto Submit when changing Dropdown list

I have a Dropdown list which reloads the page with other values after a change.
How can i achieve that the option i selected in the dropdown list is preselected again after the reload of the page?
Thanks

I have a Dropdown list which reloads the page with other values after a change.
How can i achieve that the option i selected in the dropdown list is preselected again after the reload of the page?
Thanks

Similar Messages

  • Auto-Submit On Change in DropDown List not working properly!

    Hi all,
    I�ve got a problem with a drop down list an a table with some rows on my page. The property "Auto-Submit on Change" is set for the drop down because the valueChange-method has to do some work when the user selects another value from the drop down.
    The problem is that after selecting another item from the drop down, the table fields don�t keep their values, which I had entered before I selected another item in the drop down. But: When I select an item again, suddenly exactly these values are set.
    Here my code:
    <?xml version="1.0" encoding="UTF-8"?>
    <jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
    <ui:page binding="#{Page1.page1}" id="page1">
    <ui:html binding="#{Page1.html1}" id="html1">
    <ui:head binding="#{Page1.head1}" id="head1">
    <ui:link binding="#{Page1.link1}" id="link1" url="/resources/stylesheet.css"/>
    </ui:head>
    <ui:body binding="#{Page1.body1}" id="body1" style="-rave-layout: grid">
    <ui:form binding="#{Page1.form1}" id="form1">
    <ui:table binding="#{Page1.table1}" id="table1" style="height: 488px; left: 24px; top: 120px; position: absolute; width: 1376px"
    title="Table" width="1376">
    <ui:tableRowGroup binding="#{Page1.tableRowGroup1}" id="tableRowGroup1" rows="10" sourceData="#{SessionBean1.columnProvider}" sourceVar="currentRow">
    <ui:tableColumn binding="#{Page1.tableColumn1}" headerText="field1" id="tableColumn1" sort="field1">
    <ui:textField binding="#{Page1.textField1}" id="textField1" text="#{currentRow.value['field1']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn2}" headerText="field2" id="tableColumn2" sort="field2">
    <ui:textField binding="#{Page1.textField2}" id="textField2" text="#{currentRow.value['field2']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn3}" headerText="field3" id="tableColumn3" sort="field3">
    <ui:textField binding="#{Page1.textField3}" id="textField3" text="#{currentRow.value['field3']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn4}" headerText="field4" id="tableColumn4" sort="field4">
    <ui:textField binding="#{Page1.textField4}" id="textField4" text="#{currentRow.value['field4']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn5}" headerText="field5" id="tableColumn5" sort="field5">
    <ui:textField binding="#{Page1.textField5}" id="textField5" text="#{currentRow.value['field5']}"/>
    </ui:tableColumn>
    <ui:tableColumn binding="#{Page1.tableColumn6}" headerText="field6" id="tableColumn6" sort="field6">
    <ui:textField binding="#{Page1.textField6}" id="textField6" text="#{currentRow.value['field6']}"/>
    </ui:tableColumn>
    </ui:tableRowGroup>
    </ui:table>
    <ui:dropDown binding="#{Page1.dropDown1}" id="dropDown1" items="#{Page1.dropDown1DefaultOptions.options}"
    onChange="common_timeoutSubmitForm(this.form, 'dropDown1');"
    style="position: absolute; left: 48px; top: 24px; width: 240px; height: 24px" valueChangeListener="#{Page1.dropDown1_processValueChange}"/>
    </ui:form>
    </ui:body>
    </ui:html>
    </ui:page>
    </f:view>
    </jsp:root>
    and the code of the valueChange-Method:
    public void dropDown1_processValueChange(ValueChangeEvent event) {
    getSessionBean1().getColumnProvider().commitChanges();
    List positions = getSessionBean1().getColumnProvider().getColumnList();
    Is there some explanation for this behavior or it�s really a bug in the way how the drop down is submitting the form? I would understand it when commitChanges is not working here because of auto submit on change (==immediate?). but once it works und once it doesn�t work!

    Hi There,
    Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
    This might be of help to you
    http://www.netbeans.org/kb/55/dropdowncomp.html
    Thanks
    K

  • Auto Logoff when change url without logoff

    Hi, i had search the forum, but i don't find an answer!
    I have the following problem:
    We have the EP 6.0 and when the users are login, sometimes they change the url of the browser to go to www.google.de or other sides, but they forget to logoff! Then the session is not closed and some other people could go back in the history and then they are logged in!
    I search a possibility to auto logoff when change the side for example to call a javascript with the attribut onunload or something else!?
    I would be lucky with some ideas or a solution!
    Lars

    Hi Lars,
    This is not exactly what you are asking for, but it is closely related.  I hope that it may be of some help to you.  For my application, I wanted to logoff portal sessions, when users do not logoff BEFORE closing the browser session.
    Here is what we do:
    In the desktop framework, I have a footer.  The footer shows privacy information, etc.  Inside the html for this footer page, I capture a browser close event, and in this event, I logoff the portal session.  This footer is displayed on every page of the portal and effectively helps to conserve portal resources.
    Here is the javascript included in the footer.html
    <script type="text/javascript">
    window.onunload = function unloadEvent() {
         //alert ("Got here...");
         if (window.screenLeft == 10004) {
              // User clicked "X" to close Browser
              // alert ("To protect your privacy, please Logoff prior to closing your browser window.  Logging off now...");
              logoff();
    </script>
    Hope this helps,
    Kevin

  • Change image when form dropdown list value is selected

    I really thought this would be simpler but I just can't get it working.
    I have a submit from from paypal with a dropdown list. The list allows you to select color. I want to change an image on the page to display the appropriate color when the color is selected from the drop down list. So a black image shows up when black is selected, a red when red - etc...
    I would be very grateful if someone can share some succinct, browser compatible code. Thank you so much for any help you can provide.
    Bill

    Thanks so much.  I used your info from above and am in the process of creating a product configurator for our products.  Do you see any problems/issues etc or ways to make this script better?  I don't have most of the images there yet, but if you choose big boy chair and then choose navy/powder/black fabric and most accent colors you should see it working (in FireFox anyway).  Not sure why it isn't working in IE.  Any ideas?
    Here's the link:
    http://logochairs.com/j25cms/index.php/customform/test-form
    And here's my code:
    <script type="text/javascript">
    <!--
    function logo_prodImgBySel(objId,theValue) {
    var cobaseimages=["/j25cms/images/customimages/blank.jpg","/j25cms/images/customimages/11/base.jpg", "/j25cms/images/customimages/12/base.jpg", "/j25cms/images/customimages/13/base.jpg", "/j25cms/images/customimages/15/base.jpg", "/j25cms/images/customimages/20/base.jpg", "/j25cms/images/customimages/23/base.jpg", "/j25cms/images/customimages/24/base.jpg", "/j25cms/images/customimages/25/base.jpg", "/j25cms/images/customimages/27/base.jpg", "/j25cms/images/customimages/32/base.jpg", "/j25cms/images/customimages/35/base.jpg", "/j25cms/images/customimages/39/base.jpg", "/j25cms/images/customimages/41/base.jpg", "/j25cms/images/customimages/42/base.jpg", "/j25cms/images/customimages/48/base.jpg", "/j25cms/images/customimages/50/base.jpg", "/j25cms/images/customimages/51/base.jpg", "/j25cms/images/customimages/52/base.jpg", "/j25cms/images/customimages/54/base.jpg", "/j25cms/images/customimages/56/base.jpg", "/j25cms/images/customimages/57/base.jpg", "/j25cms/images/customimages/58/base.jpg", "/j25cms/images/customimages/60/base.jpg", "/j25cms/images/customimages/62/base.jpg", "/j25cms/images/customimages/64/base.jpg", "/j25cms/images/customimages/65/base.jpg", "/j25cms/images/customimages/68/base.jpg", "/j25cms/images/customimages/69/base.jpg", "/j25cms/images/customimages/71/base.jpg", "/j25cms/images/customimages/72/base.jpg", "/j25cms/images/customimages/74/base.jpg", "/j25cms/images/customimages/77/base.jpg", "/j25cms/images/customimages/78/base.jpg", "/j25cms/images/customimages/79/base.jpg", "/j25cms/images/customimages/80/base.jpg", "/j25cms/images/customimages/82/base.jpg", "/j25cms/images/customimages/83/base.jpg", "/j25cms/images/customimages/84/base.jpg", "/j25cms/images/customimages/90/base.jpg", "/j25cms/images/customimages/94/base.jpg"];
        var d=document;
        theValue=cobaseimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
    <!--
    function logo_prodImgPrim(objId,theValue) {
      var coimageprimary1='/j25cms/images/customimages/';
    var coimageprimary25= document.getElementById('ff_elem368');
    var coimageprimary2= coimageprimary25.options[coimageprimary25.selectedIndex].value; 
    var coimageprimary3='/primary/';
    var ttt='Powder.png';
    var mypath=(coimageprimary1 + coimageprimary2 + coimageprimary3);
      var coPrimaryimages=['/j25cms/images/customimages/blank.png',(mypath + 'White.png'),
    (mypath + 'Black.png'),
    (mypath + 'Lemon.png'),
    (mypath + 'Yellow.png'),
    (mypath + 'Gold.png'),
    (mypath + 'Tangerine.png'),
    (mypath + 'Rust.png'),
    (mypath + 'Orange.png'),
    (mypath + 'Carrot.png'),
    (mypath + 'Red.png'),
    (mypath + 'Cardinal.png'),
    (mypath + 'Garnet.png'),
    (mypath + 'Maroon.png'),
    (mypath + 'Purple.png'),
    (mypath + 'Powder.png'),
    (mypath + 'Navy.png'),
    (mypath + 'Royal.png'),
    (mypath + 'Hunter.png'),
    (mypath + 'Gray.png'),
    (mypath + 'Charcoal.png'),
    (mypath + 'Khaki.png'),
    (mypath + 'Vegas.png'),
    (mypath + 'Kelly.png'),
    (mypath + 'Pink.png'),
        var d=document;
        theValue=coPrimaryimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
      <!--
    function logo_prodImgSec(objId,theValue) {
      var coimagesecondary1='/j25cms/images/customimages/';
    var coimagesecondary25= document.getElementById('ff_elem368');
    var coimagesecondary2= coimagesecondary25.options[coimagesecondary25.selectedIndex].value; 
    var coimagesecondary3='/accent/';
    var ttt='Powder.png';
    var mypathz=(coimagesecondary1 + coimagesecondary2 + coimagesecondary3);
      var coSecondaryimages=['/j25cms/images/customimages/blank.png',(mypathz + 'White.png'),
    (mypathz + 'Black.png'),
    (mypathz + 'Lemon.png'),
    (mypathz + 'Yellow.png'),
    (mypathz + 'Gold.png'),
    (mypathz + 'Tangerine.png'),
    (mypathz + 'Rust.png'),
    (mypathz + 'Orange.png'),
    (mypathz + 'Carrot.png'),
    (mypathz + 'Red.png'),
    (mypathz + 'Cardinal.png'),
    (mypathz + 'Garnet.png'),
    (mypathz + 'Maroon.png'),
    (mypathz + 'Purple.png'),
    (mypathz + 'Powder.png'),
    (mypathz + 'Navy.png'),
    (mypathz + 'Royal.png'),
    (mypathz + 'Hunter.png'),
    (mypathz + 'Gray.png'),
    (mypathz + 'Charcoal.png'),
    (mypathz + 'Khaki.png'),
    (mypathz + 'Vegas.png'),
    (mypathz + 'Kelly.png'),
    (mypathz + 'Pink.png'),
        var d=document;
        theValue=coSecondaryimages[theValue];
        if (!theValue || !d.getElementById ) return;
        var obj = d.getElementById(objId);
        if (obj) obj.src=theValue;  
    function clear_OnChange()
    var combo = document.getElementById('ff_elemPriColor');
    combo.selectedIndex = "0";
    var combo2 = document.getElementById('ff_elemSecColor');
    combo2.selectedIndex = "0";
    </script>
    <div id="product1image_a" style="position: relative; float: right; top: -20px; right: 0px; width: 250px; height: 250px; border: 2px solid darkgray; box-shadow: 5px 5px 5px rgb(136, 136, 136);">
      <img width="250" height="250" style="position:absolute;bottom:0px;right:0px;" id="theImg" src="images/customimages/blank.jpg" alt="" />
      <img id="thePrimary" style="position:absolute; bottom:0px; right:0px; width:250px;" src="images/customimages/blank.png">
      <img id="theAccent" style="position:absolute; top:0px; left:0px; width:250px;" src="images/customimages/blank.png">
    </div>
    <span id="bfElemWrap368" class="bfElemWrap bfLabelLeft">
    <label id="bfLabel368" for="ff_elem358">Product Line</label>
    <select id="ff_elem368" name="ff_nm_prod1[]" onchange="logo_prodImgBySel('theImg',this.selectedIndex);clear_OnChange();logo_prodImgPrim('thePrim ary',this.selectedIndex);logo_prodImgSec('theAccent',this.selectedIndex);" class="ff_elem">
    <option value="" selected="selected"></option>
    <option value="11">Big Boy Chair</option>
    <option value="12">Deluxe Chair</option>
    <option value="13">Canvas Chair</option>
    <option value="15">Sphere Chair</option>
    <option value="20">Toddler Chair</option>
    <option value="23">Classic Fleece</option>
    <option value="24">Sherpa Throw</option>
    <option value="25">Fleece Throw</option>
    <option value="27">UltraSoft Blanket</option>
    <option value="32">Tailgate Table</option>
    <option value="35">Trashcan Cooler</option>
    <option value="39">Economy Tent</option>
    <option value="41">Color Tent</option>
    <option value="42">Checkerboard Tent</option>
    <option value="48">Side Panel</option>
    <option value="50">12 Pack Cooler</option>
    <option value="51">Luggage Set</option>
    <option value="52">Rolling Duffel</option>
    <option value="54">Sport Duffel</option>
    <option value="56">Lunch Pail</option>
    <option value="57">Rolling Cooler</option>
    <option value="58">Party Bucket</option>
    <option value="60">Picnic Cooler</option>
    <option value="62">Backpack</option>
    <option value="64">String Pack</option>
    <option value="65">Reversible Tote</option>
    <option value="68">Seat Blanket Combo</option>
    <option value="69">Stadium Seat with Arms</option>
    <option value="71">Stadium Cushion</option>
    <option value="72">Gym Bag</option>
    <option value="74">Sweatshirt Blanket</option>
    <option value="77">Round Coozie</option>
    <option value="78">Flat Coozie</option>
    <option value="79">Bottle Coozie</option>
    <option value="80">Stadium Seat</option>
    <option value="82">8-Can Cooler Tote</option>
    <option value="83">16-Can Cooler Tote</option>
    <option value="84">30-Can Cooler Tote</option>
    <option value="90">Camping Stool</option>
    <option value="94">Hardback Seat</option>
      </span>
    </select>
    <span id="bfElemWrapPriColor" class="bfElemWrap bfLabelLeft">
    <label id="bfLabelPriColor" for="ff_elemPriColor">Primary Fabric</label>
    <select id="ff_elemPriColor" name="ff_nm_prodcolor[]" onchange="logo_prodImgPrim('thePrimary',this.selectedIndex)" class="ff_elem">
    <option value="" selected="selected"></option>
    <option value="White">White</option>
    <option value="Black">Black</option>
    <option value="Lemon">Lemon</option>
    <option value="Yellow">Yellow</option>
    <option value="Gold">Gold</option>
    <option value="Tangerine">Tangerine</option>
    <option value="Rust">Rust</option>
    <option value="Orange">Orange</option>
    <option value="Carrot">Carrot</option>
    <option value="Red">Red</option>
    <option value="Cardinal">Cardinal</option>
    <option value="Garnet">Garnet</option>
    <option value="Maroon">Maroon</option>
    <option value="Purple">Purple</option>
    <option value="Powder">Powder</option>
    <option value="Navy">Navy</option>
    <option value="Royal">Royal</option>
    <option value="Hunter">Hunter</option>
    <option value="Gray">Gray</option>
    <option value="Charcoal">Charcoal</option>
    <option value="Khaki">Khaki</option>
    <option value="Vegas">Vegas</option>
    <option value="Kelly">Kelly</option>
    <option value=

  • How to trigger Material CIF change pointers when changing Source List

    I need to trigger a Material Change pointer (CIFMAT) creation when the Source List is updated for that material.  In BD52 (ALE configuration) table EORD is not an option for CIFMAT message type, so by standard ALE this can not be done automatically.  I could not find any BAdI/Userexit which will help me to create a material master change pointer so that the Material (Product) will be sent to APO via the CIF when the Source List in R/3 is changed.

    Hi , Can you please check user exit CIFMAT01 function module EXIT_SAPLCMAT_001.You can use this enhancement to influence the logic according to which material data from SAP R/3 is mapped to APO product interface data.
    I suggest to put logic in user exit to check table source list table EORD changes & trigger CIF for material master.You can pull  change data from table CDPOS using EORD table reference & material object value details.
    Based on change record CIF user exist should trigger material CIF run and feed to APO.
    Hope this solution will work in your case.thanks
    Sanjay Karkun

  • Ajax tabs not working when asp dropdown list in the tab

    I am using asp.net 3.5 framework. My page has modelpopup in that ajax tab controls used. one of the tab has asp:dropdownlist, this dropdown list is binding data from dataset. the tab which has dropdown lists is not working. it is working fine in IE9.0.
    Sys.WebForms.PageRequestManagerServerErrorException: Sys.WebForms.PageRequestManagerServerErrorException: Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

    changed to enableEventValidation="false", then it is working fine.

  • Visual JSf: textField hide or disable, when selecting dropDown list

    Hello everyone,
    I am new to this forum, I am working on Visaul JSF, I have a question,
    When i select a value dropDown List, i want to disable or hide textField depending on the selected item in the list.
    I have put javascript for dropDown list. I am not able to do this. Can any one help me please...
    <webuijsf:script>
                        function fun(sel){
                            var state = sel.options[sel.selectedIndex].value;
                            alert(state);
                            if(state == 2){ alert("if");  document.getElementById('form1:textField2').disabled='true' }else{ alert("else"); document.getElementById('form1:textField2').disabled='false'}
                    </webuijsf:script>for downdown, i have added this..
    onChange="fun(this)"In dropdon list
    name value
    One 1
    Two 2
    Three 3
    Jsp code:
    <jsp:root version="2.1" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:webuijsf="http://www.sun.com/webui/webuijsf">
        <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
        <f:view>
            <webuijsf:page id="page1">
                <webuijsf:html id="html1">
                    <webuijsf:script/>
                    <webuijsf:script>
                        function fun(sel){
                            var state = sel.options[sel.selectedIndex].value * 1;
                            alert(state);
                            if(state == 2){ alert("if");  document.getElementById('form1:textField2').disabled='true' }else{ alert("else"); document.getElementById('form1:textField2').disabled='false'}
                    </webuijsf:script>
                    <webuijsf:head id="head1">
                        <webuijsf:link id="link1" url="/resources/stylesheet.css"/>
                    </webuijsf:head>
                    <webuijsf:body id="body1" style="-rave-layout: grid">
                        <webuijsf:form id="form1">
                            <webuijsf:textField id="textField2" onChange="" style="height: 18px; left: 174px; top: 258px; position: absolute; width: 216px"/>
                            <webuijsf:button id="button1" onClick="return fun()" style="position: absolute; left: 228px; top: 324px" text="Button"/>
                            <webuijsf:dropDown id="dropDown1" items="#{Page3.dropDown1DefaultOptions.options}" style="position: absolute; left: 312px; top: 90px" onChange="fun(this)"/>
                        </webuijsf:form>
                    </webuijsf:body>
                </webuijsf:html>
            </webuijsf:page>
        </f:view>
    </jsp:root>Thanks in advance
    Neha
    Edited by: Neha_540 on Apr 5, 2009 11:02 PM
    Edited by: Neha_540 on Apr 5, 2009 11:05 PM

    Hi Neha,
    Hope this helps.
    function changeMarital()
                                var marital = document.getElementById('form1:drpMarital_list').value;
                                if(marital == "Others")
                                    document.getElementById('form1:lblOtherMarital').style.display='';
                                    document.getElementById('form1:txtOtherMarital').style.display='';
                                else
                                    document.getElementById('form1:lblOtherMarital').style.display='none';
                                    document.getElementById('form1:txtOtherMarital').style.display='none';
                            }

  • Changing dropdown list selected value in JSP

    I would like a dropdown list to load with all values in a database table, which is no problem. But, I would then like it to display a selected text value from that list, depending on the value returned by a SQL query. As an example, say I was looking-up someone's personal data and there was a dropdown list that listed all the possible hair colors. If this person had been entered as having blonde hair, I want the dropdown list to display blonde at page load, but give the user the option to select another color if a change is needed.
    Thanks in advance for ur help.

    <option value="<c:out value="${currentchoice}"/>"
        <c:if test="${currentchoice=='db_value'}">     
            SELECTED 
        </c:if>
    >

  • Auto submit when ENTER is pressed?

    Although maybe not a 100% JSF question / answer, I thought this still fitted in this forum...
    What is the best way to get a form to submit when the user presses "enter". I guess it can be done with a javascript, or some code on the backing bean, but I am not sure how to connect the event to the code.
    any help / comments are greatly appreciated!!!
    /caj

    I get the source a i've changed what was said in the page.
    The final result is
    * Created on 09.08.2004
    package org.j4j.components;
    import java.io.IOException;
    import javax.faces.component.UIOutput;
    import javax.faces.component.UIForm;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    import javax.faces.component.UIComponent;
    * @author sim
    public class UIDefaultAction extends UIOutput {
         public void encodeBegin(FacesContext context) throws IOException {
              return;
         public void decode(FacesContext context) {
              return;
         public void encodeEnd(FacesContext context) throws IOException {
              ResponseWriter writer = context.getResponseWriter();
              UIComponent actionComponent=super.getParent();
              String acId = actionComponent.getClientId(context);
              UIForm form= getForm(actionComponent);
              if (form != null) {
                   String formId = form.getClientId(context);
                   writer.startElement("script", null);
                   String functionBody = "var keycode; if (evt){ ;} else if (window.event){evt = window.event; } else if (event){ evt = event; } " +
    "else{ return true; } if (evt.charCode){ keycode = evt.charCode; } else if (evt.keyCode){ keycode = evt.keyCode; } " +
    "else if (evt.which){ keycode = evt.which; } else{ keycode = 0; } " +
    "if (keycode == 13){document.getElementById('"+acId+"').click(); return false; } else{return true; }";
                   String functionCode =
                        "document.forms['"+formId+"'].onkeypress ="+
                        "new Function(\"evt\", \""+ functionBody+"\");";
                   writer.write(functionCode);
                   writer.endElement("script");
    private UIForm getForm(UIComponent component) {
    while (component != null) {
    if (component instanceof UIForm) {
    break;
    component = component.getParent();
    return (UIForm) component;
    compile it a put the generated class on the jar (replace it).

  • Auto Submit On Change with useless element id

    What is the reason for JSC generates scripts like
    common_timeoutSubmitForm(this.form, 'tabSet1:tab1:layoutPanel1:gridPanel1:dropDown1');
    instead of
    common_timeoutSubmitForm(this.form, this.id);
    I can change this manually, but unfortunately the JSC doesn't recognize this as Auto Commit On Change is set.

    Hi There,
    Not sure what you mean. Have you tried Netbeans 6 yet. Do you see same behaviour in it as well?
    This might be of help to you
    http://www.netbeans.org/kb/55/dropdowncomp.html
    Thanks
    K

  • Sort order switches when changing from List to Thumbnail View

    I can't seem to get the Thumbnail view to "lock" to the same sort order as the list view.  I arrange by file name (or ingest date, or reverse media duration, or any of the other sortable metadata fields) in list view, but then when I click to the thumbnail view, the order seems to arbitrariliy change to some sort of preset.  What's worse, it appears to be changing to something that's in a jumbled order. 
    This isn't a big deal if I only have 10 clips.  If I have 100, or 1,000 clips though, they have to be in a sortable order for the thumbnail view to be of any use.
    Thanks,
    Eli

    Hi,
    Thanks for your post. Our current design doesn't support keeping order between list view and icon view. It would be good if you can drop that as a feature request / bug into the the forum.

  • Immediate Submit From Dropdown List Selection

    In JSF what is the best way to get the form to submit immediately when a dropdown list item is selected? I know I can use a JavaScript onchange="..." but just wondering if there is a more standard/cool way of doing this in JSF.
    Thanks!
    Vaughn

    No. Simply creating a ValueChangeListener won't do what he wants. When he used the term "immediately" he meant "as soon as the value changes" and not "immediate" in the sense of bypassing Faces lifecycles. This can be seen from his reference to "onchange=".
    The suggestion I am about to make solves one problem but creates another.
    In addition to valueChangeListener= "#{...}" and immediate="true", put onchange="submit()". This will execute your event as soon as the value changes BUT...
    Faces navigation doesn't work any more when you return a navigation target.
    How do we get Faces Navigation to keep working when we use "onchange" ?

  • How to update the table when change list item in classic report

    hi ,
    i worked with apex 4.2 and i create normal classic report with one select list(named loved)Column ,now i want to update table when user change the list with new value ,i can't create dynamic action to do this,i create check box with primary key and loop for check item to update the table but i can't get the value of list item. and for more speed the user want to do this when change the list value.
    my question
    1- how to do this by javascript and get the value from list item and update the table with new value
    2- is i must use API to create list item so i can get the value of item in report or what.
    Thanks
    Ahmed

    I coded the following to give you direction:
    1. In the "Element Attributes" section of the DEPTNO column, I call a javascript function as:
    onchange = "javascript:updateTable(this);"2. I wrote a simple javascript function that shows an alert when the user changes the select list as:
    <script language="JavaScript" type="text/javascript">
    function updateTable(pThis)
        var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
        alert('Row# - '+ vRow + ' has the value - ' + pThis.value);
    </script>Now, you can call a AJAX on-demand process inside the javascript function to update the database value.

  • Auto submit virtual form on change (not the whole form)

    If you tick the "auto submit on change" option of a drop down, it submits the whole form, thus all the required fields have to be filled. Are there any way to submit only the perticular virtual form on change?
    Thank you very much.

    I don't see the problem... Are the files being digitally signed? If not then there's no difference at all between submitting the form data and using it to populate a local copy of the file and submitting the entire file.
    It's technically impossible to extract a page from a PDF viewed in Reader.
    Another alternative: Split the file in two parts and put a link on the last page of the first file to the second part, which will contain only the page with the form fields. You can add a link and some text to the page saying that it is a continuation of the first document.

  • Indexed Dropdown List

    Hi, everyone I have this problem:
    I created with two dropdown list. One (A) is the master dropdown list for dropdown list(B). If I check "Auto submit on change" on dropdown list (A) and also check "Auto submit on change" on dropdown list (B) the "Auto submit on change script" only works for dropdown (A). Does anyone knows why is that ?

    Interesting... perhaps did you set the "required" property on something? If so, try unsetting it...
    You could try to isolate which field is having the problem by associated specific message components w/each component.
    More questions:
    Are these dropdowns filled from a database? Or ?
    Do they have any relationship to each other (dropdown2 does something based on dropdown1's selection)?
    If filled from a database, do they have converters on them?
    If you email me at CreatorFeedback AT sun DOT com I can sent you an example project of coordinated dropdowns... we are still trying to get it ready to post to the web...
    v

Maybe you are looking for