Package ariba.ui.table

Examples of ariba.ui.table.AWTDisplayGroup.dataSource()


        UIMeta.UIContext ctx = MetaContext.currentContext(requestContext.getCurrentComponent());
        AWTDisplayGroup displayGroup = (AWTDisplayGroup)ctx.values().get("displayGroup");
        Assert.that(displayGroup != null, "MetaSearch used without displayGroup in Meta Context");
        String className = (String)ctx.values().get(ObjectMeta.KeyClass);
        Class cls = (className != null) ? ClassUtil.classForName(className) : null;
        ObjectContextDataSource dataSource = (ObjectContextDataSource)displayGroup.dataSource();
        if (dataSource == null) {
            dataSource = new ObjectContextDataSource(cls);
            displayGroup.setDataSource(dataSource);
        }
        else {
View Full Code Here


    public static void updateQuerySpecification (AWRequestContext requestContext, QuerySpecification spec)
    {
        AWTDisplayGroup displayGroup = setupDisplayGroup(requestContext);

        ((ObjectContextDataSource)displayGroup.dataSource()).setQuerySpecification(spec);
        displayGroup.fetch();
    }
}
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.