And i tryed to set filter but it's eather do not work.
| import javax.servlet.*;
| import java.io.IOException;
| public class EncodingFilter implements Filter{
| public void destroy(){ }
|
Hello =))
I wondering where can i define default page charset and encoding ?
I tryed to set PhaseListener
| public class EncodingPhaseListener implements PhaseListener {
| /**
| *
| */
| private static final long serialVersionUID = - 5249591857614335618L;
| p
Hello, i found this in Seam Reference
anonymous wrote :
| Character encoding
| Sets the character encoding of submitted form data.
| This filter is not installed by default and requires an entry in
components.xml to enable it:
|
|
| ? encoding ? The encoding to use.
| ? override-
Hello =))
i'm new to seam and i made an application with seam-gen but
there is one problem.. when i'm trying to search some data that written in
other languages except english it never works. But i can read and insert this
data in database via an application.
Ohh.. i forgot that same search works
To set charset/encoding in JSP we can use
| <%@ page language="java" contentType="text/html; charset=utf-8"
| pageEncoding="utf-8"%>
|
so i'm wondering is there anything like this to use in facelets
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=404
Well, i guess the problem is that pages generated as facelets(xhtml)..
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047441#4047441
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047441
___
Hello..
i'm new to seam =)
i use Seam-gen to generate a simple Seam project.. But there is a problem..
When i do search in MySQL database it works fine with data written in english
but every time i do search some text written in my native language it's not
working. This data even shown correctly