[opencms-dev] formgenerator

Borja Fernandez Pillado borja.fpillado at gmail.com
Wed May 12 18:22:11 CEST 2010


 hi all,

if you dont wanna change your java version (change it), you can replace
isEmpty() for ".size() == 0"

Just a suggestion :)

2010/5/12 Achim Westermann <Achim.Westermann at gmx.de>

> Hi Tony,
>
> you need java 1.6 for this. Perhaps this should be changed to
> CmsStringUtil.isEmptyOrWhitespaceOnly(param...
>
> HTH,
>
> Achim
>
>
> -------- Original-Nachricht --------
> > Datum: Wed, 12 May 2010 17:18:48 +0200
> > Von: tony fauzzi <tony.fauzzi at gmail.com>
> > An: opencms-dev at opencms.org
> > Betreff: [opencms-dev] formgenerator
>
> > Dear MailingList,
> > I'm trying to build (with eclipse) a last version of formgenerator
> > classes.Code at line line1717 of CmsForm.java is:
> >  if (parameterValues[0].isEmpty()) {
> >                             // the file upload field is empty, so take
> the
> > hidden field value
> >                             value.append(parameterValues[1]);
> >                         }
> > The compiler return an error:
> >
> > " The method isEmpty() is undefined for the type String "
> >
> > Can you help me?
> >
> > Thanks a lot!
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20100512/b8c55985/attachment.htm>


More information about the opencms-dev mailing list