TWiki
>
WebXEO Web
>
XeoPrimer
>
XeoPrimerCommonErrors
(2011-04-04,
NicolauGrosskopf
)
(raw view)
E
dit
A
ttach
Tags:
tag this topic
create new tag
,
view all tags
-- Main.PedroRio - 07 Mar 2011 ---+ XEO Common Errors Learning a new framework requires patience and is prone to some errors. This section is a compilation of "regular" errors/mistakes that you will probably experience when using XEO. ---+++ My Viewer does not load and displays an error message like: "Error loading class [ ... ] for the viewer [ ... ]" There are several situations that could cause this problem to occurs, check the following scenarios: * In the _xvw:viewer_ component representing the viewer, the beanClass property points to a non-existing Bean (check if the name matches your class) * You have custom code in the Bean's constructor that is throwing an exception (debug your code) * The class that you're trying to use for the bean is not in the project's <em>classpath </em>(check the _classpath_) ---+++ I'm trying to display a XUIMessage programmatically, but the message is never displayed. If you are trying to display a message using the XUIMessage class with something like the following: <pre>XUIRequestContext.getCurrentContext().addMessage("ID", new XUIMessage(XUIMessage.TYPE_ALERT, XUIMessage.SEVERITY_ERROR, "Error", "MyCustomError")); </pre> And the message is not being displayed, check if you're declaring the [[WebXEO.XvwErrorMessages][xvw:errorMessages]] component in the XML declaration of the viewer (this is not need in a viewer which contains the _xeo:formEdit_ component). You need to declare the _xvw:errorMessages_ component in your viewer in order to display these messages.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r4 - 2011-04-04
-
NicolauGrosskopf
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