Reputation: 93213
I've just installed grails rendering plugin and would like to use it for generating PDF files. I've created simple template, but this plugin does not render check input elements. When i write the input as following :
<input type="checkbox" name="myradio">
I have this error message :
Class
org.xml.sax.SAXParseException
Message
The element type "input" must be terminated by the matching end-tag "</input>".
When i add end-tag as following :
<input type="checkbox" name="myradio"></input>
i don't get any check element in PDF . I don't mean , i want to have check in interact mode , but, i want to have an image that seems as checkBox
Upvotes: 1
Views: 1207
Reputation: 7619
Rendering plugin does not render image using img tag. You have to use rendering plugin's tags to render the image.
<rendering:inlinePng bytes="${imageBytes}" class="some-class" />
and many more.
Please have a look in the link.
Grails Rendering Plugin - Reference Documentation
Upvotes: 1