3

I use Grails 2.4.4, Java8 and want to use the paginate tag like this:

<g:paginate total="${totalCount ?: 0}" />

My GGTS 3.6.3 underlines the tag and shows me that this is an unkown tag. In an older GGTS version with Grails 2.3.11 the tag works fine.

How do I get the paginate tag to work in grails 2.4.x?

user190117
  • 118
  • 5
Michael
  • 32,527
  • 49
  • 210
  • 370

1 Answers1

1

Does it work when you run the app? If so, I would just ignore the GGTS error. This IDE often generates bogus errors when developing Grails apps.

Dónal
  • 185,044
  • 174
  • 569
  • 824
  • No it does not run on run. – Michael Jan 14 '15 at 22:26
  • There is only a hint when you go with the mouse over the tag that says "Unknown tag (g:paginate)." The tag itself is underlined yellow. – Michael Jan 14 '15 at 22:59
  • 2
    Well you where right it worked but it shows still the hint that the tag is missing. I filed an issue at grails issue tracker. – Michael Jan 14 '15 at 23:32
  • 2
    @confile you should file that under the GGTS issue tracker, rather than the Grails issue tracker – Dónal Jan 14 '15 at 23:40