Esempio n. 1
0
        public override void broadcast(FacesEvent e)
        {
            System.Diagnostics.Trace.WriteLine("broadcast");

            if (!(e is EventRaiserFacesEvent))
            {
                throw new NotSupportedException("FacesEvent of class " + e.GetType().Name + " not supported by Page");
            }

            IHttpHandler jsfHandler = EnterThread();
            bool         doUnload   = false;

            try {
                ProcessRaiseEvents();
                doUnload = (ProcessLoadComplete() && IsCrossPagePostBack);
            }
            catch (Exception ex) {
                doUnload = false;
                HandleException(ex);
            }
            finally {
                try {
                    if (doUnload)
                    {
                        getFacesContext().responseComplete();
                        ProcessUnload();
                    }
                }
                finally {
                    ExitThread(jsfHandler);
                }
            }
        }
Esempio n. 2
0
 public override void broadcast(FacesEvent __p1)
 {
     throw new Exception("The method or operation is not implemented.");
 }
Esempio n. 3
0
		public override void broadcast (FacesEvent __p1) {
			throw new Exception ("The method or operation is not implemented.");
		}
Esempio n. 4
0
		public override void broadcast (FacesEvent e) {
			System.Diagnostics.Trace.WriteLine ("broadcast");

			if (!(e is EventRaiserFacesEvent))
				throw new NotSupportedException ("FacesEvent of class " + e.GetType ().Name + " not supported by Page");

			IHttpHandler jsfHandler = EnterThread ();
			bool doUnload = false;
			try {
				ProcessRaiseEvents ();
				doUnload = (ProcessLoadComplete () && IsCrossPagePostBack);
			}
			catch (Exception ex) {
				doUnload = false;
				HandleException (ex);
			}
			finally {
				try {
					if (doUnload) {
						getFacesContext ().responseComplete ();
						ProcessUnload ();
					}
				}
				finally {
					ExitThread (jsfHandler);
				}
			}
		}