I'm running into another problem. It seems that the converter specified in
pages.xml is used to convert from String to Object, but not from Object to
String. I don't suppose that's by design? The method I'm looking at is:
public Map<String, Object> getParameters(String viewId, Set<String> overridden)
| {
| Map<String, Object> parameters = new HashMap<String, Object>();
| for ( PageParameter pageParameter: getPage(viewId).pageParameters )
| {
| if ( !overridden.contains(pageParameter.name) )
| {
| Object value = pageParameter.valueBinding.getValue();
| if (value!=null)
| {
| parameters.put(pageParameter.name, value);
| }
| }
| }
| return parameters;
| }
Which seems to just retrieve the value from the page parameter value binding
without passing it through the converter at all.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983912#3983912
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983912
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user