Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Grails-FilterPane 2.0, Grails-FilterPane 2.0.1
-
Fix Version/s: Grails FilterPane 2.0.2
-
Labels:None
-
Patch attached:Yes
Description
grails.views.default.codec = "html" in grails-app/conf/Config.groovy is useful for having the ${} expressions in views automatically do html escaping.
but if you a wrap method-style tag calls into ${} having set that config you get double-html-escaped ouput which renders the date fields unuseable.
a working solution, for example, would be to replace
$
with
<% g.datePicker(ctrlAttrs) %>
in _dateControl.gsp
it should be <%= g.datePicker(ctrlAttrs) %>