Examples of addPhaseListener()


Examples of javax.faces.component.UIViewRoot.addPhaseListener()

            // special handling for UIViewRoot since ComponentHandler.isNew()
            // will always return true
            if (parent instanceof UIViewRoot) {
                List<PhaseListener> listeners = root.getPhaseListeners();
                if (!listeners.contains(pl)) {
                    root.addPhaseListener(pl);
                }
            } else {
                root.addPhaseListener(pl);
            }
        }
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

                List<PhaseListener> listeners = root.getPhaseListeners();
                if (!listeners.contains(pl)) {
                    root.addPhaseListener(pl);
                }
            } else {
                root.addPhaseListener(pl);
            }
        }
    }

    private void checkType(String type) {
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

            // special handling for UIViewRoot since ComponentHandler.isNew()
            // will always return true
            if (parent instanceof UIViewRoot) {
                List<PhaseListener> listeners = root.getPhaseListeners();
                if (!listeners.contains(pl)) {
                    root.addPhaseListener(pl);
                }
            } else {
                root.addPhaseListener(pl);
            }
        }
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

                List<PhaseListener> listeners = root.getPhaseListeners();
                if (!listeners.contains(pl)) {
                    root.addPhaseListener(pl);
                }
            } else {
                root.addPhaseListener(pl);
            }
        }
    }

}
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

        b = this.binding.getValueExpression(ctx, PhaseListener.class);
      }

      PhaseListener pl = new LazyPhaseListener(this.listenerType, b);

      root.addPhaseListener(pl);
    }
  }
}
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

        catch (Exception ex)
        {
            throw new JspException(ex.getMessage(), ex);
        }

        root.addPhaseListener(listener);

        return SKIP_BODY;

    }
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

        catch (Exception ex)
        {
            throw new JspException(ex.getMessage(), ex);
        }

        root.addPhaseListener(listener);

        return SKIP_BODY;

    }
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

            listener = new BindingPhaseListener(binding, type);
        } catch(Exception ex) {
            throw new JspException(ex.getMessage(),ex);
        }

        root.addPhaseListener(listener);

        return SKIP_BODY;

    }
View Full Code Here

Examples of javax.faces.component.UIViewRoot.addPhaseListener()

        catch (Exception ex)
        {
            throw new JspException(ex.getMessage(), ex);
        }

        root.addPhaseListener(listener);

        return SKIP_BODY;

    }
View Full Code Here

Examples of javax.faces.lifecycle.Lifecycle.addPhaseListener()

        for (Iterator iterator = getDispenser().getLifecyclePhaseListeners(); iterator.hasNext();)
        {
            String listenerClassName = (String) iterator.next();
            try
            {
                lifecycle.addPhaseListener((PhaseListener) ClassUtils.newInstance(listenerClassName));
            }
            catch (ClassCastException e)
            {
                log.error("Class " + listenerClassName + " does not implement PhaseListener");
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.