Abdennour TOUMI
Abdennour TOUMI

Reputation: 93213

Grails rendering plugin (pdf ) does not render Checkbox input

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

Answers (1)

MKB
MKB

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

Related Questions