Interface WebComponent

    • Method Detail

      • preparePaint

        void preparePaint​(Request request)
        Called before the component is painted.
        Parameters:
        request - the request being responded to.
      • paint

        void paint​(RenderContext renderContext)
        Produce xml (or other) output.
        Parameters:
        renderContext - the RenderContext to send the output to.
      • getName

        String getName()
        Deprecated.
        no longer used. use getId() instead.
        Returns the name of this WebComponent. The name for a WebComponent should be unique across the WComponent tree (within a single http service).
        Returns:
        the name of the component.
      • getId

        String getId()
        Get a unique ID for this WebComponent. The ID is guaranteed to be unique across an entire HTML page. This method should be used to generate the HTML ID attributes.
        Returns:
        the id of the component.
      • serviceRequest

        void serviceRequest​(Request request)
        Transfer data from the incoming request to the context.
        Parameters:
        request - the request being serviced.