Examples of PageContextImpl


Examples of com.caucho.jsp.PageContextImpl

   */
  public int doEndTag()
    throws JspException
  {
    try {
      PageContextImpl pageContext = (PageContextImpl) this.pageContext;
     
      JspWriter out = pageContext.getOut();

      Object value = _valueExpr.evalObject(pageContext.getELContext());

      if (value == null) {
        if (_var != null)
          CoreSetTag.setValue(pageContext, _var, _scope, null);
     
        return EVAL_PAGE;
      }

      long time = 0;

      if (value instanceof Number)
        time = ((Number) value).longValue();
      else if (value instanceof Date)
        time = ((Date) value).getTime();
     
      DateFormat format = null;

      Locale locale = pageContext.getLocale();

      String type = null;

      ELContext env = pageContext.getELContext();

      if (_typeExpr != null)
        type = _typeExpr.evalString(env);

      int dateStyle = DateFormat.DEFAULT;
View Full Code Here

Examples of railo.runtime.PageContextImpl

   
    Class clazz = checkPrimaryTypes(className, null);
    if(clazz!=null) return clazz;
   
    if(cl==null){
      PageContextImpl pci = (PageContextImpl) ThreadLocalPageContext.get();
      if(pci!=null){
        try {
          cl=pci.getClassLoader();
        }
        catch (IOException e) {}
      }
      if(cl==null) {
        Config config = ThreadLocalPageContext.getConfig();
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.