hi all,<br><br>if you dont wanna change your java version (change it), you can replace isEmpty() for ".size() == 0"<br><br>Just a suggestion :)<br><br><div class="gmail_quote">2010/5/12 Achim Westermann <span dir="ltr"><<a href="mailto:Achim.Westermann@gmx.de">Achim.Westermann@gmx.de</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Tony,<br>
<br>
you need java 1.6 for this. Perhaps this should be changed to CmsStringUtil.isEmptyOrWhitespaceOnly(param...<br>
<br>
HTH,<br>
<br>
Achim<br>
<br>
<br>
-------- Original-Nachricht --------<br>
> Datum: Wed, 12 May 2010 17:18:48 +0200<br>
> Von: tony fauzzi <<a href="mailto:tony.fauzzi@gmail.com">tony.fauzzi@gmail.com</a>><br>
> An: <a href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</a><br>
> Betreff: [opencms-dev] formgenerator<br>
<div><div></div><div class="h5"><br>
> Dear MailingList,<br>
> I'm trying to build (with eclipse) a last version of formgenerator<br>
> classes.Code at line line1717 of CmsForm.java is:<br>
> if (parameterValues[0].isEmpty()) {<br>
> // the file upload field is empty, so take the<br>
> hidden field value<br>
> value.append(parameterValues[1]);<br>
> }<br>
> The compiler return an error:<br>
><br>
> " The method isEmpty() is undefined for the type String "<br>
><br>
> Can you help me?<br>
><br>
> Thanks a lot!<br>
<br>
</div></div><div><div></div><div class="h5">_______________________________________________<br>
This mail is sent to you from the opencms-dev mailing list<br>
To change your list options, or to unsubscribe from the list, please visit<br>
<a href="http://lists.opencms.org/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/mailman/listinfo/opencms-dev</a><br>
</div></div></blockquote></div><br>