The Popup dialog Page needs two times to return the selected value[10.1.3]

Hi All,
I have problem in an JSF Application that uses the EMP and DEPT tables .
the Application contains two pages
page 1 : a calling page uses EmpView as ADF Table .
page 2 : a popup List of Values (LOV) dialog page uses DeptView
These cause the popup dialog page to return to the calling page and to set the selected value into the Deptno attribute .
the calling page includes :deptno and dname columns as
<af:column headerText="#{bindings.EmpView1.labels.Deptno}">
<af:selectInputText value="#{row.Deptno}"
required="#{bindings.EmpView1.attrDefs.Deptno.mandatory}"
columns="#{bindings.EmpView1.attrHints.Deptno.displayWidth}"
action="dialog:ChooseDept1" id="deptnoField"
autoSubmit="true">
<f:convertNumber groupingUsed="false"
pattern="#{bindings.EmpView1.formats.Deptno}"/>
</af:selectInputText>
</af:column>
<af:column headerText="#{bindings.EmpView1.labels.Dname}">
<af:inputText value="#{row.Dname}" simple="true"
required="#{bindings.EmpView1.attrDefs.Dname.mandatory}"
columns="#{bindings.EmpView1.attrHints.Dname.displayWidth}"
partialTriggers="deptnoField" autoSubmit="true"/>
</af:column>
and popup dialog page includes : Submit Button to return selected value to calling page :-
<af:tableSelectOne text="Select and">
<af:commandButton text="Submit">
<af:returnActionListener value="#{row.Deptno}"/>
<af:setActionListener from="#{row.Deptno}"
to="#{bindings.Deptno.inputValue}"/>
</af:commandButton>
</af:tableSelectOne>
the problem is
I have to press ( two times ) the select button in the calling page to
return the selected value into the Dname attribute .
best regards,

Hi,
However, I am using the Jdeveloper 10.1.3.3, but still getting this error. I could not find any threads related to this problem and hence I wrote up here. Anyway I have also logged an SR #7179012.993 for the same with the testcase. I hope the issue will be resolved soon.
Thanks,
Neeraj

