Dojo

DWR 3 Javascript wildcard syntax not working


#1

There seems to be a bug in DWR 3.0.3 (haven’t checked previous versions).

I see that DWR-270 (https://directwebremoting.atlassian.net/browse/DWR-270?jql=text%20~%20"wildcard") added support for wildcard syntax in the “javascript” attribute of bean converter tags. This support seems to be incomplete, as it requires that the “match” attribute come before the “javascript” attribute, else the syntax does not work.

For example, in my current application this works:

<convert converter="bean" match="path.to.class.className" javascript="*"/>

and this works:

<convert converter="bean" javascript="className" match="path.to.class.className" />

but this results in a 404 error

<convert converter="bean" javascript="*" match="path.to.class.className" />

I tried to submit a bug report to the DWR JIRA as well as the DWR mailing list, but I can’t seem to figure out how to do either. DWR documentation for submitting bugs is just a series of circular links that never actually explains how to submit anything, as far as I can tell.