Tags:
create new tag
, view all tags
-- PedroRio - 17 Feb 2011

XEO Web Components - Custom Component Creation

XEO comes bundles with a set of pre-defined componets to help you deal with various situations, but there will always be a situation where you need something so specific that you'll have to create your own custom component.

To create and user a XEO Web Component you need three parts (which will be explained in detail bellow):

  • An Implementation class
  • A Renderer Class
  • Register the component project

_

Implementation Class

To create a new Custom XEO Web Component you'll need to define an implementation class which willbe responsible for declaring the component properties and the component's logic. A custom component must extend the netgest.bo.xwc.framework.components.XUIComponentBase class (or any class that extends from that one, including XEO's own components).

When creating an implementation class you declare the set of properties of the components as class variables (of a particular type) and you can redefine some of the methods that are responsible for component logic (inherited from the XUIComponent Base Class). Read the following paragraphs in order to know how to declare component properties.

Component Properties

aaa

Component Behavior

aa

Renderer Class

The HTML Renderer

The Servlet

Registering the component in the project

Automatically done using XEO Studio, but can be edited manually

aaa

Using the Component in a Viewer

aa

Edit | Attach | Print version | History: r10 | r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r1 - 2011-02-17 - PedroRio
 

No permission to view TWiki.WebTopBar

This site is powered by the TWiki collaboration platform Powered by Perl

No permission to view TWiki.WebBottomBar