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
0
votes
1 answer

org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack: No such property: resourceResolver for class: griffon.swing.SwingApplet

Im having problem to run griffon applet in the browser when i package it to applet. this error was occurred when browser try to execute my applet:- org.codehaus.groovy.runtime.metaclass.MissingPropertyExceptionNoStack: No such property:…
cipon
  • 11
  • 1
  • 2
0
votes
1 answer

How to add auto generated id on textField in Griffon?

I have tried a code about auto generating id. I want to try it on JTextField, but I don't know where i should put it. Here is my code: --PembelianController.groovy-- String generateID() { String date = DateTime.now().toString("yyyyMMdd") …
hendrakmg
  • 37
  • 7
0
votes
2 answers

How do I encrypt a password in Griffon?

I tried to encrypt a password in Griffon, but I don't know how to do that. Usually I'd use md5 in another language, but what in griffon? Here is a bit of my code: if (sql.firstRow("SELECT userID FROM tbluser WHERE userID = ${model.userID}") != null)…
hendrakmg
  • 37
  • 7
0
votes
0 answers

Griffon: Error when running report with JasperReports

I tried to run this code but it give me error like this: 2013-03-26 22:45:55,546 [pool-2-thread-1] ERROR griffon.util.GriffonExceptionHandler - Uncaught Exception org.codehaus.groovy.runtime.InvokerInvocationException:…
hendrakmg
  • 37
  • 7
0
votes
1 answer

Griffon: Error when execute code for JInternalFrame

I just searching in google recently and want to try this code below to work in Griffon 1.2.0 but when i run it it give me error like this: 2013-03-23 12:13:01,877 [main] DEBUG griffon.plugins.i18n.I18nEnhancer - Enhancing…
hendrakmg
  • 37
  • 7
0
votes
1 answer

Griffon & JPA : environment configuration in persistence.xml

Using Griffon 1.2 and JPA is there any way to configure the persistence.xml with environmental properties - so I can have a different jdbc.url for dev/test/prod ? i.e. conf/metainf/persistence.xml
prule
  • 2,536
  • 31
  • 32
0
votes
1 answer

Griffon 1.2 - mail plugin does not look at mailhost param

I installed Griffon 1.2 and the mail plugin. griffon install-plugin mail I created a test: sendMail(mailhost: '192.168.0.19', to: 'me@home.com', from: 'me@home.com', subject: 'Test Mail', …
A.W.
  • 2,858
  • 10
  • 57
  • 90
0
votes
2 answers

Why there is an "IllegalStateException: Attempt to mutate in notification" exception when using mutual binding with converter?

Maybe I've missed something in understanding Griffon's converter & reverseConverter. What is wrong and how should I fix this? Thanks to @tim_yates for the edit, but I find out that I also got the same error not only in Griffon but also in plain…
jocki
  • 1,728
  • 16
  • 26
0
votes
1 answer

Binding a textfield to a number with Griffon and JavaFX

I'm using Griffon 1.2.0 and JavaFX, and I'd like to bind a textfield to a number. I thought I'd be able to do it simply by defining the model property as a Float, but it doesn't seem to like that, even if I define a converter. I looked into the…
prule
  • 2,536
  • 31
  • 32
0
votes
1 answer

Updating Griffon JavaFX combo boxes

I'm trying to update the content of a combo box (using Griffon 1.2.0, with the JavaFX plugin). My model: class MyModel { List monthList = FXCollections.observableList([new DateMidnight()]) def convertDate = [ fromString: {…
prule
  • 2,536
  • 31
  • 32
0
votes
1 answer

Griffon integration tests with jpa

I'm writing a griffon application with JavaFX and the JPA plugin. I have a service I'd like to test - this service makes use of the JPA plugin (withJpa {...}) and it's this database access that I want to test. So, I want to write this test so it…
prule
  • 2,536
  • 31
  • 32
0
votes
1 answer

Trying to display value of selected checkbox in griffon

in my griffon app, I can choose the check boxes, but my JOptionPane window shows blanks for the values when I hit submit. Any ideas as to what I may be doing wrong? Here is my model…
ironmantis7x
  • 807
  • 2
  • 23
  • 58
0
votes
1 answer

griffon: add a splitPane to my app

I need to add a splitPane textArea to my Griffon app. I cannot seem to find an example of the proper syntax and way to do this. Can anyone help me out?? Here is my view so…
ironmantis7x
  • 807
  • 2
  • 23
  • 58
0
votes
1 answer

groovy error: jars unsigned

I have the following error in my app ONLY when I try to run it as a webstart or applet in griffon: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. at…
ironmantis7x
  • 807
  • 2
  • 23
  • 58
0
votes
1 answer

It is possible to add another (chaining) invokeMethod to Groovy class?

I want to do AOP in Griffon's controller by using invokeMethod(), for example: add begin transaction advice to 'before' joint point and commit transaction advice to 'after' joint point in particular methods of all Griffon's controller. I haven't…
jocki
  • 1,728
  • 16
  • 26
1 2 3
9
10