Package com.volantis.mcs.protocols

Examples of com.volantis.mcs.protocols.DOMOutputBuffer.closeElement()


    public void close(OutputBuffer buffer, Menu menu)
            throws RendererException {

        DOMOutputBuffer dom = (DOMOutputBuffer) buffer;

        dom.closeElement(WMLConstants.BLOCH_ELEMENT);
    }

}

/*
 
View Full Code Here


                // if no url was given then use the current request url
                url = context.getRelativeRequestURL();
            }

            goElement.setAttribute("href", url);
            oneventBuffer.closeElement("onevent");

            DOMOutputBuffer timerBuffer = (DOMOutputBuffer)
                deviceLayoutContext.getOutputBuffer(
                    NativeMarkupAttributes.WML_CARD_TIMER, true);
            Element timerElement = timerBuffer.addElement("timer");
View Full Code Here

        // Add the true option.
        doOption(dom, attributes, "1", caption);

        // Close the select element.
        dom.closeElement(element);
    }

    /**
     * Add any theme stylistic attributes for an option element.
     *
 
View Full Code Here

                        captionContainerInstance =
                                attributes.getCaptionContainerInstance();
                    }
                    writeCaption(captionContainerInstance, attributes, caption);

                    dom.closeElement(optionElement);
                } else {
                    // Single selects handled already
                }

            }
View Full Code Here

        // Write out the menu text as the content of the link.
        OutputBuffer text = attributes.getLinkText();
        dom.addOutputBuffer((DOMOutputBuffer) text);

        // Close the anchor element.
        dom.closeElement(anchor);
       
        // Close the annotation element.
        dom.closeElement(annotator);
       
        // Add BR to force hardcoded vertical alignment.
View Full Code Here

        // Close the anchor element.
        dom.closeElement(anchor);
       
        // Close the annotation element.
        dom.closeElement(annotator);
       
        // Add BR to force hardcoded vertical alignment.
        // This is compatible with actual Openwave numeric shortcut rendering
        // which is always vertical.
        // NOTE: This means that the mariner-fragment-list-orientation style
View Full Code Here

        // Add the bottom fragment links.
        doBottomFragmentLinks(dom, attributes);
        context.clearFormFragmentResetState();

        dom.closeElement (VDXMLConstants.FORM_ELEMENT);
    }

    // javadoc inherited
    protected void openGrid(DOMOutputBuffer dom,
                            GridAttributes attributes) {
View Full Code Here

                      VDXMLConstants.TRUE_NUMERIC_VALUE);

        // Add any helpful prompt set for this node
        addPrompt(dom, attributes.getPrompt());

        dom.closeElement(element);
    }

    /**
     * Given a list of string values for an alias, generate suitable alias
     * markup in the dom provided using the value provided with those alias
View Full Code Here

        }

        // Add any helpful prompt set for this node
        addPrompt(dom, attributes.getPrompt());

        dom.closeElement(element);
    }

    /**
     * Add any caption value to the caption container.
     *
 
View Full Code Here

        renderTabStripFiller(mainBuffer);
        // Increase colspan for tab strip filler
        context.addColspan(1);

        // Close labels tr
        mainBuffer.closeElement("tr");

        // Create tr element for contents in main buffer               
        Element contentsTrElem = mainBuffer.openStyledElement("tr", contentsTrStyle);
       
        contentsTrElem.setAttribute("id", protocol.getMarinerPageContext()
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.