Examples of ContainerInstance


Examples of com.volantis.mcs.protocols.layouts.ContainerInstance

    }

    private void doMultipleSelectInput(XFSelectAttributes attributes) {

        DOMOutputBuffer dom;
        ContainerInstance entryContainerInstance;
        String name;

        // If the entry container instance is not set then return as there is
        // nothing else we can do.
        if ((entryContainerInstance =
View Full Code Here

Examples of com.volantis.mcs.protocols.layouts.ContainerInstance

     */
    public void doTextInput (XFTextInputAttributes attributes)
            throws ProtocolException {

        String value;
        ContainerInstance entryContainerInstance =
                attributes.getEntryContainerInstance ();

        // Write out the caption.
        writeCaption(attributes);

View Full Code Here

Examples of com.volantis.mcs.protocols.layouts.ContainerInstance

     */
    public void doUpload (XFUploadAttributes attributes)
            throws ProtocolException {

        String value;
        ContainerInstance entryContainerInstance =
                attributes.getEntryContainerInstance ();

        // Write out the caption.
        writeCaption(attributes);

View Full Code Here

Examples of com.volantis.mcs.protocols.layouts.ContainerInstance

     */
    public void doBooleanInput (XFBooleanAttributes attributes)
            throws ProtocolException {

        String value;
        ContainerInstance entryContainerInstance =
                attributes.getEntryContainerInstance();       

        // Write out the caption.
        writeCaption(attributes);

View Full Code Here

Examples of com.volantis.mcs.protocols.layouts.ContainerInstance

     * form field.
     */
    public void doSelectInput(XFSelectAttributes attributes)
            throws ProtocolException {

        ContainerInstance captionContainerInstance =
                attributes.getCaptionContainerInstance();
        ContainerInstance entryContainerInstance =
                attributes.getEntryContainerInstance();
        String caption = getPlainText(attributes.getCaption());

        DOMOutputBuffer captionContainerBuffer = null;
        DOMOutputBuffer entryContainerBuffer = null;
View Full Code Here

Examples of nextapp.echo2.webcontainer.ContainerInstance

     * @param rc the relevant <code>RenderContext</code>
     * @param update the update
     * @return true if any children have been relocated
     */
    private boolean hasRelocatedChildren(RenderContext rc, ServerComponentUpdate update) {
        ContainerInstance ci = rc.getContainerInstance();
        SplitPane splitPane = (SplitPane) update.getParent();
        RenderStateImpl previous = (RenderStateImpl) ci.getRenderState(splitPane);
        if (previous == null) {
            return false;
        }
        RenderStateImpl current = new RenderStateImpl(splitPane);
       
View Full Code Here

Examples of nextapp.echo2.webcontainer.ContainerInstance

     *
     * @param rc the relevant <code>RenderContext</code>
     * @param update the update
     */
    private void renderRemoveChildren(RenderContext rc, ServerComponentUpdate update) {
        ContainerInstance ci = rc.getContainerInstance();
        SplitPane splitPane = (SplitPane) update.getParent();
        RenderStateImpl previousRenderState = (RenderStateImpl) ci.getRenderState(splitPane);

        Component[] removedChildren = update.getRemovedChildren();
        for (int i = 0; i < removedChildren.length; i++) {
            String id = ContainerInstance.getElementId(removedChildren[i]);
           
View Full Code Here

Examples of nextapp.echo2.webcontainer.ContainerInstance

    /**
     * @see nextapp.echo2.webrender.Service#service(nextapp.echo2.webrender.Connection)
     */
    public void service(Connection conn)
    throws IOException {
        ContainerInstance containerInstance = (ContainerInstance) conn.getUserInstance();
        if (containerInstance == null) {
            serviceBadRequest(conn, "No container available.");
            return;
        }
        String imageId = conn.getRequest().getParameter(PARAMETER_IMAGE_UID);
        if (imageId == null) {
            serviceBadRequest(conn, "Image UID not specified.");
            return;
        }
        ImageReference imageReference = (ImageReference) containerInstance.getIdTable().getObject(imageId);
       
        if (imageReference == null) {
            serviceBadRequest(conn, "Image UID is not valid.");
            return;
        }
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.