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.

Similar Messages

  • When applying an effect I have to click the link twice before it works

    Hi there
    I am trying to apply an effect to various objects (button, hyperlink etc) but it will only work once I've clicked the button / link twice.  Any ideas?
    cheers
    Julie

    Hi Lilybiri
    thanks again, I don't understand it either,  I only have on pause on the timeline.  the text boxes at the left side have their 'visible in output' unticked.
    Please find attached the screenshots
    Cheers
    Julie

  • When first opening firefox I always have to click the icon twice before the browser opens.

    When I first turn on my laptop and click the firefox icon, it shows that it's working. After a few seconds nothing happens so I click the firefox icon again and then it will open but now I have 2 open browsers.

    You're right, you should be able to just start typing in either the built-in Firefox home page ("about:home") or the actual Google home page (https://www.google.com/). Are you using one of those, or a different page that has a Google search box?
    There are some add-ons to manage the home page and/or new tab page that may affect where the "focus" is in the browser. Could you try starting up Firefox in its Safe Mode? That's a standard diagnostic tool to bypass interference by extensions (and some custom settings). More info: [[Troubleshoot Firefox issues using Safe Mode]].
    I suggest doing this the next time you start Firefox. Simply hold down the Shift key when double-clicking the icon. You should be presented with a small dialog. Click "Start in Safe Mode" (''not'' Reset).
    Any difference? To return to normal mode, exit Firefox and start it again, not holding the Shift key.

  • 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

  • My iphone 4s doesnt have the slide option to turn on mirror on apple tv...after ive double clicked the button and scrolled left twice, i see the symbol and click into it but theres no mirror option??

    my iphone 4s doesnt have the slide option to turn on mirror on apple tv...after ive double clicked the button and scrolled left twice, i see the symbol and click into it but theres no mirror option??

    is the latests ios version installed?
    if so then are you 100% sure you have an iphone4s because if you have an iphone4 it would be absent because Iphone4 don't support it
    mind you iphone4 are still being sold

  • Have to click Next button on results page twice

    Help!
    My first Captivate module is all ready to go, with one small
    problem. When users get through a quiz and go to the results page,
    they have to click the Next question twice. I'm not sure why this
    is, and I can't seem to fix it.
    For the rest of the slides, instead of automatic advancement,
    users have to click a Next or Back button to go forward or back,
    and I have quiz questions where the user can't go back, and no quiz
    review, but I don't see how those would impact that one single
    button on the results page, which of course I can't edit because it
    only appears when a quiz is completed, and not actually during
    design.
    I hope this makes sense! Please help. You're my only
    hope.

    Help!
    My first Captivate module is all ready to go, with one small
    problem. When users get through a quiz and go to the results page,
    they have to click the Next question twice. I'm not sure why this
    is, and I can't seem to fix it.
    For the rest of the slides, instead of automatic advancement,
    users have to click a Next or Back button to go forward or back,
    and I have quiz questions where the user can't go back, and no quiz
    review, but I don't see how those would impact that one single
    button on the results page, which of course I can't edit because it
    only appears when a quiz is completed, and not actually during
    design.
    I hope this makes sense! Please help. You're my only
    hope.

  • It says I have to answer security question I don't remember my answers I clicked the button so my email can send it to me how to restart it but it never did. It won't send me one on my email now I'm not able to buy anything hel?

    i Got a new phone and and it says I have to answer a security question I forgot my security question answers so I clicked the button where I can reset my security questions and send it to my email but it never sent it to my email what should I do because now as many times as I click the button is still won't send and I'm not able to buy anything off of iTunes or the App Store please help ASAPl

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • I have forgotten my answers to my security questions and I have clicked the button to send an email to reset my answers but I have not gotten the email for it. Is there another way I can reset my answers?

    Can someone please help me I would like to buy music and have clicked the button to reset it more than once and I still have nothing.

    Going through this website may give you the ability to contact Apple about resetting your security questions if you're unable to recall the answers.
    http://www.apple.com/support/itunes/contact/

  • Certain sites do not load properly. I have to click the Stop loading page button, the click reload page to fully load the site.

    Using Firefox 6.0.1 on Windows XP SP3. When I navigate to certain sites (nytimes.com for example), Firefox loads most of the page, but some graphics are missing and the green circle in the tab keeps spinning. Typically I have to click the Stop Loading Page button, then click the Reload Page button to get Firefox to load the remaining items in the website. Seems to get stuck with images.

    This type of problem is normally caused by using an incompatible add-on. For details of how to troubleshoot this to find out what one is causing the problem see https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • How many times do you have to click the sleep/wake button to get the light brighter? (on iPod touch)

    How many times do you have to click the sleep/wake button (top button) to get the light/screen brighter? (on iPod touch)

    That is not haow you change brigntness. Go to Settings>Brightness to adjust screen brightness.

  • HT3205 I have 7 lights on my macbook. What does it mean when the first 5 light up when I click the button?

    I have 7 lights on my macbook. What does it mean when the first 5 light up when I click the button?

    Run an Apple Hardware Test (extended version):
    http://support.apple.com/kb/ht1509
    Ciao.

  • I just went on to an app and I decided to come off a while after so I clicked the button and it kept on coming up with siri so I have to turn off my phone and turn it back on to get to the home ,what's up?

    I just went on to an app and I decided to come off a while after so I clicked the button and it kept on coming up with siri so I have to turn off my phone and turn it back on to get to the home ,what's up?

    Restart the phone

  • Clicking the button leads to new window to (Dmitry

    hai....
    i have created a portal form
    and i have written a plsql procedure to display the report... the
    plsql procedure
    is
    cvalue varchar2(10):='Report';
    cursor enquiry is select * from oredu_enqs;
    cursor enqs is select * from oredu_enqs where
    OR_REG_REGION in
    (SELECT REGION FROM ORE_REGS WHERE ACCMGR_ID=portal40.wwctx_api.get_user);
    begin
    if cvalue='Report' then
    If (portal40.wwctx_api.get_user='JAYANTHAN')then
    htp.br;
    htp.br;
    htp.tableOpen('BORDER=2');
    htp.CenterOpen();
    htp.TableRowOpen;
    htp.TableHeader('Region');
    htp.TableHeader('Enquiry No');
    htp.TableHeader('Name');
    htp.TableHeader('Address');
    htp.TableHeader('Company');
    htp.TableHeader('Phone(Office)');
    htp.TableHeader('Phone(Residence)');
    htp.TableHeader('Fax');
    htp.TableHeader('Email');
    htp.TableHeader('Accademic Qualification');
    htp.TableHeader('Professional Qualification');
    htp.TableHeader('Work Experience');
    htp.TableHeader('Request Date');
    htp.TableHeader('Comments');
    htp.TableHeader('Course Enquired For');
    htp.TableHeader('Enquiry Tyep');
    htp.TableHeader('Action Taken');
    htp.TableHeader('Date Of Action');
    htp.TableHeader('Status');
    htp.TableHeader('Remarks');
    htp.TableRowClose;
    FOR i IN enquiry LOOP
    htp.TableRowOpen;
    htp.TableData(i.or_reg_region);
    htp.TableData(i.enq_no);
    htp.TableData(i.first_name&#0124; &#0124;i.last_name);
    htp.TableData(i.address&#0124; &#0124;i.address2&#0124; &#0124;i.address3);
    htp.TableData(i.company);
    htp.TableData(i.phone_off);
    htp.TableData(i.phone_res);
    htp.TableData(i.fax);
    htp.TableData(i.email);
    htp.TableData(i.qual_acc);
    htp.TableData(i.qual_prof);
    htp.TableData(i.work_exp);
    htp.TableData(i.date_req);
    htp.TableData(i.comments);
    htp.TableData(i.course);
    htp.TableData(i.enq_type);
    htp.TableData(i.action_taken);
    htp.TableData(i.date_action);
    htp.TableData(i.status);
    htp.TableData(i.remarks);
    htp.TableRowClose;
    END LOOP;
    htp.tableclose();
    htp.appletclose();
    else
    htp.TableOpen('BORDER=2',cattributes=>'VALIGN="TOP"');
    htp.TableRowOpen;
    htp.TableHeader('Region');
    htp.TableHeader('Enquiry No');
    htp.TableHeader('Name');
    htp.TableHeader('Address');
    htp.TableHeader('Company');
    htp.TableHeader('Phone(Office)');
    htp.TableHeader('Phone(Residence)');
    htp.TableHeader('Fax');
    htp.TableHeader('Email');
    htp.TableHeader('Accademic Qualification');
    htp.TableHeader('Professional Qualification');
    htp.TableHeader('Work Experience');
    htp.TableHeader('Request Date');
    htp.TableHeader('Comments');
    htp.TableHeader('Course Enquired For');
    htp.TableHeader('Enquiry Tyep');
    htp.TableHeader('Action Taken');
    htp.TableHeader('Date Of Action');
    htp.TableHeader('Status');
    htp.TableHeader('Remarks');
    htp.TableRowClose;
    FOR j IN enqs LOOP
    htp.TableRowOpen;
    htp.TableData(j.or_reg_region);
    htp.TableData(j.enq_no);
    htp.TableData(j.first_name&#0124; &#0124;j.last_name);
    htp.TableData(j.address&#0124; &#0124;j.address2&#0124; &#0124;j.address3);
    htp.TableData(j.company);
    htp.TableData(j.phone_off);
    htp.TableData(j.phone_res);
    htp.TableData(j.fax);
    htp.TableData(j.email);
    htp.TableData(j.qual_acc);
    htp.TableData(j.qual_prof);
    htp.TableData(j.work_exp);
    htp.TableData(j.date_req);
    htp.TableData(j.comments);
    htp.TableData(j.course);
    htp.TableData(j.enq_type);
    htp.TableData(j.action_taken);
    htp.TableData(j.date_action);
    htp.TableData(j.status);
    htp.TableData(j.remarks);
    htp.TableRowClose;
    END LOOP;
    htp.tableClose();
    end if;
    end if;
    end;
    this is the plsql procedure....
    procedure is working well in the portal
    i want to call this procedure when i click the button and shows the value....
    i thing u will understand after reading my
    program....
    after checking the cvalue i want to go to
    new window,and that window should show the
    value...
    please
    thanks in advance

    953006 wrote:
    I would like to have a button that when clicked once, redirects the page to a URL in a new tab. The URL is based on a sql query from a dynamic action linked to the button.
    Way 1:
    I have tried to use redirect_url() in the dynamic action itself.
    <pre>
    htp.init;
    owa_util.redirect_url('http://myurl.com');
    </pre>
    But it didn't work at all.
    So I tried ...
    Way 2:
    1. In the dynamic action set a page item value to the url. This is Action 1 of the dynamic action.
    <pre>
    :P33_URL_ITEM := function_that_returns_the_url;
    </pre>
    2. Submit the page. This is Action 2 of the dynamic action.
    3. Action 3 of the dynamic action executes the following JavaScript code:
    <pre>
    window.location.href="&P33_URL_ITEM.";
    </pre>
    However, the problem is P33_URL_ITEM is not set the first time (or whenever the session is cleared), so that the button has to be clicked twice in order for the page to be redirected.
    Not-important question: Does anyone know how to fix it so that only 1 click is needed?
    Can't you set the P33_URL_ITEM page item in a on-load pl/sql process? It is difficult to give a precise answer unless I see what you are doing the page.
    Way 3:
    Use APEX Branch.
    Important question: Does anyone know how to make the branch open the URL in a new page?
    This thread might help:
    Open URL in new window when button pressed

  • HT201209 Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Trying to redeem a free download for a song from KLove. When I get into my acct & try to redeem it, it just keeps bringing up the "sign-in" box. When I click the button on KLove's webpage to redeem it takes me to that page but does the same thing

    Get the redeem code from the KLove page:
    http://www.klove.com/music/store.aspx
    ...and enter it into the Redeem Code box in the iTunes Store.
    You will have to sign in to your iTunes account.
    It worked fine here.  If that doesn't work for you, let us know what went wrong.

  • I requested a repair, but there was an error after clicking the button with my credit card info. I was still charged, but the form email I received the next day had incorrect info about my iPod Touch problem. How can I contact CS w/o paying $19?!

    My iPod Touch battery is not working. I requested a repair through the Apple Support. On the final page, when I clicked the button that puts the info through with your credit card number, the resulting page gave an error (I wish I'd have saved it!). Anyhow, I checked my credit card and it was charged, so I assumed the repair request went through. The next day I received a form email saying my problem was with "Sync with iTunes (Not iCloud) - Data Backup/Migration (not iCloud)" instead of the battery repair. It also says for iPod customers, to send your iPod to Apple - but I had requested the "iPod Coffin" to be mailed to me so I could send it back. Obviously there was an error between the request and what was received, so I'd like to ask Customer Service about it. However, I can't find a way to contact them. When I replied to that form email, I recieved an automated reply saying emails there were not read. Anything online asks me to pay $19 and I don't have the correct issues to request an exception. The closest store is over an hour away or I'd simply go there to ask. What can I do?! Any suggestions you have are much appreciated. Thank you!
    PS - The form email also says if I wait 10 days the repair request will be canceled. Does this mean my credit card will be refunded for the $85 battery replacement charge if it is canceled automatically?

    Thanks, but I've been on the phone with AppleCare US (where I am and live) and AppleCare UK. They continue bouncing me back and forth without helping resolve the problem.
    Perhaps someones knows how to further escalate the issue at Apple?

Maybe you are looking for

  • ADF Login problem

    Hi, I have implemented ADF Security along with a login bean and a home managed bean according to Frank Nimphius's article in the Oracle Magazine. Problems: 1. In design view the login link is visible, but not in the browser (Firefox vers. 19). 2. Onl

  • Quick Time Pro in Windows 7

    I have quick time pro 7 but use it in Windows not Mac.  I can't find a way to play a .wma file in quick time pro.  All I can see online is codec software to allow wma files to play in quick time if you have a mac.  This doesn't help if you are trying

  • Routine in Infopackage data selection doesnt give appropriate results...

    Hi Gurus, I need to pull data into PSA (BW 3.5) based on a certain selections in the Infopackage. Selection is based on specific values of Infoobject 0PLANT , however, as these values are multiple and do not fall in a specific range I have written a

  • ITunes says that my iPhone 4S is an iPhone 4

    Hi, I have a problem with my iPhone 4S, I make a clean restore to iOS 6.1.2 and now iTunes says that it´s and iPhone 4, I try to restore a few times more and it continues equal. I also try with other Macs and iTunes continue saying that it´s an iPhon

  • PDF to Flash - Page Flip

    Hello Folks, I am looking at the possiblity of DYNAMICALLY converting my PDF brochures to a Flash PAGE FLIP presenation on the web. I have many PDF brochures that are created customized for my customers. When then login to my site, I would like for t