3 messages in org.codehaus.grails.userRe: [grails-user] RadioGroup TagLib R...
FromSent OnAttachments
David TrattnigMar 18, 2008 11:14 am 
Jeroen GordijnMar 19, 2008 3:06 pm 
David TrattnigMar 20, 2008 1:47 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [grails-user] RadioGroup TagLib RenderingActions
From:Jeroen Gordijn (jero@gmail.com)
Date:Mar 19, 2008 3:06:44 pm
List:org.codehaus.grails.user

Hi David,

you probably have set the codec default in your Config.groovy file. grails.views.default.codec="html"

change it to "none" and try again. Remember to escape output where necessary to prevent XSS.

Jeroen

David Trattnig wrote:

Hi Grails People,

first of all thank you for the great Framework! I love it!

And here's my first problem: It might be a stupid typo but when using the radioGroup tag the result gets escaped:

<g:radioGroup name="visibility" labels="['Public','Private']" values="[1,2]"

${it.label} ${it.radio}<br/> </g:radioGroup>

is rendered as:

Public &lt;input type=&quot;radio&quot; name=&quot;visibility&quot; value=&quot;1&quot; /&gt;<br/> Private &lt;input type=&quot;radio&quot; name=&quot;visibility&quot; value=&quot;2&quot; /&gt;<br/>

Thanks in Advance, David

-- View this message in context:
http://www.nabble.com/RadioGroup-TagLib-Rendering-tp16129303p16152039.html Sent from the grails - user mailing list archive at Nabble.com.

--------------------------------------------------------------------- To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email