I have update from SVN, but it's stay errors :
Description Resource Path Location Type
edu.iastate.its.thinkspace.gwt.client.util.files.Upload could not be
resolved to a type Upload.java
SmartGwtSvnExtensions/src/main/java/com/smartgwt/extensions/client/
filemanager line 186 Java Problem
The method filename(String) is undefined for the type FileUtils
TestServiceImpl.java SmartGwtSvnExtensions/src/main/java/com/smartgwt/
extensions/server/servlets line 120 Java Problem
The method setMax(Integer) in the type LengthRangeValidator is not
applicable for the arguments (String) ResourceEditor.java
SmartGwtSvnExtensions/src/main/java/com/smartgwt/extensions/client/
resources line 69 Java Problem
The method setMin(Integer) in the type LengthRangeValidator is not
applicable for the arguments (String) ResourceEditor.java
SmartGwtSvnExtensions/src/main/java/com/smartgwt/extensions/client/
resources line 68 Java Problem
Some error including JS has removed, like in HTMLEditor, but for
Upload file :
edu.iastate.its.thinkspace.gwt.client.util.files.Upload could not be
resolved to a type
It's seems normal while you have only change
/trunk/src/main/java/com/smartgwt/extensions/client/htmleditor/
HTMLEditor.j ava
and not
/trunk/src/main/java/com/smartgwt/extensions/client/filemanager/
Upload.java
To resolve, i'have change :
/src/main/java/com/smartgwt/extensions/client/filemanager/
Upload.java :
$wnd.uploadComplete = function (fileName) {
//
upload.@edu.iastate.its.thinkspace.gwt.client.util.files.Upload::uploadComplete
(Ljava/lang/String;)(fileName);
upload.@com.smartgwt.extensions.client.filemanager.Upload::uploadComplete
(Ljava/lang/String;)(fileName);
/src/main/java/com/smartgwt/extensions/client/resources/
ResourceEditor.java :
// valLen.setMin("1");
// valLen.setMax("100");
valLen.setMin(1);
valLen.setMax(100);
/src/main/java/com/smartgwt/extensions/server/servlets/
TestServiceImpl.java :
// args.put("fileName", FileUtils.filename(fileItem.getName
()));
args.put("fileName", fileItem.getName());
But, another question, how to send reponse, and doesn't we add class
(like edu.iastate.its.thinkspace.core.*) to run you servlet exemple ?
http://forums.smartclient.com/showthread.php?t=5477
On 10 juin, 14:02, "Boysen, Pete [ITACD]" <
pboy...@iastate.edu> wrote:
> My fault. I failed to change the Javascript package name to extensions. Give it a try now.
>
> Pete Boysen
> Information Technology Services
>
pboy...@iastate.edu
>
(515)294-6663
>
>
>
> -----Original Message-----
> From:
smartgwt-...@googlegroups.com on behalf of sjachym
> Sent: Tue 6/9/2009 6:54 AM
> To: SmartGWT Extensions
> Subject: Re: FileUploader missing file?
>
> Hy, i try FileUploaderExample, but i'have an error :
> "edu.iastate.its.thinkspace.gwt.client.util.files.Upload could not be
> resolved to a type" in Upload.java :
>
> private native void initComplete(Upload upload) /*-{
> $wnd.uploadComplete = function (fileName) {
>
> uplo...@edu.iastate.its.thinkspace.gwt.client.util.files.Upload::uploadComplete
> (Ljava/lang/String;)(fileName);
> };
> }-*/;
>
> On 25 mai, 22:43, Sanjiv Jivan <
sanjiv.ji...@gmail.com> wrote:
> > Anthony,Could you please look into this? It appears that you have overlooked
> > adding FileUploader.java to SVN and as a result SVN is not in a compilable
> > state. Can you either add this file, of if you're having other issues,
> > kindly remove the related file temporarily till you have things in a
> > consistent state.
>
> > Thanks,
> > Sanjiv
>
> > On Tue, May 19, 2009 at 6:50 PM, strawman <
prase...@gmail.com> wrote:
>
> > > PBoysen,
>
> > > Thanks for the fileuploader. However, a file seems missing
> > > "FileUploader.java" . Please clarify.
>
> > > Strawman
>
>
>
> winmail.dat
> 4KAfficherTélécharger