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:…
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")
…
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)…
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:…
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…
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
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',
…
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…
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…
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: {…
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…
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…
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…
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…
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…