Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
package org.example
import griffon.core.artifact.GriffonController
import griffon.inject.MVCMember
import griffon.metadata.ArtifactProviderFor
import griffon.transform.Threading
import javax.annotation.Nonnull
class HomeController {
@MVCMember @Nonnull
HomeModel model
void click() {
int count = model.clickCount.toInteger()
model.clickCount = String.valueOf(count + 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.