TWiki
>
WebXEO Web
>
XeoPrimerXeoXwc
>
XeoXWCDefaultProperties
(2012-12-05,
AntonioCruz
)
(raw view)
E
dit
A
ttach
Tags:
tag this topic
create new tag
,
view all tags
---+ Web Components Default Properties This functionality of XEO Web Components gives the ability to the programmer to define the default behaviour of all XEO Web Components in a project basis. Every Web component in XEO has his own default properties defined in the Component Class. For example: <verbatim><xeo:editToolBar /></verbatim> If an editToolBar is used without defining any of its properties. There are already a number of properties that have certain default values, those are inherit automatically from the editToolBar class. Its also possible to define and change this properties on a viewer/component basis, for example: <pre><verbatim><xeo:editToolBar renderExportMenu="true" renderInformationMenu="true" renderListVersionBtn="true" /></verbatim> </pre> When this is done on a viewer the default values for the properties <em>renderExportMenu, renderInformationMenu </em>and <em>renderListVersionBtn </em>are only changed on this particular viewer and component instance. With Web Components Default Properties, XEO gives the ability to change the default value for any property of every component in a project. To be able to use this functionality in a project, a file called <em> *XWVDefaultProperties.properties* </em>needs to exist in the <strong style="font-style: italic;">src </strong>of the project. The format of this file is: _namespace_compname_property1=value_ <em>namespace_compname_property2=value<br /></em> For example if the default value of the property <em>renderListVersionBtn </em>on the _xeo:editToolBar_ component needs to be changed project wide, it can be done with: _xeo_editToolBar_renderListVersionBtn=true_ After that every time a <em>xeo:editToolBar </em>is used in a viewer, the value of the property defined in the file is used instead of the one the component Class has. -- Main.AntonioCruz - 05 Dec 2012
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2012-12-05
-
AntonioCruz
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