Code Monkey home page Code Monkey logo

grails-easyui's Introduction

Hi there 👋

Leandro Gehlen GitHub stats

grails-easyui's People

Contributors

burtbeckwith avatar leandrogehlen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

grails-easyui's Issues

getting error Bootstrap file

when line is executing
JSON.registerObjectMarshaller(new EasyuiDomainClassMarshaller(true, grailsApplication))

getting error

| Error 2013-05-16 10:05:24,913 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: No such property: grailsApplication for class: BootStrap
Message: No such property: grailsApplication for class: BootStrap
Line | Method
->> 11 | doCall in BootStrap$_closure1


| 308 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 301 | executeForEnvironment . . . . . in ''
| 277 | executeForCurrentEnvironment in ''
| 303 | innerRun . . . . . . . . . . . . in java.util.concurrent.FutureTask$Sync
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . . . . . . . . . . . . . in java.lang.Thread
| Error 2013-05-16 10:05:24,983 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing Grails: No such property: grailsApplication for class: BootStrap
Message: No such property: grailsApplication for class: BootStrap
Line | Method
->> 11 | doCall in BootStrap$_closure1


| 308 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 301 | executeForEnvironment . . . . . in ''
| 277 | executeForCurrentEnvironment in ''
| 303 | innerRun . . . . . . . . . . . . in java.util.concurrent.FutureTask$Sync
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask . . . . . . . . . . . . in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . . . . . . . . . . . . . in java.lang.Thread
| Error 2013-05-16 10:05:25,033 [localhost-startStop-1] ERROR [localhost].[/person-demo] - Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
Message: Error executing bootstraps; nested exception is groovy.lang.MissingPropertyException: No such property: grailsApplication for class: BootStrap
Line | Method
->> 303 | innerRun in java.util.concurrent.FutureTask$Sync


| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread

Caused by MissingPropertyException: No such property: grailsApplication for class: BootStrap
->> 11 | doCall in BootStrap$_closure1


| 308 | evaluateEnvironmentSpecificBlock in grails.util.Environment
| 301 | executeForEnvironment in ''
| 277 | executeForCurrentEnvironment in ''
| 303 | innerRun in java.util.concurrent.FutureTask$Sync
| 138 | run in java.util.concurrent.FutureTask
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run in ''
^ 662 | run . . in java.lang.Thread
| Error 2013-05-16 10:05:25,058 [localhost-startStop-1] ERROR core.StandardContext - Error listenerStart
| Error 2013-05-16 10:05:25,105 [localhost-startStop-1] ERROR core.StandardContext - Context [/person-demo] startup failed due to previous errors
| Server running. Browse to http://localhost:8090/person-demo
| Application loaded in interactive mode. Type 'stop-app' to shutdown.
| Compiling 1 source files.
grails> stop-app
| Stopping Grails server
grails> clean
| Application cleaned.
grails> -Dserver.port=8090 run-app
| Compiling 282 source files

| Running Grails application

Configuring Spring Security Core ...
... finished configuring Spring Security Core
| Server running. Browse to http://localhost:8090/person-demo
| Application loaded in interactive mode. Type 'stop-app' to shutdown.
| Enter a script name to run. Use TAB for completion:

can't get easyui-generated views to work in grails 2.2.x app

how to reproduce:

  1. create-app (2.2.2)
  2. add easyui dep (and perfom install steps)
  3. create domain
  4. easyui-generate-all for domain
  5. run

result: buttons and list view don't work

expected: working easyui crud.

Please help to get this fantastic plugin to fly!

Second error getting

URI
/person-demo/book/list
Class
groovy.lang.MissingPropertyException
Message
No such property: Pais for class: com.aspire.BookController Possible solutions: class
Around line 26 of grails-app/controllers/com/aspire/BookController.groovy
23:
24: //TODO: Create filter with "params.field" and "params.value"
25:
26: def list = Pais.list(params)
27: def count = Pais.count()
28:
29: render([total: count, rows: list] as JSON)
Around line 195 of PageFragmentCachingFilter.java
192: if (CollectionUtils.isEmpty(cacheOperations)) {
193: log.debug("No cacheable annotation found for {}:{} {}",
194: new Object[] { request.getMethod(), request.getRequestURI(), getContext() });
195: chain.doFilter(request, response);
196: return;
197: }
198:
Around line 63 of AbstractFilter.java
60: try {
61: // NO_FILTER set for RequestDispatcher forwards to avoid double gzipping
62: if (filterNotDisabled(request)) {
63: doFilter(request, response, chain);
64: }
65: else {
66: chain.doFilter(req, res);
Trace
Line | Method
->> 26 | list in BookController.groovy


| 195 | doFilter in PageFragmentCachingFilter.java
| 63 | doFilter in AbstractFilter.java
| 886 | runTask in java.util.concurrent.ThreadPoolExecutor$Worker
| 908 | run . . in ''
^ 662 | run in java.lang.Thread

compile error

When i run compile,The following error,How can I solve?

D:\AppSoftware\JAVA\IDEASpaces\easyui\target\work\plugins\easyui-1.5\src\groovy
org\grails\plugins\easyui\scaffolding\EasyuiGrailsTemplateGenerator.groovy: 20:
Can't have an abstract method in a non-abstract class. The class 'org.grails.plu
gins.easyui.scaffolding.EasyuiGrailsTemplateGenerator' must be declared abstract
or the method 'void generateAsyncTest(org.codehaus.groovy.grails.commons.Grails
DomainClass, java.lang.String)' must be implemented.
@ line 20, column 1.
class EasyuiGrailsTemplateGenerator implements GrailsTemplateGenerator {
^

2 errors

use of depricated API

Hi leandrogehlen,
I get a note when compile my app in grails 2.4.0:
Note: C:\Users\Романов.grails\2.4.0\projects\analiz\plugins\easyui-1.6\src\java\org\grails\plugins\easyui\EasyuiDomainClassMarshaller.java uses or overrides a deprecated API.

Can you do something to prevent this note to appear?

This note also appear when comiling project in grails 2.3.4.
In grails 2.3.4 all working OK.

No Text Area Support in grails easyui

Thanks for this wonderful plugin, it basically solves lot of problem.

I found one issue that in this plugin you have not added the support for the text area? Any particular reason behind it, or I am missing some thing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.