Please JIRA a blocker. Thanks
On Thu, Nov 5, 2009 at 9:02 AM, Hubert Chang <
huixiu@...> wrote:
>
> Domain example:
>
> class A {
> String a
> boolean ao
> Date bd
> String c
> boolean co
> Date dd
> boolean doo
> Date fd
> boolean eo
> String e
> }
>
> Generated show.gsp (error only):
>
> ................
> <td valign="top" class="value">${fieldValue(bean: aInstance, field:
> "doo")}</td>
> ................
> <td valign="top" class="value">${fieldValue(bean: aInstance, field:
> "fd")}</td>
> ................
> <td valign="top" class="value"><g:formatDate date="${aInstance?.id}"
> /></td>
>
>
> It is related to sort. I removed
> Collections.sort(props,
> comparator.constructors[0].newInstance([domainClass] as Object[]))
> from show.gsp template, the field type will be detected correctly.
>
> --
> View this message in context:
http://old.nabble.com/1.2-SNAPSHOT-show.gsp-template-error-tp26208610p26208610.html> Sent from the grails - dev mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
>
--
Graeme Rocher
Head of Grails Development
SpringSource - A Division of VMware
http://www.springsource.com---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email