HI at all,
i have a strange behavior using SpringWF....i already developed some web application using SWF and Spring, and never before now i saw it.
Well, i've usually form, with some field...particularly one field contains a regular expression definition.
I fill it with following content: ".*אטלעש.*" or rather a reg exp that mathes any characters sequence that contains in the middle my specific string "אטלעש".
The problem i get is... when i submit the form to the server, the previous field is converted with some encoding different from my expected encoding, that is UTF-8.
I debugged SWF forest, stopping into
Code:
bindAndValidate(RequestContext context)
here I noticed that my filled form fields are mapped into requestParameterMap in the form [field_name -> value] and the value corresponding to reg exp field is ['regexp_object' -> 'ֳ*ֳ*ֳ*ֳ*'].
Is this correct ?
I debugged CharacterEncodingFilter class, stopping into
Code:
protected void doFilterInternal(....)
having the same result, field value converted into another encoding, i thing ISO8859 or something..

Note that, my jsp has UTF-8 econding set and my application contains a filter that transform all encoding in UTF-8.
For clarity follow some definition:
Code:
web.xml

.....
<filter>
    <filter-name>charsetFilter</filter-name>
    <filter-class>
      org.springframework.web.filter.CharacterEncodingFilter
    </filter-class>
    <init-param>
	<param-name>encoding</param-name>
	<param-value>UTF-8</param-value>
    </init-param>
</filter>
	
<filter-mapping>
    <filter-name>charsetFilter</filter-name>
    <url-pattern>/*</url-pattern>
</filter-mapping>

jsp header
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
.....
.....

web flow definition
<start-state idref="enter-sw-add-flow" />
	
<view-state id="enter-sw-add-flow" view="addSw">
	<render-actions>
		<action bean="addSWAction" method="setupForm" />
	</render-actions>
	<transition on="cancel" to="finish" />
	<transition on="save" to="aSW">
		<action bean="SWAction" method="bindAndValidate" />
	</transition>
</view-state>
......
......
Please help me, i'm in trouble...i dont know why of this behavior is the first time i get it, maybe could be a bug or my inesperience.

TnX in advance,
regards edcruise.