OptionGroup with DateField

Hello,

is it possible to combine a OptionGroup with a DateField?
I want a OptionGroup with 3 Items:
1: Option 1
2: Option 2
3: PopupDateField

at the end i want to get the date from the datefield if it is selected.

Sure, use
FlexibleOptionGroup
to build your OptionGroup.

Thanks for your answer. I tried to build my OptionGroup with flexibleOptionGroup.
I get following error while trying to compile my widgetset.

compile-widgetset:
     [java]
 Loading inherited module 'org.vaadin.hene.flexibleoptiongroup.FlexibleOptionGroupWidgetset'
     [java]
    [ERROR]
 Unable to find 'org/vaadin/hene/flexibleoptiongroup/FlexibleOptionGroupWidgetset.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
     [java]
 [ERROR]
 Line 29: Unexpected exception while processing element 'inherits'
     [java]
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:262)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:495)
     [java]
     at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
     [java]
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]
     at java.lang.reflect.Method.invoke(Method.java:597)
     [java]
     at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
     [java]
     at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
     [java]
     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
     [java]
     at com.google.gwt.dev.Compiler.run(Compiler.java:185)
     [java]
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
     [java]
     at com.google.gwt.dev.Compiler.main(Compiler.java:166)
     [java]
 [ERROR]
 Failure while parsing XML
     [java]
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
     [java]
     at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58)
     [java]
     at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
     [java]
     at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
     [java]
     at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
     [java]
     at com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.emptyElement(XMLDTDValidator.java:788)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:1343)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2755)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
     [java]
     at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
     [java]
     at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
     [java]
     at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDeLoader.java:308)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModleDefLoader.java:151)
     [java]
     at com.google.gwt.dev.Compiler.run(Compiler.java:185)
     [java]
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
     [java]
     at com.google.gwt.dev.Compiler.main(Compiler.java:166)
     [java]
 [ERROR]
 Unexpected error while processing XML
     [java]
 com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
     [java]
     at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDeLoader.java:308)
     [java]
     at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
     [java]
     at com.google.gwt.dev.Compiler.run(Compiler.java:185)
     [java]
     at com.google.gwt.dev.Compiler$1.run(Compiler.java:159)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:87)
     [java]
     at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:81)
     [java]
     at com.google.gwt.dev.Compiler.main(Compiler.java:166)
BUILD FAILED