Safari needs to click submit button twice when file uploading

Hi all,
I'm using Safari 4.0.5 and developing the html (no AJAX, but plain PHP posting) form with the file uploading on my local environment. I tested it fast and thick several times, then suddenly Safari stopped to upload the jpeg file, indicating loading animation on the address bar. So I tried to click the submit button once again, I succeed in sending two posts including one jpeg image.
There's no problem with other browsers like Firefox and Chrome. Additionally, I tried to reinstalled Safari, rebooted Snow Leopard and checked file's permissions by Disk Utility app, but no dice.
Any suggestions would be greatly appreciated.
Thanks,

I am having the exact same problem except that I'm in Safari 5.0. Did you ever come to any resolution on the problem?
I am having trouble uploading certain jpegs (can't find a common thread between the images that won't work though they tend to be larger than 100k and larger than 800px wide). When I have the problem the progress bar just hangs at about 10%. The page never times out. Never throws any kind of error. I confirmed that the file is never making it to the application layer. Such a weird and intermittent problem. All other browsers are fine. Just Safari is a problem. Even with these images that are giving me a problem, sometimes they work - especially after restarting the browser.
Any help or insight from anyone would be greatly appreciated.
Message was edited by: Neal Ferrazzani

Similar Messages

  • How to open a new OAF page in new window while clicking submit button

    Dear All
    I am facing one problem.I have to pass some parameter in new page only after validation.I can't do validation in processRequest bacause I perform validation after clicking the submit button.
    So I have to write redirect code in processForm Request. I can not use simple "Button" bean since I have to set destination uri which could be set only in processRequest.But I can not pass parameter with it in process request.
    Thats why I have decided to use submit button but there is not target frame option in property inspector,So I am not able to open it in new window.
    Kindly give me some suggestion .
    Thanks in Advance

    hi,
    u can use submit button. U need to handle submit button press in processFormRequest method.
    if(pageContext.getParameter("Submit"!=null))
    // validate your parameter
    if parameter u capturing are valid then...
    pageContext.setForwardURL(func, params ...............) // check devguide for details
    if u want to access these parameter in second page . you can write this logic to processRequest of target page.
    U can refer toolbox tutorial drilldown and createpage examples for implementation details.
    Regards,
    Ram

  • Can we remain in the same state even after clicking submit button?

    Hello All,
    Can we remain in the same stage even after clicking submit button? Also it should remain in the same stage only when certain conditions are met. For eg:
    Condition : In Stage1, CustomFieldA default value is 'No'. To pass from Stage1 to Stage2 the CustomFieldA value should be made to yes.
    Scenario 1 : CustomFieldA value is 'No', and I click on Submit .
    Expected Result : should remain in the same stage
    Is above result achievable in PS 2013? I am creating workflow in Visual Studio 2012, so can I handle this in the workflow?
    Please help.

    The above answer was proved wrong, so please follow this link to get the answer.
    http://social.msdn.microsoft.com/Forums/en-US/8c75d74d-1ea6-4273-96cd-e70f5a5688fc/how-to-remain-in-the-same-stage-even-after-clicking-submit-button?forum=project2010custprog

  • Clicking Back button twice in IE7 to get previos page in our WL portal.

    Hello,
    we are developing weblogic portal application.
    And have noticed that on the all our pages(we have JPF and JSR portlets) we have to click Back button twice in Internet Explorer 7 to get previous page.
    We haven't got such issue when we use FireFox, Opera or Chrome, please advice, what we can do to fix this issue.
    Thank you very much!

    Thank you, deepshet
    Now I have discovered that weblogic generates url with fragment identifier at the second step.
    When I call page for example News_page from previous page Main_page, I use the following link
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page
    after loading (about 1-2 seconds) to url addeds fragment identifier *#wlp_news_page*, so the resulting page will be
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page*#wlp_news_page*
    At this moment when I click back button in IE I will get
    http://localhost:7001/MyPortal/appmanager/TestPortal/TestDesktop?_nfpb=true&_pageLabel=News_page
    for the first time.
    And after my second click I will be returned to Main_page.
    Please advice how can I avoid such behaviour?Is it possible to turn off fragment identifiers on portal?
    Thanks

  • While trying to restore os x and erase content, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen and will not progress.

    While trying to restore os x and erase content on my MacBook pro, some problem about voice software came up and the computer asked me to restart and try again by clicking restart button. When I did this, the machine went to a gray start up screen with an apple and will not progress. I've waited more than 30 minutes and tried restarting again by holding the power button. Also, restore cd 1 will not eject so the computer will no longer move past the gray screen with spinning circle. Restore CDs had never beeused and were still in packaging in the original box. Ran hardware test just to check, and it came back as normal. Now what? I live nowhere near a genius bar :(

    computer asked me to restart and try again by clicking restart button.
    That's called a kernel panic...
    Since the install disc won't eject, try starting up while holding down the C key. If the Mac won't boot while holding down the C key, try ejecting disc by either holding down the mouse while starting up or holding down the Eject key while starting up.
    Try booting from your install disc so you can run Disk Utility in case the startup disk needs repairing.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu and launch Disk Utility.
    (In Mac OS X 10.4 or later, you must select your language first from the installer menu)
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel. It should say: Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your startup disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. Make sure there is always 15% free space.
    What is a kernel panic
    Mac OS X Kernel Panic FAQ
    Resolving Kernel Panics

  • Have to click the button twice to invoke its action!!!!

    I am using netbeans 5.5 visual web pack and tomcat server for my JSF project.
    In one of my pages i have to click the submit button twice to invoke its action.
    I searched forum for the answer but could not find any that could solve my problem.
    Whenever i first click the button from the lifecycle listener class i used i found the application goes through following phases:
    BeforePhase: RESTORE_VIEW 1
    AfterPhase: RESTORE_VIEW 1
    BeforePhase: APPLY_REQUEST_VALUES 2
    com.sun.rave.web.ui.renderer.UploadRenderer::decode()
    com.sun.rave.web.ui.renderer.UploadRenderer::     Looking for id form1:citizenshipFileUPloadField_com.sun.rave.web.ui.upload
    com.sun.rave.web.ui.renderer.UploadRenderer::     Found id form1:citizenshipFileUPloadField_com.sun.rave.web.ui.upload
    AfterPhase: APPLY_REQUEST_VALUES 2
    BeforePhase: RENDER_RESPONSE 6
    AfterPhase: RENDER_RESPONSE 6There is no INVOKE_APPLICATION phase in first click. In second click, the status i got is:
    BeforePhase: RESTORE_VIEW 1
    AfterPhase: RESTORE_VIEW 1
    BeforePhase: APPLY_REQUEST_VALUES 2
    com.sun.rave.web.ui.renderer.UploadRenderer::decode()
    com.sun.rave.web.ui.renderer.UploadRenderer::     Looking for id form1:citizenshipFileUPloadField_com.sun.rave.web.ui.upload
    com.sun.rave.web.ui.renderer.UploadRenderer::     Found id form1:citizenshipFileUPloadField_com.sun.rave.web.ui.upload
    AfterPhase: APPLY_REQUEST_VALUES 2
    BeforePhase: PROCESS_VALIDATIONS 3
    AfterPhase: PROCESS_VALIDATIONS 3
    BeforePhase: UPDATE_MODEL_VALUES 4
    AfterPhase: UPDATE_MODEL_VALUES 4
    BeforePhase: INVOKE_APPLICATION 5
    AfterPhase: INVOKE_APPLICATION 5
    BeforePhase: RENDER_RESPONSE 6
    AfterPhase: RENDER_RESPONSE 6Now the INVOKE_APPLICATION phase is invoked.
    I have <h:messages /> tag but no errors could be seen.
    What can be the reasons behind this problem

    Well the code that is producing the problem is quite big. Anyway i will post it, hoope you can get something out of it.
    The jsp page is:
    <ui:body binding="#{ReceptionPage$CompanyPersonPage.body1}" id="body1" style="-rave-layout: grid">
                        <div align="center">
                            <ui:staticText binding="#{ReceptionPage$CompanyPersonPage.staticText1}" id="staticText1"
                                style="font-family: Georgia,'Times New Roman',times,serif; font-size: 18px; font-weight: bold" text="Company Person Page"/>
                        </div>
                        <div align="left" style="color:red;font-weight:bold;layout:table;">
                            <h:messages id="errMsgs"/>
                        </div>
                        <ui:form binding="#{ReceptionPage$CompanyPersonPage.form1}" id="form1">
                            <ul>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label1}" id="label1" style="" text="Citizenship Number:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField1}" id="textField1" required="true" style="" text="#{CompanyPersonBean.citizenshipNumber}"/>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label2}" id="label2" style="" text="Name:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField2}" id="textField2" required="true" style="" text="#{CompanyPersonBean.name}"/>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label3}" id="label3" style="" text="Country:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField3}" id="textField3" required="true" style="" text="#{CompanyPersonBean.country}"/>
                                </li>
                                <li>
                                    <fieldset style="width:250px;float:left;">
                                        <legend>Temporary Address</legend>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.tempDistrictLabel}" id="tempDistrictLabel" text="District:"/>
                                        <br/>
                                        <ui:dropDown binding="#{ReceptionPage$CompanyPersonPage.tempDistrictDropDown}"
                                            converter="#{ReceptionPage$CompanyPersonPage.integerConverter1}" id="tempDistrictDropDown" immediate="true"
                                            items="#{ReceptionPage$CompanyPersonPage.tempDistrictDataProvider.options['DISTRICT_ID,DISTRICT_NEPALI_NAME']}"
                                            onChange="common_timeoutSubmitForm(this.form, 'ul:li:fieldset:tempDistrictDropDown');" valueChangeListener="#{ReceptionPage$CompanyPersonPage.tempDistrictDropDown_processValueChange}"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.tempAreaLabel}" id="tempAreaLabel" text="Area(VDC/Municipality):"/>
                                        <br/>
                                        <ui:dropDown binding="#{ReceptionPage$CompanyPersonPage.tempAreaDropDown}"
                                            converter="#{ReceptionPage$CompanyPersonPage.integerConverter3}" id="tempAreaDropDown" items="#{ReceptionPage$CompanyPersonPage.tempAreaDataProvider.options['AREA_ID,AREA_NEPALI_NAME']}"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.tempWardNoLabel}" id="tempWardNoLabel" text="Ward No:"/>
                                        <br/>
                                        <ui:textField binding="#{ReceptionPage$CompanyPersonPage.tempWardNoTextField}" id="tempWardNoTextField" required="true"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.tempHouseNoLabel}" id="tempHouseNoLabel" text="House No:"/>
                                        <br/>
                                        <ui:textField binding="#{ReceptionPage$CompanyPersonPage.tempHouseNoTextField}" id="tempHouseNoTextField"/>
                                    </fieldset>
                                    <fieldset style="width:250px;">
                                        <legend>
                                        Permanent Address</legend>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.permDistrictLabel}" id="permDistrictLabel" text="District:"/>
                                        <br/>
                                        <ui:dropDown binding="#{ReceptionPage$CompanyPersonPage.permDistrictDropDown}"
                                            converter="#{ReceptionPage$CompanyPersonPage.integerConverter2}" id="permDistrictDropDown" immediate="true"
                                            items="#{ReceptionPage$CompanyPersonPage.permDistrictDataProvider.options['DISTRICT_ID,DISTRICT_NEPALI_NAME']}"
                                            onChange="common_timeoutSubmitForm(this.form, 'ul:li:fieldset:permDistrictDropDown');" valueChangeListener="#{ReceptionPage$CompanyPersonPage.permDistrictDropDown_processValueChange}"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.permAreaLabel}" id="permAreaLabel" text="Area(VDC/Municipality):"/>
                                        <br/>
                                        <ui:dropDown binding="#{ReceptionPage$CompanyPersonPage.permAreaDropDown}"
                                            converter="#{ReceptionPage$CompanyPersonPage.integerConverter4}" id="permAreaDropDown" items="#{ReceptionPage$CompanyPersonPage.permAreaDataProvider.options['AREA_ID,AREA_NEPALI_NAME']}"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.permWardNoLabel}" id="permWardNoLabel" text="Ward No:"/>
                                        <br/>
                                        <ui:textField binding="#{ReceptionPage$CompanyPersonPage.permWardNoTextField}" id="permWardNoTextField" required="true"/>
                                        <br/>
                                        <ui:label binding="#{ReceptionPage$CompanyPersonPage.permHouseNoLabel}" id="permHouseNoLabel" text="House No:"/>
                                        <br/>
                                        <ui:textField binding="#{ReceptionPage$CompanyPersonPage.permHouseNoTextField}" id="permHouseNoTextField"/>
                                    </fieldset>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label4}" id="label4" style="" text="Phone Number:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField4}" id="textField4" style="" text="#{CompanyPersonBean.phoneNumber}"/>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label5}" id="label5" style="" text="Mobile:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField5}" id="textField5" style="" text="#{CompanyPersonBean.mobileNumber}"/>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label6}" id="label6" style="" text="Email:"/>
                                    <br/>
                                    <ui:textField binding="#{ReceptionPage$CompanyPersonPage.textField6}" id="textField6" style=""
                                        text="#{CompanyPersonBean.emailAddress}" validator="#{ReceptionPage$CompanyPersonPage.textField6_validate}"/>
                                </li>
                                <li>
                                    <b>Person Company Relation:</b>
                                    <br/>
                                    <ui:checkbox binding="#{ReceptionPage$CompanyPersonPage.checkbox1}" id="checkbox1" label="Is Promoter" style=""/>
                                    <br/>
                                    <ui:checkbox binding="#{ReceptionPage$CompanyPersonPage.checkbox2}" id="checkbox2" label="Is Board Oof Director" style=""/>
                                    <br/>
                                    <ui:checkbox binding="#{ReceptionPage$CompanyPersonPage.checkbox3}" id="checkbox3" label="Is Shareholder" style=""/>
                                    <br/>
                                    <br/>
                                </li>
                                <li>
                                    <ui:label binding="#{ReceptionPage$CompanyPersonPage.label7}" id="label7" style="" text="Citizenship Certificate File"/>
                                    <br/>
                                    <ui:upload binding="#{ReceptionPage$CompanyPersonPage.citizenshipFileUPloadField}"
                                        columns="#{CompanyPersonBean.citizenshipFilePath}" id="citizenshipFileUPloadField" required="true" style=""/>
                                </li>
                                <li>
                                    <ui:button action="#{ReceptionPage$CompanyPersonPage.button1_action}" binding="#{ReceptionPage$CompanyPersonPage.button1}"
                                        id="button1" style="height: 23px"
                                        text="Save"/>
                                    ||
                                    <ui:button
                                        binding="#{ReceptionPage$CompanyPersonPage.button2}" id="button2" onClick="window.close()" style="height: 24px" text="Close"/>
                                </li>
                            </ul>
                        </ui:form>
                    </ui:body>
                        The corresponding bean is:
    public class CompanyPerson {
        private String citizenshipNumber;
        private String name;
        private String country;
        private String phoneNumber;
        private String mobileNumber;
        private String emailAddress;
        private String citizenshipFilePath;
        private String isShareHolder;
        private String isBoardOfDirector;
        private String isPromoter;
        public CompanyPerson() {
        public String getCitizenshipNumber() {
            return citizenshipNumber;
        public void setCitizenshipNumber(String citizenshipNumber) {
            this.citizenshipNumber = citizenshipNumber;
        public String getName() {
            return name;
        public void setName(String name) {
            this.name = name;
        public String getCountry() {
            return country;
        public void setCountry(String country) {
            this.country = country;
        public String getPhoneNumber() {
            return phoneNumber;
        public void setPhoneNumber(String phoneNumber) {
            this.phoneNumber = phoneNumber;
        public String getMobileNumber() {
            return mobileNumber;
        public void setMobileNumber(String mobileNumber) {
            this.mobileNumber = mobileNumber;
        public String getEmailAddress() {
            return emailAddress;
        public void setEmailAddress(String emailAddress) {
            this.emailAddress = emailAddress;
        public int getTemporaryAddressId() {
            return temporaryAddressId;
        public void setTemporaryAddressId(int temporaryAddressId) {
            this.temporaryAddressId = temporaryAddressId;
        public int getPermanentAddressId() {
            return permanentAddressId;
        public void setPermanentAddressId(int permanentAddressId) {
            this.permanentAddressId = permanentAddressId;
        public String getCitizenshipFilePath() {
            return citizenshipFilePath;
        public void setCitizenshipFilePath(String citizenshipFilePath) {
            this.citizenshipFilePath = citizenshipFilePath;
        public String getIsShareHolder() {
            return isShareHolder;
        public void setIsShareHolder(String isShareHolder) {
            this.isShareHolder = isShareHolder;
        public String getIsBoardOfDirector() {
            return isBoardOfDirector;
        public void setIsBoardOfDirector(String isBoardOfDirector) {
            this.isBoardOfDirector = isBoardOfDirector;
        public String getIsPromoter() {
            return isPromoter;
        public void setIsPromoter(String isPromoter) {
            this.isPromoter = isPromoter;
    }No all the properties of the bean has been bind to components.
    I also have value change listener methods for two drop down lists whose immediate property is set to true to bypass the validation. If i change the dropdownlist selection then its value change listener method is successfully invoked, then after if i click the submit button, then it will works.

  • HT5361 how do I keep the classic look ? I go to mail preferences and click the button but when I launch mail again it is still in the list view which I hate. Anyone know ?

    how do I keep the classic look ? I go to mail preferences and click the button but when I launch mail again it is still in the list view which I hate. Anyone know ?

    The first thing to try if a setting does not "keep" is a PRAM reset.
    http://support.apple.com/kb/ht1379
    Change the setting to what you want, then PRAM reset on restart:
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.

  • I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the butten is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button.  When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format.  Is there a quick fix?

    Hi,
    You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
    In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
    Regards
    Bruce

  • Left Nav lost after clicking submit button in iView

    Hi Community,
    I created an APC called CreateOrder which implements AbstractPortalComponent. This component acts as controller. In doContent() method, It checks if the create order submit button is clicked or not, if no, it  returns createOrder.jsp page, if yes, it returns createOrderResult.jsp page. Everything works fine except left navigation disapear after I click submit button createOrder.jsp and createOrderResult.jsp shows up. 
    by the way I can create a createOrderIview using the APC component, able to see createOrder.jsp page and have result page shows up.
    Anyone know what problem here? any help/sugguestion are very appriciated.

    Make sure your iView isolation mode is set to URL...
    Cheers

  • How to set focus on MessageTextInput after clicking submit button

    Hi All,
    I have submit button and MessageTextInput, by clicking submit button i have to focus on MessageTextInput control.
    can any one tell me how to do this?
    Thanks
    Laukik Pachanekar

    Hi,
    As the submit button is clicked redirect the page to itself using
    pageContext.forwardimmediatelytocurrentpage(null,false,null);
    Now in process request use:
    import oracle.apps.fnd.framework.webui.beans.OABodyBean;
    OABodyBean oabean = (OABodyBean)pageContext.getRootWebBean();
    oabean.setInitialFocusId("<id of messsage text input>");
    Thanks,
    Gaurav

  • How to remove clear button on message file upload bean item?

    Dear Guru's.
                    How to remove clear button on message file upload bean item .
    Regards,
    Srinivas

    Hi Raghu,
    This is srinivas i am also facing this issue how u achieve this can u share me this is urgent for me .
    Regards,
    Srinivas

  • Skillbuilder Modal popup turns black when click submit button

    Hi,
    Ive used the great skill-builder's plug-in to display my page 2 popup modally from page1 by clicking a button and it works as expected. However i realized when i click the Submit button on the popup page it turns black(pls get me right here its the background of the popup page-page2 not the first page-page1 i am talking about) while refreshing.
    apex 4.1.0/Oracle 11g Ent,
    any help please...regards.

    Skillbuilder Modal uses software named "Colorbox" for its modal presentation. The first problem that you had probably occured because you had not yet selected a theme. The position of the close button varies depending on the theme that you select. You selected theme 1, therefore the close button is in the lower right hand corner. Some of the other themes may better suit your taste. There are 5 to choose from. BTW, these themes cannot be easily changed so you pretty much have to decide on 1 of the 5. I think Dan is working on some more options with future releases of SB Modal.

  • Populating textbox in jsf on clicking submit button

    I am having inputText box, dropdownlist , outputText box and a submit button in my jsp page.
    I am pre populating the dropdown list from my managed bean. Also setting the values using setter methods that is input in inputText box and dropdownlist using managed bean.
    On clicking the submit button and based on selected item from the drop down list, I need to perform populating outputText box with return string from getter method from bean.
    But I am not sure how to handle this. Please find few lines of code below...
    <h:inputText id= "mnNum" value="#{UserBean.mnNum}" size="18" maxlength="17" styleClass="TxtSz12 LH18" tabindex="1" title="Man Number"/>
    <h:selectOneMenu id="lstService" value="#{UserBean.serviceType}" tabindex="3">
       <f:selectItems value="#{UserBean.getServiceItems}"/>
    </h:selectOneMenu>
    <h:commandButton  action="#{UserBean.submit}" id="submitButton" value="Generate"/>
    <h:outputText value="#{UserBean.getRequest}" />
    public class UserBean extends FacesBean {
    public String submit() {...}
    public void setServiceType(String serviceType) {...}
    public String getRequest() {
    if(serviceType.toString()=="SearchService")
    return "abc";
    else if (serviceType.toString()=="basicService")
    return "xyz";
    else
    return null;
    }Please assist how to do it when submit button is clicked. I can redirect to different jsp file on click of the submit button. But I dont want to do that and I need to populate the output textbox in the same page !
    If anything is not clear please let me know. Thanks in advance.
    Edited by: 901007 on Jan 13, 2012 4:11 AM
    Edited by: 901007 on Jan 13, 2012 4:13 AM

    Page is coming up but lstService dropdown box is not displayed at all. But mnNum inputText and submitButton is showing properly.
    Also after pressing submit button, "abc" text must be displayed in outputText box. But its also not displayed. Instead, the below error is shown,
    Error opening /portlets/tools/webservicehelper/webservicehelper.faces.
    The source of this error is:
    java.util.MissingResourceException: Can't find bundle for base name resources.bundles.ValidationMessages, locale en at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1521) at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1260) at java.util.ResourceBundle.getBundle(ResourceBundle.java:962) at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:102) at javax.faces.component.MessageFactory.getMessage(MessageFactory.java:175) at javax.faces.component.UIInput.validateValue(UIInput.java:1001) at javax.faces.component.UISelectOne.validateValue(UISelectOne.java:130) at javax.faces.component.UIInput.validate(UIInput.java:868) at
    Any problems in below code?
    My entire code below for UserBean.java and webservicehelper.jsp.
    package net.verizon.portlet.bean;
    import javax.faces.application.FacesMessage;
    import javax.faces.component.UIComponent;
    import javax.faces.component.UIInput;
    import javax.faces.context.FacesContext;
    import java.io.Serializable;
    import java.util.LinkedHashMap;
    import java.util.Map;
    import javax.faces.*;
    import javax.faces.model.*;
    import java.util.*;
    public class UserBean extends FacesBean {
         private static final long serialVersionUID = 1L;
         private String mnNum;
         private String serviceType;
         private String txtVal;
         public String getmnNum() {
              return mnNum;
         public void setmnNum(String mnNum) {
              this.mnNum = mnNum.toUpperCase();
         public String getServiceType() {
              return serviceType;
         public void setServiceType(String serviceType) {
              this.serviceType = serviceType;
         private ArrayList<SelectItem> serviceItems = null;
         public ArrayList<SelectItem> getServiceItems() {
              serviceItems = new ArrayList<SelectItem>();
              serviceItems.add(new SelectItem(null,"select one..."));
              serviceItems.add(new SelectItem("SearchService","SearchService"));
              serviceItems.add(new SelectItem("basicService","basicService"));
              return serviceItems;
         public String submit() {
              try {                    
                         txtVal = "abc";
              catch(Exception e) {
                            logger.error("error in submit method" + e);
              return null;
         public String getRequesttxt() {
                   return txtVal;
    --webservicehelper.jsp
    <%@ page language="java" contentType="text/html;charset=UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
    <%@ taglib uri="http://bea.com/faces/adapter/tags-naming" prefix="netuix" %>
    <%@ taglib uri="http://www.bea.com/servers/portal/tags/netuix/render" prefix="render" %>
    <f:view>
         <h:form id="wnInputForm" onsubmit="return validateLoginForm();">
             <h:messages layout="table" globalOnly="true" style="color: red"/>
             <h:panelGrid columns = "2" width="100%">
                  <h:panelGroup>
                       <h:panelGrid columns="1" cellpadding="6" width="400">
                       <h:panelGroup style="white-space: nowrap;">
                            <h:outputLabel value="Man Number" for="mnNum" escape="false"/>
                       </h:panelGroup>
                  <h:panelGroup>
                       <h:inputText id= "mnNum" value="#{UserBean.mnNum}" size="18" maxlength="17" tabindex="1" title="Man Number"/>
                  </h:panelGroup>
                       </h:panelGrid>
                  </h:panelGroup>
                  <h:panelGroup>
                       <h:panelGrid width="700">
                       <h:panelGroup>
                                      <h:outputText value="#{UserBean.requesttxt}" />
                            </h:panelGroup>
                       </h:panelGrid>
                  </h:panelGroup>     
                  <h:panelGroup>
                       <h:selectOneMenu id="lstService" value="#{UserBean.serviceType}" tabindex="3">
                            <f:selectItems value="#{UserBean.serviceItems}"/>
                       </h:selectOneMenu> <br>
                                <h:commandButton action="#{UserBean.submit}" id="submitButton" value="Generate"/>
                  </h:panelGroup>
             </h:panelGrid>
               </h:form>
    </f:view>Edited by: 901007 on Jan 16, 2012 8:07 AM

  • Submit button disabed, when uploading eGate.sar

    Hi,
    I am facing a problem when installing Jcaps 5.1 on Solaris 10 sparc. Following are the steps.
    1) Successfully installed Repository
    2) Successfully logged into web-admin page.(with username and password)
    3) From the "browse" button able to add /caps/ProductCD1/eGate.sar file.
    But "Submit" button is not enabled, tried in firefox(1.04), mozilla browsers.
    Please let me know how can i proceed further.
    Thanks in Advance
    ram

    Use Internet Explorer on Windows.
    You could try running IE under Wine on Solaris but the effort required to do that might not be worht the trouble particularly that you will need a Windows platform to run the Enterprise Designer anyway.
    Read the documentation for pre-requisites and supported platforms.

  • Submit button disappears when returning to the quiz slide

    Hi everyone,
    We just upgraded from Captivate 4.0 to 5.5. I'm learning 5.5 differences from 4.0 and have one that I can't figure out.
    On the quiz slides, if the learner moves back and forward within the quiz slides, the quiz buttons are fine. However, if they click Back on the 1st quiz slide, then go forward to the quiz slide the submit button flashes briefly then disappears for that slide and all the other quiz slides. I can't find a setting to fix this.
    Any suggestions or thoughts would be appreciated. Thank you.

    Sounds like a quiz scope issue.  If you click back on the first quiz slide that would take you to the slide BEFORE the first quiz slide which is technically outside the quiz scope.  This usually results in Captivate locking the quiz.
    I haven't personally seen this button disappearing act but you can test whether quiz scope is the likely culprit by adding a scored click box to the first slide of the project, which will then extend the quiz scope out to that slide.  If this prevents your quiz slide buttons from disappearing, we know where the issue comes from.  That may mean you have still found a bug that needs to be fixed though.

Maybe you are looking for