Giter Club home page Giter Club logo

grails-angular-scaffolding's Introduction

grails-angular-scaffolding's People

Contributors

jameskleeh avatar puneetbehl avatar sdelamo avatar thojo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

grails-angular-scaffolding's Issues

observable/of error

getting error
ERROR in sumo/client/src/app/bar/bar.service.ts (50,25): Property 'of' does not exist on type 'typeof Observable'.)

please add following to template
import 'rxjs/add/observable/of';

open the hidden source of ${template} in 3 files

grails-angular-scaffolding/src/main/templates/angular/views/
list.component.html
persist.component.html
show.component.html

-- above 3 files contains a variable ${template}.
-- even if templates are installed by command [ grails ngInstallTemplates ] then in src folder above 3 files contains the variable ${template}, actually this variable generate table,form elements and single object view.
-- at this moment after generating developer have to add css on those generated table,form elements and single object view.
-- my suggestion is that if those html generating codes are directly inserted instead of ${template} variable then it would be easy for developers to customize the view of any doamin.

Unsupported Embedded data in Domain?

i got a gradle error: myproject:ngGenerateAllCommand execution error: null
my environment: grails 3.3.8 java 8 gradle 4.6
my domain like:
class MyDomain {
static class MySubCls {
//some fields
}
//some fields
MySubCls mySubCls
static embedded = ['mySubCls']
}

no embedded data, no error >_<

associatedModule problem

Hi, I encounter 'associatedModule' property doesn't exist and give me compilation error when I try to generate any scaffolding for domain class. I use latest grails 3.2.7
at line 141 set model: associatedModel.asMap() << [associatedModule: false] ?

export service name in module

In module when you try to export the service with the latest integration of npm, angular, angular-cli you got an error. in browser. is not loading

Execution failed for task ':server:ngInstallTemplates'

I tried installing the templates but it failed with the error

:server:ngInstallTemplates                 
java.io.FileNotFoundException: jar:file:\C:\Users\myUser\.gradle\caches\modules-2\files-2.1\org.grails.plugins\angular-scaffolding\2.0.0\4935ee6767adc8cbfdf91dd6f51f6e28eb01068f\angular-scaffolding-2.0.0.jar!\angular\scaffolding\NgGenerateAllCommand.class (The fi
lename, directory name, or volume label syntax is incorrect)
:server:ngInstallTemplates FAILED          
              
FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':server:ngInstallTemplates'.

I checked and the jar file exists in that location and also contains the class file. Probably not an issue of the plugin but then again... I just followed the documentation's instructions :)

Error running ngGenerateAll with Grails 3.3.0

When I add this plugin to my Grails project and try to run 'ngGenerateAll', I get an error. It looks like this plugin has not been updated to the latest GORM version:

Command execution error: Cannot cast object 'grails.gorm.validation.PersistentEntityValidator@5f6a8efe' with class 'grails.gorm.validation.PersistentEntityValidator' to class 'org.grails.validation.Gr
ailsDomainClassValidator'

I am using Grails v3.3.0, plugin version 2.0.0.RC1.

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.