Package org.ajax4jsf.tests

Examples of org.ajax4jsf.tests.MockPageContext


    dataTable = new HtmlDataTable();
    parentTag = new DataTableTag();
    parentTag.setBinding(application.getExpressionFactory()
        .createValueExpression(dataTable, UIComponent.class));
    parentTag.setPageContext(new MockPageContext());
    List<UIComponentClassicTagBase> list = new ArrayList<UIComponentClassicTagBase>();
    list.add(parentTag);
  }
View Full Code Here


    // index
    expr = getValueExpression("counter", el);
    tag.setIndex(expr);

    MockPageContext pageContext = new MockPageContext();
    tag.setPageContext(pageContext);

  }
View Full Code Here

  }
 
  private TagSupport setupTag(String beanName, Object bean, boolean ajaxOnly) {
    setupBean(beanName, bean);
   
    MockPageContext pageContext = new MockPageContext();
   
    KeepAliveTag tag = new KeepAliveTag();
    tag.setAjaxOnly(new MockValueExpression(ajaxOnly));
    tag.setPageContext(pageContext);
    tag.setBeanName(beanName);
View Full Code Here

    }

    private TagSupport setupTag(String beanName, Object bean, boolean ajaxOnly) {
        setupBean(beanName, bean);

        MockPageContext pageContext = new MockPageContext();
        KeepAliveTag tag = new KeepAliveTag();

        tag.setAjaxOnly(new MockValueExpression(ajaxOnly));
        tag.setPageContext(pageContext);
        tag.setBeanName(beanName);
View Full Code Here

TOP

Related Classes of org.ajax4jsf.tests.MockPageContext

Copyright © 2018 www.massapicom. 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.