|
Created an attachment (id=17549)
phaselistener to invoke a dialog, without clicking on a button/link A phaselistener is attached, which allows you to invoke the dialog stuff, without clicking on a commandbutton or a commandLink. You simply configure this listener inside of your faces-confg.xml and create a jsp, which contains jsf:forward Tag. For page attribute you are using the *special* mapping for this listener and the name of your dialog eg. page="initdialog/MyDialog.faces" This is similar to the remoting phaselistener
Don Brown made changes - 23/Apr/06 04:51 AM
Craig McClanahan made changes - 26/Apr/06 01:14 PM
Don Brown made changes - 03/May/06 01:05 AM
sean schofield made changes - 21/Jul/06 04:09 PM
The current shale-dialog code includes an alternative mechanism for programmatically starting a dialog, but it seems to meet the use case requirements that prompted this issue. Therefore, I'm declaring it as fixed.
Craig McClanahan made changes - 20/Oct/06 03:15 AM
Rahul Akolkar made changes - 23/Jan/07 04:40 PM
Jeff Turner made changes - 09/Aug/07 07:15 AM
Antonio Petrelli made changes - 08/Jan/09 08:56 AM
Antonio Petrelli made changes - 08/Jan/09 09:08 AM
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
http://www.mail-archive.com/dev@struts.apache.org/msg16942.html