TWiki
>
WebXEO Web
>
XeoPrimerXeoXwc
>
AttributeNumber
(revision 5) (raw view)
Edit
Attach
Tags:
tag this topic
create new tag
,
view all tags
-- Main.PedroRio - 22 Mar 2010 ---++ AttributeNumber Um atributo do tipo AttributeNumber é usado para valores numéricos de qualquer tipo, sendo que possui propriedades para forçar valores mínimos e máximos, entre outros. | *Propriedade* | *Descrição* | *Tipo* | *Valor por omissão* | *Valores possíveis* | | name | Nome do atributo; é o seu identificador que depois tem de ser usado na API do XEO para conseguir aceder ao atributo | String | - | Qualquer string começada por uma letra ou um underscore | | label | Um nome amigável para mostrar aos utilizadores | String | - | Qualquer texto | | descripton | Uma descrição do atributo e da sua função | String | - | Qualquer texto | | tooltip | O texto a ser apresentado como tooltip em Viewers que mostrem o atributo | String | - | Qualquer texto | | | | | | | Note: When you use the attributeNumber and store the value using the property valueExpression you create a getter and setter for the property value. These must accept and return a BigDecimal value, you also need to set the displayValue property (you can set it to nothing, like displayValue='') because otherwise it will trigger an error. If you use the xvw:attribute component and set the inputType property to "attributeNumber" you can skip setting the "displayValue" property.
Edit
|
Attach
|
P
rint version
|
H
istory
:
r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r5 - 2011-03-31
-
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