Wizard in a dialog window does not show errormessages from the database

I have a main window and some wizards defined with JHeadstart. The wizards are started as dialogs to get them in a separate windows from the main window. This gives me a cancel and a save button for the dialog in addition to the ones for the wizard.
I have managed to take away the cancel and save button from the dialog using custom .vm files. The problem is that then pressing the FINISH button for the wizard it closes the dialog window without showing errormessages from the database (ie constraint messages) and these only appear in the log. If I use the save button from the dialog it gives the errormessages, but does not exit the dialog even if there are no errormessages.
Is this a bug or is there another way I should have done this ?
The code for starting the wizard.
<af:commandLink id="StartVeiRegMerknad"
text="#{nls['TABLE_TITLE_VEIREGMERKNAD']}"
action="dialog:StartVeiRegMerknad"
useWindow="true" partialSubmit="true"
launchListener="#{DialogLaunchHandler.handleDialogLaunch}"
windowWidth="600" windowHeight="600"
returnListener="#{backing_show.backFromPopup}"
immediate="true">
<f:actionListener type="oracle.jheadstart.controller.jsf.listener.DoRollbackActionListener"/>
<f:actionListener type="oracle.jheadstart.controller.jsf.listener.ResetBreadcrumbStackActionListener"/>
<af:resetActionListener/>
</af:commandLink>

Your finish button should call a custom managed bean method that executes the commit, checks whether there are errors, and only close the dialog of there are no errors.
To close the dialog in code, you can use this:
AdfFacesContext adf = AdfFacesContext.getCurrentInstance();
adf.returnFromDialog(null, null);
which is similar to using the <af:returnActionListener/> that you probably now used but should be removed from your finish button.
Steven Davelaar,
JHeadstart Team.

