Package cn.com.elements.containstag.div

Examples of cn.com.elements.containstag.div.DivElementTag


    @Override
    public void parser(ContainHTMLElementTag parentElement) throws AppException {
        Grid[] grids = super.getParser().getGroup().grids();
        // 追加容器标签
        DivElementTag containerDiv = new DivElementTag(_TABLE_CONTAINER_DIV_ID, _TABLE_CONTAINER_DIV_CSS);
        for (Grid g : grids) {

            TableElementTag tableContainer = new TableElementTag(_TABLE_CONTAINER_ID, _TABLE_CONTAINER_CSS);
            // 解析表格事件
            // TD跨列的数量
            int columnCount = parserTableEvents(g, tableContainer);
            // 解析表格内容
            parserTableTbody(columnCount, tableContainer, g);
            containerDiv.addChildrenTag(tableContainer);
        }
        parentElement.addChildrenTag(containerDiv);
    }
View Full Code Here


                formElement.setId(form.id());
                formElement.setCssClass(form.cssClass());
                topElement = formElement;
            } else {

                DivElementTag divElement = new DivElementTag(_TOP_CONTAINER);
                topElement = divElement;
            }
            this.parserComponents(topElement);
            topElement.doTag(writer);
            return writer.getWritedString();
View Full Code Here

     * @param group
     */
    protected void parser(String templateStyle, ContainHTMLElementTag parentElement) throws AppException {
        Group group = parser.getGroup();
        if (group != null) {
            DivElementTag contentDiv = new DivElementTag(group.name(), templateStyle);

            ContextComponent context = new ContextComponent(contentDiv, parser, permission, new TabIndex());

            if (parser.getCurrentComponents() == null) {
                //条件标签
View Full Code Here

TOP

Related Classes of cn.com.elements.containstag.div.DivElementTag

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.