Package org.apache.beehive.netui.databinding.datagrid.api

Examples of org.apache.beehive.netui.databinding.datagrid.api.DataGridStateFactory


     * Using a {@link DataGridConfig} object, access the {@link DataGridState} and place
     * it in the {@link JspContext} under the attribute key set via {@link #setVar(String)}
     */
    public void doTag() {
        JspContext jspContext = getJspContext();
        DataGridStateFactory factory = DataGridStateFactory.getInstance(jspContext);
        assert factory != null;

        DataGridState state = null;
        if(_config != null)
            state = factory.getDataGridState(_name, _config);
        else
            state = factory.getDataGridState(_name);

        jspContext.setAttribute(_var, state);
    }
View Full Code Here


        _request = JspUtil.getRequest(_jspContext);

        _name = name;
        _dataGridConfig = dataGridConfig;

        DataGridStateFactory stateFactory = DataGridStateFactory.getInstance(_jspContext);
        _dataGridState = stateFactory.getDataGridState(_name, _dataGridConfig);
        _urlBuilder = stateFactory.getDataGridURLBuilder(_name, _dataGridConfig);
    }
View Full Code Here

        _request = JspUtil.getRequest(_jspContext);

        _name = name;
        _dataGridConfig = dataGridConfig;

        DataGridStateFactory stateFactory = DataGridStateFactory.getInstance(_jspContext);
        _dataGridState = stateFactory.getDataGridState(_name, _dataGridConfig);
        _urlBuilder = stateFactory.getDataGridURLBuilder(_name, _dataGridConfig);
    }
View Full Code Here

     * Using a {@link DataGridConfig} object, access the {@link DataGridState} and place
     * it in the {@link JspContext} under the attribute key set via {@link #setVar(String)}
     */
    public void doTag() {
        JspContext jspContext = getJspContext();
        DataGridStateFactory factory = DataGridStateFactory.getInstance(jspContext);
        assert factory != null;

        DataGridState state = null;
        if(_config != null)
            state = factory.getDataGridState(_name, _config);
        else
            state = factory.getDataGridState(_name);

        jspContext.setAttribute(_var, state);
    }
View Full Code Here

TOP

Related Classes of org.apache.beehive.netui.databinding.datagrid.api.DataGridStateFactory

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.