Permalink
Browse files

Use explicit id: property name

  • Loading branch information...
1 parent cddb10c commit 08995f48d7236254f687ee516c6bf62f08d8b575 @aalmiray aalmiray committed Feb 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/groovy/griffon/builder/flamingo/factory/FlexiSliderFactory.groovy
@@ -32,7 +32,7 @@ class FlexiSliderFactory extends AbstractFactory {
throws InstantiationException, IllegalAccessException {
builder.context.ranges = []
builder.context.controlPoints = []
- builder.context.flexiId = attributes[builder.getAt(SwingBuilder.DELEGATE_PROPERTY_OBJECT_ID) ?: SwingBuilder.DEFAULT_DELEGATE_PROPERTY_OBJECT_ID]
+ builder.context.flexiId = attributes.id
builder.context.constraints = attributes[LayoutFactory.DELEGATE_PROPERTY_CONSTRAINT] ?: attributes[LayoutFactory.DEFAULT_DELEGATE_PROPERTY_CONSTRAINT]
return [:]
}
@@ -132,4 +132,4 @@ class FlexiControlPointFactory extends AbstractFactory {
builder.parentContext.controlPoints << child
}
}
-}
+}

0 comments on commit 08995f4

Please sign in to comment.