TWiki
>
WebXEO Web
>
XeoPrimer
>
XeoPrimerCommonErrors
(revision 1) (raw view)
Edit
Attach
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 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 classpath (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 [[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.
Edit
|
Attach
|
P
rint version
|
H
istory
:
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r1 - 2011-03-07
-
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