-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701884
By: nobody
Hi all,
How to enable ZK to support DBCS? I tried to modify the hello.zul file and F5.
But I got such an error:
------------------
HTTP Status 500 -
--------------------------------------------------------------------------------
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
com.potix.lang.SystemException: org.xml.sax.SAXParseException: Invalid byte
1 of 1-byte UTF-8 sequence.
sun.reflect.GeneratedConstructorAccessor17.newInstance(Unknown Source)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructor
AccessorImpl.java:27)
java.lang.reflect.Constructor.newInstance(Constructor.java:494)
com.potix.lang.Classes.newInstance(Classes.java:81)
com.potix.lang.Exceptions.wrap(Exceptions.java:164)
com.potix.lang.SystemException$Aide.wrap(SystemException.java:49)
com.potix.util.resource.ResourceCache.get(ResourceCache.java:139)
com.potix.web.util.resource.ResourceCaches.get(ResourceCaches.java:123)
com.potix.zk.ui.http.Definitions.getPageDefinition(Definitions.java:56)
com.potix.zk.ui.http.DHtmlLayoutServlet.process(DHtmlLayoutServlet.java:300)
com.potix.zk.ui.http.DHtmlLayoutServlet.doGet(DHtmlLayoutServlet.java:282)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Any advice, pls?
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701887
By: nobody
I use the following code for the hello.zul file.
----------------------------
<?xml version="1.0" encoding="UTF-8"?>
<!--
hello.zul
{{IS_NOTE
$Id: hello.zul,v 1.1 2006/03/24 10:06:05 tomyeh Exp $
Purpose:
Description:
History:
Thu Mar 23 21:03:20 2006, Created by [email protected]
}}IS_NOTE
Copyright (C) 2006 Potix Corporation. All Rights Reserved.
{{IS_RIGHT
}}IS_RIGHT
-->
<window title="My First window" border="normal" width="200px">
Hello, Yes (DBCS text goes here)!
</window>
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3701983
By: nobody
I found the chapter 10 of Devloper Guide describes the solution. It works now!
Asked: 2006-04-25 08:15:31 +0800
Seen: 242 times
Last updated: Apr 25 '06