[magnolia-dev] Custom Widgetset for Mgnl 5.5

"Christian Sprecher (via Magnolia Forums)" <forum-O8DnXSz/[email protected]> Tue, 5 Dec 2017 10:11:21 +0100
Newsgroups gmane.comp.cms.magnolia.devel
Message-ID <16005490.129.1512465080238.JavaMail.forum@fred>
AFAIK Magnolia 5=2E5 still relies on Vaadin 7=2E7=2C which again depends on=
 a GWT version that doesn=27t support Java 8 language level=2E

On the other hand it looks like even the widgetsets of Magnolia 5=2E5=2Ex h=
abe lambda expressions=2C e=2Eg=2E

=5Bcode=5D=20
addStateChangeHandler=28=22hasCloseButton=22=2C stateChangeEvent -=3E =7B=

            if =28getState=28=29=2EhasCloseButton=29 =7B
                view=2EshowCloseButton=28=29=3B
            =7D
        =7D=29=3B
=5B/code=5D

This is out from magnolia-ui-vaadin-common-widgets-=5Bb=5D5=2E5=2E6=5B/b=5D=
=2E

This gives me errors like

=5Bcode=5D
  Tracing compile failure path for type =27info=2Emagnolia=2Eui=2Evaadin=2E=
gwt=2Eclient=2Edialog=2Econnector=2EBaseDialogConnector=27
=5BINFO=5D       =5BERROR=5D Errors in =27jar=3Afile=3A/C=3A/Users/Christia=
n/=2Em2/repository/info/magnolia/ui/magnolia-ui-vaadin-common-widgets/5=2E5=
=2E6/magnolia-ui-vaadin-common-widgets-5=2E5=2E6=2Ejar!/info/magnolia/ui/va=
adin/gwt/client/dialog/connector/BaseDialogConnector=2Ejava=27
=5BINFO=5D          =5BERROR=5D Line 67=3A Lambda expressions are allowed o=
nly at source level 1=2E8 or above

=5B/code=5D

when using =5Bcode=5D =3CsourceLevel=3E1=2E7=3C/sourceLevel=3E=5B/code=5D f=
or the vaadin-maven-plugin

When setting =5Bcode=5D =3CsourceLevel=3E1=2E8=3C/sourceLevel=3E=5B/code=5D=
 there are exceptions like this=3A

=5Bcode=5D
=5BERROR=5D Source level must be one of =5Bauto=2C 1=2E6=2C 1=2E7=5D=2E
=5BERROR=5D Google Web Toolkit 7=2E7=2E0
=5BERROR=5D Compiler =5B-logLevel level=5D =5B-workDir dir=5D =5B-=5Bno=5Dc=
ompileReport=5D =5B-X=5Bno=5DcheckCasts=5D =5B-X=5Bno=5DclassMetadata=5D=20=
=5B-=5Bno=5DdraftCompile=5D =5B-=5Bno=5DcheckAssertions=5D =5B-X=5Bno=5Dclo=
sureCompiler=5D =5B-XfragmentCount numFragments=5D =5B-XfragmentMerge numFr=
agments=5D =5B-gen dir=5D =5B-=5Bno=5Dincr
ementalCompileWarnings=5D =5B-XjsInteropMode =5BNONE=2C JS=2C CLOSURE=5D=5D=
 =5B-missingDepsFile file=5D =5B-Xnamespace PACKAGE=2C NONE=5D =5B-optimize=
 level=5D =5B-=5Bno=5DoverlappingSourceWarnings=5D =5B-=5Bno=5DsaveSource=
=5D =5B-style style=5D =5B-=5Bno=5DfailOnError=5D =5B-X=5Bno=5DenforceStric=
tResources=5D =5B-=5Bno=5Dvalidate
Only=5D =5B-sourceLevel =5Bauto=2C 1=2E6=2C 1=2E7=5D=5D =5B-localWorkers co=
unt=5D =5B-=5Bno=5Dincremental=5D =5B-war dir=5D =5B-deploy dir=5D =5B-extr=
a dir=5D =5B-saveSourceOutput dir=5D =5B-XmethodNameDisplayMode NONE =7C ON=
LY=5FMETHOD=5FNAME =7C ABBREVIATED =7C FULL=5D module=5Bs=5D
=5B/code=5D

sourceLevel=3Dauto doesn=27t do the trick either

How can I create custom widgetsets for Mgnl 5=2E5=2Ex=3F

Thx

--=20
Context is everything=3A http=3A//forum=2Emagnolia-cms=2Ecom/forum/thread=
=2Ehtml=3FthreadId=3D84b0c566-c5e6-48ed-b29c-8b15e194a7bd


----------------------------------------------------------------
For list details=2C see=3A http=3A//www=2Emagnolia-cms=2Ecom/community/mail=
ing-lists=2Ehtml
Alternatively=2C use our forums=3A http=3A//forum=2Emagnolia-cms=2Ecom/
To unsubscribe=2C E-mail to=3A =3Cdev-list-unsubscribe=40magnolia-cms=2Ecom=
=3E
----------------------------------------------------------------