Hi,
I want to have a dialog popup returned, but programmatically, when I
decide whether or not I want to show it, from my ordinary "action" call.
This is to show a info/warning dialog instead of navigating like normal.
I have a command button with an action and a useWindow parameter like
so:
<tr:commandButton text="Confirm" action="#{bean.Confirm}"
useWindow="true" ... />
Within my bean I have "dialog:AlreadyReserved" returned as the outcome.
... And in my navigation case is have:
<navigation-case>
<from-outcome>dialog:AlreadyReserved</from-outcome>
<to-view-id>/AlreadyReserved.jsp</to-view-id>
</navigation-case>
But the pop up notification does not happen. Can anyone point out what
im doing wrong?
If I change the returned outcome to another result, this works fine, but
it never seems to work with the "dialog:" prefix to get it to work with
the useWindow="true" attribute on the command button.
Can anyone point out anything?
Thanks,
Darren.
Darren McEntee
AMT-SYBEX (NI)
Edgewater Office Park
Edgewater Road
BELFAST
BT3 9JQ
Tel: 028 9078 1616
www.amt-sybex.com
P Please consider the environment before printing this email
_________________________________________________________
1. The information contained in this E-mail, including any files transmitted
with it, is confidential and may be legally privileged. This E-mail is intended
only for the personal attention of the stated addressee(s). Any access to this
E-mail, including any files transmitted with it, by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in this
E-mail or any files transmitted with it. Such unauthorised use may be unlawful.
If you have received this E-mail in error, please inform the sender immediately
and delete it and all copies from your system. You may not forward this E-mail
without the permission of the sender.
2. The views expressed in this E-mail are those of the author, and do not
necessarily represent the views of AMT-SYBEX. Internet communications are not
secure and AMT-SYBEX cannot, therefore, accept legal responsibility for the
contents of this message nor for any damage caused by viruses.
AMT-SYBEX Limited is a UK company, registration number GB03036807 at address
The Spirella Building, Bridge Road, Letchworth, SG6 4ET.
AMT-SYBEX (NI) Limited is a UK company, registration number NI024104 at address
Edgewater Office Park, Edgewater Rd, Belfast, BT3 9JQ.
For more information on the AMT-SYBEX Group visit http://www.amt-sybex.com
_________________________________________________________