Questions tagged [griffon]

For questions relating to Griffon, client application platform that uses Groovy and Java.

Official page: http://griffon-framework.org/index.html

GitHub repository: https://github.com/griffon/griffon

149 questions
2
votes
1 answer

Griffon binding not working

I'm using Griffon 1.5 .. In a view I have a panel defined as .. panel(background: bind { model.background }, visible: bind { model.stillageComplete }, constraints: 'grow,wrap') { migLayout(layoutConstraints:'fill') …
user3914455
  • 257
  • 1
  • 10
2
votes
1 answer

What's the correct way of converting values?

I was trying to make my model strings to be always uppercase, so I tried to use converter and reverseConverter to do this job. Using the mutual option I got hitted by this topic. Witch leads to my question. Is this the right use case to converter?…
user800014
2
votes
2 answers

Griffon resource loading differences between run-app and test-app

I am fairly new to Griffon and have some experience with Grails. I have a problem loading a file from the resources directory. I am using Griffon version 1.4.0. When I run griffon run-app the following code (inside a Service) to get the location of…
msung
  • 3,562
  • 3
  • 19
  • 30
2
votes
1 answer

Have Griffon generate jnlp with resource tag with os attribute but no arch attribute

Griffon uses it's lib directory structure to generate resources tags. For example if my project has a structure of: lib | |--linux | foo.jar After running 'griffon package webstart' the jnlp file will have the following resource…
ethaler
  • 155
  • 1
  • 7
2
votes
1 answer

How can functions in a Griffon applet be called from JavaScript?

We have a project that is web-based, but needs to have significant access to the user's filesystem. HTML doesn't (yet) allow us enough access, and since we are primarily a Grails shop, having the file access code as an applet makes far more sense…
cdeszaq
  • 30,869
  • 25
  • 117
  • 173
2
votes
2 answers

Suitable frameworks for ERP like application

I want to create a production management system to be used by a small manufacturing firm. The system will allow to document different stages in manufacturing of equipment. The requirements are as follows: 1.Non browser based interface.Need something…
SanSolo
  • 2,267
  • 2
  • 24
  • 32
2
votes
1 answer

Maven: Clojure + Groovy (Griffon)

I have a project who's business logic is in Prolog (will be rewriting to Clojure) and I would like to make a gui in Griffon. These two should remain decoupled, separate modules. IntelliJ Idea can make an ant script for building such a project, but…
eMko
  • 1,147
  • 9
  • 22
2
votes
1 answer

Client-Server application using Griffon and Spring

I'm developing an client-server application. In this application, Model classes are supposed to be in Server side whereas Controller and Views will be in Client side. I'm trying out Griffon to build User Interfaces. As Griffon implements MVC…
TheKojuEffect
  • 20,103
  • 19
  • 89
  • 125
2
votes
2 answers

IntelliJ highlights as error a working code in Griffon

Below is a snippet from a working code taken from the Groovy in Action book. As you see below, IntelliJ sees it as error. Why? See picture below:
Askar
  • 5,784
  • 10
  • 53
  • 96
2
votes
1 answer

sharing domain and service classes between grails and griffon projects

I'm trying to figure out how to share domain and service classes between a Grails and Griffon projects. Since this at a 'bird's eye view'/planning stage, I'm wondering if creating a standalone pojo library project would be a good approach for this.…
vector
  • 7,334
  • 8
  • 52
  • 80
1
vote
1 answer

Griffon boolean assignment bug?

i have the following code in the model @Bindable boolean readOnly in the view checkBox(text: 'Read Only', constraints:'wrap',selected:bind(target: model, targetProperty:'readOnly')) in the controller new…
1
vote
2 answers

Griffon mvcGroupInit invocation

I'm learning Griffon framework and I have the following problem: mvcGroupInit isn't invoked when I call buildMVCGroup(...) - should I explicitly invoke it after this method call? (What about model and view injection then?) My app: in view ('main…
Xeon
  • 5,949
  • 5
  • 31
  • 52
1
vote
1 answer

Why can't I wrap withRest() with my own method and run a closure within it?

The HTTPBuilder plugin for Griffon is great and it simplifies my server calls quite well. The only problem, however, is that I don't want to have to keep repeating the same setup code all over the place. What I want to do is wrap a set of server…
cdeszaq
  • 30,869
  • 25
  • 117
  • 173
1
vote
2 answers

Unable to run-applet default Griffon app

With a new Griffon (v0.9.4) app, having nothing more done to it than to install plugins that will be needed for the project later, I am unable to griffon run-applet or run-webstart on the project. The error I get is JAR resources in JNLP file are…
cdeszaq
  • 30,869
  • 25
  • 117
  • 173
1
vote
1 answer

Maven publisher plugin with griffon

Using griffon 0.9.4, I installed maven-publisher plugin but I see no pom.xml generated. Furthermore, when launching griffon maven-install, I get the following error: No such property: config for class: MavenInstall at…
Alexandre Blanquart
  • 397
  • 1
  • 3
  • 13
1 2
3
9 10