It's there in 1.2.1.GA
I don't understand what you're saying.
I'm already using seam 1.2.1 GA.
What I'm saying is that in the components.cml you have to add these lines "http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd" to use the we:character-encoding-filter and this attribute name doesn't exist in web-1.2.xsd.
Do I have to change the declaration of the xsd ?
It exists in the one I have (but as an element, not an attribute, which is correct)
pmuir@animal:~$ cat jboss-seam-1.2.1.GA/src/main/org/jboss/seam/web-1.2.xsd <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://jboss.com/products/seam/web" xmlns:web="http://jboss.com/products/seam/web" xmlns:components="http://jboss.com/products/seam/components" attributeFormDefault="unqualified"> <xs:import namespace="http://jboss.com/products/seam/components" schemaLocation="components-1.2.xsd"/> ... <xs:element name="character-encoding-filter"> <xs:complexType mixed="true"> <xs:attributeGroup ref="components:attlist.component"/> <xs:attributeGroup ref="web:attlist.filter"/> <xs:attribute name="encoding" type="xs:string"/> <xs:attribute name="override-client" type="xs:boolean"/> </xs:complexType> </xs:element> ... </xs:schema>
Ok me too I've got it in seam sources.
So how did you declare it in the components.xml ? You must not use the http one, right ?
Make sure you have the namespace available - add to the element
and then add configuration as needed -
<web:character-encoding-filter encoding="UTF-16" override-client="true" url-pattern="*.seam"/>
N.B. This is all in the ref. manual
oops sorry, bad copy and paste ;) Sorry, I'm no expert on i8ln. You can check whether the seam character encoding filter is running using your debugger...
I can't override the character encoding of the client and the fact that I can't get my well formed html params in GET action.
According to the reference http://docs.jboss.com/seam/1.2.1.GA/reference/en/html_single/ character encoding filter
Sets the character encoding of submitted form data.
I suppose that this means POST requests and explanes why this filter doesn't work for the POST requests, am I right?
If yes how is it possible to override the character encoding for GET requests?