Similar Messages

  • ONLY ONE FIELD DOES NOT GET PREPOPULATED FROM THE DATABASE

    I would really, really appreciate if someone can comment or suggest something that would help with the resolution to the issue I am currently experiencing.
    Simple sample form that explains the issue can be accessed from the link below.
    How to test the form:
    Open the form.
    Click on the yellow button to add new Task.
    The problem is with Additional Product fields ( in blue). You can add as many of them as you want by clicking on the Red button with the +. Add some data and uploade in database. When you download it from the database, data will come back fine for all of them, except for the first one.
    Any ideas or help would be greatly appreciated.
    https://acrobat.com/#d=2vFWOlm56FmrC4owzpfHew 
    The code is behind the Red button with the +. Very  simple. Perhaps is the indexing issue with the database. I do not know enough about it, to be able to send any suggestion to the DB guy.
    According to the DB guy, data uploades without issue. It is the blank field when the form with data is downoloaded.

    It might be related to http://forum.java.sun.com/thread.jspa?threadID=583466&messageID=2988344

  • I am not able to import a audio CD the import window does not show up

    I am trying to import a music CD but the import window does not show up and the cd does not copy into itunes.

    Hello Kathryn,
    Thank you for the details of the issue you are experiencing when trying to import songs from a CD.  I recommend following the steps in the section titled "If you have trouble importing songs from an audio CD" in the article below:
    iTunes 11 for Windows: Import songs from CDs
    http://support.apple.com/kb/PH12486
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • My itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?

    my itunes in pc fails to secure link with itunes store it shows the process bar it automatically quits the process it also does not shows any on the screen. i am using windows xp service pack 3. what shoul i do?
    Diagnostics test
    Microsoft Windows XP Professional Service Pack 3 (Build 2600)
    ECS G31T-M7
    iTunes 10.5.2.11
    QuickTime 7.6.9
    FairPlay 1.13.37
    Apple Application Support 2.1.6
    iPod Updater Library 10.0d2
    CD Driver 2.2.0.1
    CD Driver DLL 2.1.1.1
    Apple Mobile Device 4.0.0.97
    Apple Mobile Device Driver 1.57.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.5.502
    Gracenote MusicID 1.9.5.115
    Gracenote Submit 1.9.5.143
    Gracenote DSP 1.9.5.45
    iTunes Serial Number 0012ABAC07F3CCB0
    Current user is an administrator.
    The current local date and time is 2011-12-31 14:06:21.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is not supported. (16005)
    Video Display Information
    Intel(R) G33/G31 Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:        {7599FAD1-1BB9-4AC6-80AF-404253DC519E}
    Description:            Atheros L2 Fast Ethernet 10/100 Base-T Controller - Packet Scheduler Miniport
    IP Address:             192.168.1.5
    Subnet Mask:          255.255.255.0
    Default Gateway:    192.168.1.1
    DHCP Enabled:      Yes
    DHCP Server:         192.168.1.1
    Lease Obtained:     Sat Dec 31 13:46:09 2011
    Lease Expires:       Tue Jan 03 13:46:09 2012
    DNS Servers:         192.168.1.1
    Active Connection: LAN Connection
    Connected:             Yes
    Online:                    Yes
    Using Modem:        No
    Using LAN:             Yes
    Using Proxy:           No
    SSL 3.0 Support:     Enabled
    TLS 1.0 Support:     Enabled
    Firewall Information
    Windows Firewall is on.
    iTunes is enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was successful.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was unsuccessful.
    The network connection timed out.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    Last successful iTunes Store access was 2011-12-31 14:00:02.
    **** Device Connectivity Tests ****
    iPodService 10.5.2.11 is currently running.
    iTunesHelper 10.5.2.11 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C8.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27C9.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CA.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB Universal Host Controller - 27CB.  Device is working properly.
    Intel(R) 82801G (ICH7 Family) USB2 Enhanced Host Controller - 27CC.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.
    Connected Device Information:
    rawkiss’s iPhone, iPhone 3G running firmware version 4.0
    Serial Number:       86931UEAY7H
    **** Device Sync Tests ****
    Sync tests completed successfully.

    I have found a fix after doing additional research through this forum. Tech Note #328730 addresses this problem and it works for Photoshop Album 3.2 even though it was written for release 1.0.
    Here is a link that will take you directly to the Tech Note:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=328730
    When using this fix the Tech Note indicates:
    "Imported image data and tags are lost when you re-create the My Catalog.psa file, so you need to reimport images and reapply any tags"
    however it did retain the captions (at least it did for me).

  • On windows 8.1 charms bar does not show up and the touch functionality is also degraded

    upgraded my elitepad 900 to windows 8.1 . after this the charms bar does not show up and the touch functionality is also degraded while playing games. i believe i need the latest synaptics gesture suite.  Cannot find it. Please help.

    I am sorry, but to get your issue more exposure I would suggest posting it in the commercial forums since this is a commercial product. You can do this HERE.
    HP ElitePad 900 G1 Tablet Support
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • Installed latest mavericks, now windows does not show up on startup. How do i fix this?

    I installed the latest version of mavericks and now windows does not show up on startup, but the partition is still there with no name. Can anyone tell me how to fix this?

    Hello, when I try to expand the OSX hard drive to the potential it will not let me so im assuming that the windows part is still there but hidden?

  • Want to upgrade to lastest version - help/about Firefox window does not show "upgrade" as in instructions.

    I want to upgrade to latest version but -Help/About Firefox- window does not show "upgrade" as in the instructions. I cannot find an "upgrade" function anywhere else. How do I upgrade? The version I have is -18.0.1- it came with this used computer.
    I believe this computer was hacked. Word started doing very strange things. We wiped the hard drive and reloaded everything as it was originally when I bought it. I am now getting hacked online.
    They originally got into one of my credit cards last fall. That is when this all started. They got my AOL email address. They also got the credit card current balance, minimum payment, due date and then even the payment amount. They got into my Barnes & Noble account and now checkout does not work. Now I believe they have gotten into my AOL account - one thing after another has started going wrong. I cannot change that AOL user id/email address since it is the master and I would lose about 15 years of "stuff".
    The folks that sold me this computer told me to use a free version of an antivirus. I am very unhappy with it. I never had ANY trouble when I used TrendMicro's expense products. Those folks also told me to use Firefox, since AOL uses Internet Explorer - which I already knew is like Swiss cheese.
    Now, I cannot seem to get an upgrade of Firefox. Is this also a hack?
    Please help any way you can. Thank you for your time.

    It's probably just the Firefox updater having some problems. go to www.getfirefox.com and download Firefox 20.0.1

  • Pop-out window does not show the video

    I am having a video chat, but the pop-out window does not show the video when the main window is minimized. I have the latest version installed. The same problem happened once a few months ago (with the latest version installed).I searched online for quite a few days, but none of the solutions worked. Then one day the problem went away (mysteriously).   

    Do you have this issue with all your contacts or only contacts using Skype on a Mac computer?

  • Windows does not show ipod as a removable drive

    my itunes recognises my ipod and works properly, but windows does not show ipod on "my computer". can i use it also as a hard drive? and how do i make windows see it as such?

    Hello Rea Meir,
    And welcome to Apple Discussions!
    Make sure the *Enable Disk Use* option is enabled for your iPod under it's Summary tab in iTunes. For more help and information, see this Apple support document.
    [Using your iPod as a storage drive|http://support.apple.com/kb/ht1478]
    B-rock

  • Site Window does not show any item

    Hi,
    My site window does not show any items/folders to modify after I open my site.  I was wondering if there is anyone who can point out what I did wrong.  Usually the site window shows all the contents as soon as the site is opened.  Please help.  Thank you.
    coskinas

    If you look inside the webcontent folder, in Finder view (or Explorer???? if you're using Windows) - anyway, are there in fact files in there?
    Try Site > Update > Refresh all.
    If that doesn't work, try making a new site from existing content, which should give you a new site file (call it something slightly different) sitting beside your old one. I'm guessing here, but it can't hurt.

  • "shared" section does not show up in the itunes window

    I'm trying to use Home Sharing on iTunes but the "shared" section does not show up on the left hand side of the screen where it should be, so now I cannot use home sharing.  Help?

    It doesn't show up until you go to the iTunes Advanced menu and select "Turn on Home Sharing".

  • I've a new account on iMac.  When composing an email the contact list does not show up on the bar.  WWhen I start keying in a name, it comes up with the address.  How do I engage the  contact list from the email?

    I've a new account on iMac.  When composing an email the contact list does not show up on the bar, which would allow me to select the persons I want to include on the distribution of the email.  When I start keying in a name in the email, it comes up with the person's address, which shows it is synced.  How do I engage the contact list from the email like I do on my old account (where a contact list icon shows up, along with the "attach" and other icons) ?

    With the New Message window open, go to the View menu and select "Customize Toolbar...".
    In the screen that opens, drag the item labelled "Address" into the Toolbar area of the New Message window, then click the "Done" button.
    That item should be then added to the Toolbar for the New Message window.
    Note that the main Mail window and the New Message window (as well as the separate message window if you open a message that way) use different toolbars - the settings/inclusions for one do not carry over to another.

  • HT1386 I am trying to sync my ipad3 to my itunes on a pc laptop, the ipad does not show up in the itunes left hand column. an ipod is already synced to the itunes. any suggestions welcome

    I am trying to sync my ipad3 to my itunes on a pc laptop, the ipad does not show up in the itunes left hand column. an ipod is already synced to the itunes. any suggestions welcome

    Hi lindaasw,
    Welcome to the Support Communities!
    Do you have the latest version of iTunes for Windows installed?  I would turn on the sidebar and the menu bar just to make sure you are seeing everything.  If the iPhone is still not recognized in iTunes, follow these troubleshooting steps:
    iTunes: Turning on iTunes menus in Windows 8 and 7
    http://support.apple.com/kb/HT5610
    iTunes 11: Frequently used features
    http://support.apple.com/kb/HT5649
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/TS1538
    Cheers,
      - Judy

  • I have just installed a new hard drive in my imac intel 20" (2006) and now the hard drive does not show up in the 'select destinations' folder of the install program.

    I have just installed a new hard drive in my imac intel 20" (2006) and upgraded the memory and now the hard drive does not show up in the 'select destinations' folder of the install program. I can see the hard drive in the disk utilities window however it wont let me do anything.
    It is a seagate 1TB SATA II drive however it is displaying it as a 7.3 TB.
    If anyone has any suggestions I would be happy to hear them.
    I have tried to erase and partition and get the same error message each time, 'Input/Output error'.
    I have tried starting the thing with the install disk which is Mac OS X (Tiger?) which came with the computer. No good.
    Anyone?

    Thats correct. I can see it in the list however when I attempt to erase it or partition it it's like it's not being found or recognised and it throws up the input/output error message. I am pretty sure that the sensor it attached correctly and it is a SATA drive. I can see all the infor regarding the drive when disk utility is open and it all looks good but I cant access it or do anything with it. It's taunting me!
    The install disk is in the drive and the install program runs right up to the point where you have to select the location for the install and there is just nothing in the box where you have to select the hard drive icon.
    I have my suspiscions about the drive but any help would be appreciated.

  • ITunes does not show any of the music we have in f:\iTunes library.

    Our PC running Vista froze up so we upgraded to Windows 7. iTunes does not show any of the music we have in f:\iTunes library. How do I access my music?

    Use the command File > Add Folder to Library, and point it to the folder(s) where the music is.

Maybe you are looking for

  • Question on design of new layer comps feature

    The new layer comp feature in Photoshop CC 2014 is great. It allows you to access the layer comps within smart objects from another file. One very important aspect seem to have gone missing though: Imagine you have 1 master document (e.g. website moc

  • How to display # of form inquires on website

    We have a form on a BC site in which users fill out to place a vote. We would like to display the number of "votes" real-time which is basically the number of form inquiries. Can someone point me in the right direction on how I would achive this?

  • Is the Ipad 2 compatable  with Nivo 9

    Hello I use Nvivo 9 software for research. I will travelling shortly and wonder is there any way I can use or link Nvivo 9 software on the Ipad 2.

  • .avi's in final cut pro

    I got some AVI files that I can't open in FCP. don't know the codec, but i can open them in the VLC media player. This doesn't do me much good as far as getting them edited. If anyone can help, then thanks in advance

  • Query for exceed planned quantity

    Hi,     Can some one help me to make a right query. First'Receipt from Production'  must not be added if theres a quantity exceed from the planned quantity.. I tried to make my own but still it doesn't work