views:

85

answers:

0

HI I'm using gui's datatable in grails, but when I try to run the code, I get this exception:

org.codehaus.groovy.runtime.InvokerInvocationException: groovy.lang.MissingMethodException: No signature of method: org.grails.grailsui.ResourcesTagLibService.stylesheetTag() is applicable for argument types: (java.lang.String, java.lang.String, groovy.util.ConfigObject) values: [fonts, /plugins/grails-ui-1.2-SNAPSHOT, [tags:[autoComplete:[styleSheetKeys:[fonts, container, autocomplete, grails-ui], javascriptKeys:[yahoo-dom-event, datasource, connection, autocomplete]], datePicker:[styleSheetKeys:[fonts, container, calendar, grails-ui, datepicker-with-time], javascriptKeys:[yahoo-dom-event, utilities, container, calendar, datepicker-with-time]], tabView:[styleSheetKeys:[fonts, tabview], javascriptKeys:[yahoo-dom-event, connection, element, tabview]], richEditor:[styleSheetKeys:[fonts, sam], javascriptKeys:[yahoo-dom-event, element, container, editor]], expandablePanel:[styleSheetKeys:[fonts, sam, container, accordion], javascriptKeys:[

My code is short and straightforward:

<gui:resources components="['dataTable']"/>

<div class="yui-skin-sam">

  <gui:dataTable controller="extranet" action="dataTableJSON" columnDefs="[
    [key:'userRealName', label:'Name', sortable: true, resizeable: true],
    [key:'dateCreated', label:'Created', sortable: true, resizeable: true]
  ]"
  sortedBy="name"
  draggableColumns="true"/>
</div>

(Actually the exception is thrown by solely adding the tag

<gui:resources components="['dataTable']"/> 

)

The plugin version is grails-ui(1.2-SNAPSHOT)

Any ideas? Thanks