Similar Messages

  • I need to have two time zones on the same iCal appointment

    I work accross four time zones, two of which do not observe Daylight Saving Time (DST). This means that when I'm booking my flights on iCal, it would be usefull to have two time zones in the same iCal appointment (Outlook, for instance, allows this). What I currently do is to choose one of the time zones as the iCal appointment and then I "translate" the other time to the one I'm using on iCal.
    This is quite a challenge, though:
    if I'm taking a flight from Luanda (WAT = GMT+1, no DST) to London (GMT with DST) I would like to book it on iCal exactly like it shows on the ticket , 21:00 (WAT) to 06:00 (GMT).
    Using the "translated approach", from May to October, this means 21:00 (GMT) to 06:00 (GMT).
    Using the same approach, from November to April it means from 20:00 (GMT) to 06:00 (GMT).
    If I include Jo'burg (CAT = GMT+2, no DST) and Frankfurt (GMT+1 with DST), booking flights in your calendar becomes quite a challenge!
    Does anyone know if this feature is planned for any future versions of iCal?

    Hi,
    This is not possible in iCal. The nearest thing would be to create two events, one for take off and one for landing.
    Also, this is a user to user forum. By posting here you are not guaranteed someone from Apple will read it. If you'd like Apple to know about your suggestion I reccommend you send them feedback.
    Best wishes
    John M

  • Form reset on clicking 'OK' in the popup dialog.

    hi,
    Use case :
    Need to open a popup dialog on clicking the command button in the page.On clicking on 'OK' in the popup dialog,need to reset the form in the parent.
    i dont want to use a managed bean for the same. Need to achieve the use case by using Java script.
    In the below example need to reset the value in the input text.
    Code :
    <af:document id="d1">
    <af:form id="f1">
    <af:inputText label="Label 1" id="it2"/>
    <af:commandButton text="Click" id="cb1">
    <af:showPopupBehavior triggerType="action" popupId="dialog"/>
    <af:clientListener method="showPopup" type="action"/>
    </af:commandButton>
    <af:panelGroupLayout id="pgl1">
    <af:popup id="dialog" contentDelivery="lazyUncached" >
    <af:dialog title="test" rendered="true" type="ok" id="d2" resize="on" contentHeight="100" contentWidth="100" closeIconVisible="false" >
    <af:outputLabel id="it1" value="Hello World"/>
    </af:dialog>
    </af:popup>
    </af:panelGroupLayout>
    </af:form>
    <af:resource type="javascript">
    function showPopup(event)
    var source = event.getSource();
    var popupId = "dialog";
    var popup = AdfPage.PAGE.findComponentByAbsoluteId(popupId);
    if (!popup.isPopupVisible())
    var hints = {};
    hints[AdfRichPopup.HINT_LAUNCH_ID] = source.getClientId();
    hints[AdfRichPopup.HINT_ALIGN_ID] = source.getClientId();
    hints[AdfRichPopup.HINT_ALIGN] = AdfRichPopup.ALIGN_AFTER_START;
    popup.show(hints);
    </af:resource>
    </af:document>
    Thanks
    Prafull

    Sorry, I, for one, refuse to provide a hack solution - why do you insist on fighting the framework instead of using it the way it should be?
    Yes, I can understand - if there is a declarative way to do something, avoid writing code in a managed bean, that's fine.
    But using JavaScript instead of a managed bean - you are setting yourself up for a lot of pain.
    The proper, correct, standard, most common way to do this would be via a managed bean.
    The hackish, misguided, least appropriate, most prone to breaking way to do this would be via JavaScript.
    John

  • How to link the same horizontal page for two different vertical pages without duplicate them?

    Hey guys,
    Is there a way to link the same horizontal page on two different vertical pages without duplicate the horizontal page?
    I have a doublepage of a book splitted in two parts in different vertical pages but i want link the fullsized image in the horizontal page for both of them. Got that? hahaha
    Thank you all

    Confusing But interesing.
    I think it's possible. I have a idea. It will need one advanced trick.
    To explain it, I need test simply haha.

  • My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?

    My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?
    thanks

    for windows you should have an exe and a 7z file.  put both in the same directory and double click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Why the validator can't display the error message on the popup dialog?

    I have input text with a validator and a custom ok button and a cancel button on the popup dialog.When I click the ok button,the validator will validator the input value on the input text,but it just close the popup dialog without display the message firstly.The point is it does validate the value but doesn't display the message.Can anybody help?

    It seems if I use the button which is associated with the dialog the validator works well,but if I use the custom button the error message doesn't display. the environment is 11g.
    the code of the page is :
    <af:form>
    <af:popup id="copyPopupDialog" contentDelivery="lazyUncached">
    <af:dialog title="validator" closeIconVisible="false" type="none">
    <af:inputText id="copyReportsetCode" styleClass="" label="code"
    value="11"
    validator="#{reportSetManagedBean.validatCode}"></af:inputText>
    <f:facet name="buttonBar">
    <af:panelGroupLayout layout="horizontal" halign="right">
    <af:commandButton text="ok"/>
    <af:commandButton text="cancel" immediate="true"/>
    </af:panelGroupLayout>
    </f:facet>
    </af:dialog>
    </af:popup>
    <af:commandButton text="commandButton 1">
    <af:showPopupBehavior popupId="copyPopupDialog"/>
    </af:commandButton>
    </af:form>
    the code of the managedbean is:
    package david;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.validator.ValidatorException;
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    import java.util.regex.Pattern;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage;
    import javax.faces.application.FacesMessage.Severity;
    public class ReportSetManagedBean {
    public ReportSetManagedBean() {
    public void validatCode(FacesContext facesContext, UIComponent uIComponent,
    Object object) {
    FacesMessage msg = new FacesMessage("eror");
    throw new ValidatorException(msg);
    }

  • I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for comparability and the Welcome page opening every time I start the browser.

    Windows 7 64 bit
    I desperately would like to update Firefox to version 10 from version 9 but each time I try, I am stuck with FF10 checking addons for compatability and the Welcome page opening every time I start the browser. I continue to have to revert to version 9 to resolve this issue.

    Sorry to be a while getting back! Tried all of that with no sucess so this AM, bit the bullet and deleted the FF folder from programs and downloaded and installed FF 10.01. Still was plagued with the same problem. Went into the appdata folder and there were two sessionstore.js files. Deleted them both, restarted the browser and no compatibility check for add-ons was done at start up and the extra tab for Welcome to FF was no longer opening Everything seems to be working as it should and I did not loose any of my settings.. Thank you for trying to help and I hope my solution helps anyone else who might experience this in the future. Here's hoping the next update goes smoother!

  • In snow leopard, 2 fingers to the left on the mouse went back to the previous page. In Lion, it opens the dashboard. How can i make firefox go back to previous page with two fingers left on the mouse??

    In snow leopard, 2 fingers to the left on the mouse went back to the previous page. In Lion, it opens the dashboard. How can i make firefox go back to previous page with two fingers left on the mouse??

    Hi,
    I don't know of a preference, but have you used ⌘-T in iCal?
    Best wishes
    John M

  • Every time I launch the browser the popup blocker option is unchecked. Why does the pop up blocker keep getting unchecked every time browser is launched?

    Every time I launch the browser the popup blocker option is unchecked. Why does the pop up blocker keep getting unchecked every time browser is launched?

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Java Plug-in 1.6.0_05 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)

  • Why must I click the button two times to update the data?

    Dear All,
    I have written a simple vi about event case. I have found that I must to click the button two times to updata the data. I don't know why.
    And I can't use the stop button to stop the vi.
    Could you tell me the reason?
    Thank you very much.
    Attachments:
    event case.vi ‏42 KB

    Hi,
    1 : you have a "timeout case" but no timeout linked, so you lose the advantage of the event structure !
    2 : make a event for "stop" on value change
    3 : its normal, because le control terminals were out of the event struct, run it in high light mode you'll understand
    Remark : instead of having to clic a boolean to refresh the indicators, why don't you make a "value change event" directly on the control ?
    I modified your VI following step 1,2,3 above
    Hope this helps
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    event case.vi ‏17 KB

  • I am receiving updates everyday for creative cloud, always the same updates (sometimes even two time

    i am receiving updates everyday for creative cloud, always the same updates (sometimes even two times a day . Is there a way to stop that?

    Checked out that link and everything seems to be in order on this machine at this time.
    I only have CC installed on this one machine, not even my secondary machine like is permitted. it seems odd that I'm asked to re-accept the Licence Agreement as often as I am. If I had to guess, it's almost every week, if not multiple times some weeks, that all the software will decide I should have to view the licence agreement.
    Edit: I've never had any noticeable "errors" activating or anything like that. I just get asked to do it quite frequently.
    This activation screen isn't too annoying (it involves clicking one single button), but like I stated earlier, if I'm trying to launch the software by double-clicking on a PSD, AI, PPROJ, AEP, etc... that file will fail to open.
    I feel like that's probably not really a bug, but it is frustrating, since I did launch the application with the intent to edit that specific file I tried to open.
    Again, something that you guys may consider working on.
    Another annoyance is that: agreeing to the licence agreement is a per-application task, so if I see that Licence Agreement dialogue window by opening Photoshop (for example), I know that every other piece of software I have in the suite (Illustrator, Premiere, After Effects, Audition) will be showing me that screen on it's next launch. Probably deliberate for legal purposes that I can't just agree once for the whole suite, but heck, it would save me a lot of minor headaches if it was a unified agreement.

  • Technical question:  Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??

    Technical question:
    Is it possible to work on the same Lightroom catalog across two computers and have the catalog sync? If so, how??
    Here's a little more information on what I am trying to do.
    I have a desktop computer with 4tb worth of pictures that has Lightroom and Photoshop on it. I also have a laptop with Photoshop and Lightroom. I would like to be able to edit those same pictures with their current edits that are currently on my desktop on my laptop. If this can be done, I'm sure I need to be on the same wifi network for my laptop to be able to access my desktop's photo library. I am technically savvy enough to map a network drive, but how do I get my two Lightroom catalogs to sync when I make a change on one of my computers? Would i be working only on one catalog? Or two separate catalogs that would need to be manually synced to the other computer? Would it be beneficial to put my lightroom catalog on something like dropbox?
    I'd appreciate any information or tutorials if someone knows how to do this.

    I do this by having my LR catalog and photos on an external drive that I swap between the two computers.  I am on Windows and have the same drive letter assigned to the drive on both computers.
    Because the photos are on a portable drive I back up the portable drive to another hard-drive every night or after important work, because portable drives are susceptible to damage or loss.

  • Since july 2 I have Acrobat Pro (the paid version). But every time I start the program I get the screen with: this is a trial version. You have X days left, etc. I find that quite annoying.

    Since july 2 I have Acrobat Pro (the paid version). But every time I start the program I get the screen with: this is a trial version. You have X days left, etc. I find that quite annoying.

    This is not just annoying, it is wrong, because at the end of the trial it will stop completely. You must resolve it before then.
    So, did you do anything to license the trial version? It needs to be told that you have purchased, or it will stop working at the end of the trial.

  • I am having problems with my macbook pro and the dock.  About every fourth time I start the computer, the dock flashes on and off, then goes completely off and all I get is the spinning ball with brief moments of the cursor.  But the computer locks up.

    I am having problems with my macbook pro and the dock.  About every fourth time I start the computer, the dock flashes on and off, then goes completely off and all I get is the spinning ball with brief moments of the cursor.  But the computer locks up.

    Do you have Parallels installed by any chance?  There is a known problem that causes symptoms similar to this.  You do not need to actually be running Parallels at the time and nothing in ActivityMonitor would point to Parallels.  An update corrects the problem:
    http://kb.parallels.com/111541

  • I forgot my Apple ID password. and I tried to rest it but I don't get a reset email to change the password. What do I need to do to return the account. (I need the specified account because I bought apps with it.)

    I forgot my Apple ID password. and I tried to rest it but I don't get a reset email to change the password. What do I need to do to return the account. (I need the specified account because I bought apps with it.)

    The Best Alternatives for Security Questions and Rescue Mail
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contact Apple support.
        c. Rescue email address and how to reset Apple ID security questions.

Maybe you are looking for