I'm trying to setup a form using the map-backed form pattern as described here:
http://struts.apache.org/1.x/userGuide/building_controller.html#map_action_form_classes
While working with xpath expressions as key values, i noticed that struts will have a unexpected behaviour on ')' occurences in keys.
<html:text property="value(/d:layout/d:page/d:layout-context[position()=1])"/>
the key value passed to get/setValue() becomes:
/d:layout/d:page/d:layout-context[position(
Appearently all characters after the closing bracket in "position()" will be simply cut off.
Please optimize parsing to the full string value as there is no reason not to use ')' characters in keys.
http://issues.apache.org/jira/browse/BEANUTILS-109