Author |
Message |
27/02/2009 15:48:59
|
kretzler
Power User
Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline
|
Hello,
I have problem with characters like ä, ö, ü, ... This characters are transformed into ä, ö, ü.
The same effect I saw in the enterprise client demo workplace. In the 'Field' area type for 'First Name' ä, ö, ü and click the button 'Check'.
Any ideas?
Thanks,
Ralph
|
|
|
28/02/2009 11:19:18
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5536
Offline
|
Yes, thanks... it's a bit strange. The normal JSF processing is passing back normal values in the wrong encoding. Now we explicitly tell the request that is coming into the server processing, that it is UTF-8 and it works...
Available with next update.
Thanks! Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
03/03/2009 10:53:24
|
kretzler
Power User
Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline
|
Hello,
thanks for your fast response and help.
I installed the update and tested the application but there is a strange problem now.
I am getting a NumberFormatException if a try to save a page with some fields. It doesnt matter if there are special signs on this page or not.
Code:
2009:03:03 10:42:40:538 | 12 | SEVERE |
.......... Stacktrace Info ..........
java.lang.NumberFormatException: For input string: "'LASTNAME'"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:447)
at java.lang.Integer.valueOf(Integer.java:553)
at org.eclnt.jsfserver.util.StackedValueBinding.setValue(StackedValueBinding.java:208)
at org.eclnt.jsfserver.util.StackedValueBinding.setValue(StackedValueBinding.java:173)
at org.eclnt.jsfserver.elements.BaseComponent$ValueBindingExec.execute(BaseComponent.java:58)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:611)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at org.eclnt.jsfserver.elements.BaseComponent.processUpdates(BaseComponent.java:615)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at javax.faces.component.UIForm.processUpdates(UIForm.java:196)
at javax.faces.component.UIComponentBase.processUpdates(UIComponentBase.java:935)
at javax.faces.component.UIViewRoot.processUpdates(UIViewRoot.java:363)
at com.sun.faces.lifecycle.UpdateModelValuesPhase.execute(UpdateModelValuesPhase.java:81)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.ThreadingFilter.doFilter(ThreadingFilter.java:173)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.eclnt.jsfserver.util.CompressionFilter.doFilter(CompressionFilter.java:33)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)
Then I set a breakpoint at Integer.class Method valueOf(String s). The value of the argument is 'fields['LASTNAME']' and the argument itself 'LASTNAME' as above.
I am using a hashmap to fill the fields. The code worked fine before the update.
Code:
bct = new HTFIELDComponentTag();
bct.setText("#{wp." + m_contentReplacePrefix + ".genedit.fields['" + field.getDBFieldName() + "'].fieldValue}");
bct.setMaxlength(field.getFieldLength());
bct.setStyle("#{wp." + m_contentReplacePrefix + ".genedit.styles['" + field.getDBFieldName() + "']}");
bct.setStyleClass(STYLE_ALL_FIELD);
Any ideas or do you need more information?
Thanks a lot,
Ralph
|
|
|
03/03/2009 18:24:52
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5536
Offline
|
Are you sure that the update has properly come through? This was an error which was fixed last week.
Sorry, if I double-check...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
04/03/2009 10:40:18
|
kretzler
Power User
Joined: 21/11/2007 13:00:57
Messages: 73
Location: Karlsruhe
Offline
|
When starting tomcat within the console I see this line ... 2009:03:04 10:39:57:009 | 10 | SEVERE | CaptainCasa Enterprise Client Version: 2_5_20090302_1
Is there something else I can check?
Ralph
|
|
|
|