TWiki
>
WebXEO Web
>
XeoPrimer
>
XeoPrimerCustomWebComponent
(revision 1) (raw view)
Edit
Attach
Tags:
tag this topic
create new tag
,
view all tags
-- Main.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
|
P
rint version
|
H
istory
:
r10
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2011-02-17
-
PedroRio
WebXEO
XEO Primer
-
Instalation
-
Introduction
-
Concepts
-
Architecture
-
XEO Library
-
Deploy to EAR
-
PreferenceStore
XEO - Core
-
XEO Model Reference
-
Security
-
Java API
-
BOL
-
XEOQL (BOQL)
-
Administrating
-
Background Tasks
-
boConfig.xml
-
Web.xml
-
Known Issues
-
XEO Flags
XEO - XWC
- Web Components
- Java Samples
- Custom Components
- Component Plugins
- Internationalization
- Viewer Events
- Value Change Listeners
- XUIServlet
- XeoLocalization
- XvwTemplates
Create New Topic
WebXEO Web
No permission to view
TWiki.WebTopBar
No permission to view
TWiki.WebBottomBar