When form "id" attribute contains forbidden characters, generated JS function name is invalid. The JS specification allows only a-zA-Z0-9_ characters (verified with Rhino JS engine)
In template files "form.ftl" and "form-close.flt" all non-word characters must be replaced/removed e.g:
${parameters.id?replace('\\W', '_', 'r')}
This issue is related to
http://jira.opensymphony.com/browse/WW-1440.
Modified: mybrain\webwork\src\test\com\opensymphony\webwork\components\UIBeanTest.java
Sending content: mybrain\webwork\src\java\com\opensymphony\webwork\components\UIBean.java
Sending content: mybrain\webwork\src\test\com\opensymphony\webwork\components\UIBeanTest.java
Completed: At revision: 2973