The example code working now after removing the following line of code:
public static final Format SIZE_FORMAT = NumberFormat.getNumberInstance();
I'm not exactly sure what's wrong with this line of code.
Thanks a lot.
Naz
Nazmul Bhuiyan wrote:
>
> I've removed that deprecated method from my
I've removed that deprecated method from my page.
I'm running this example page as part of my original project. And running
from inside Eclipse. All other pages working ok. That's how I normally test
any example before using into my real page.
In the example code there is no .page file. Is my .p
I've tested the example code on the page. It works with the exception
of file.isTruncated(), which has been deprecated, I presume.
So the rest of the code, ie the code you post below, does work.
It must be a configuration issue. Are you running this example page
in isolation, or is it part of a
.page:
The .page file was missed spelled but after correcting the file name I'm
getting the following error:
Could not load class UploadPage from WebappClassLoader delegate: false
repositories: /WEB-INF/classes/ --> Parent Classloader:
[EMAIL PROTECTED] : UploadPage
But com.fujitsu.e
What about your .page file?
Cheers,
Nick.
Nazmul Bhuiyan wrote:
If you click on the link I've provided you will see the code. I've copied the
code from there. This is from my Upload.html and formSubmit is as below:
private IUploadFile file;
private File serverFile;
public IUpload
Perhaps you've misplaced the .java and the .html files
and they can't find each other ? Are you sure your .java is really used?
Nazmul Bhuiyan wrote:
If you click on the link I've provided you will see the code. I've copied the
code from there. This is from my Upload.html and formSubmit is as be
If you click on the link I've provided you will see the code. I've copied the
code from there. This is from my Upload.html and formSubmit is as below:
private IUploadFile file;
private File serverFile;
public IUploadFile getFile() { return file; }
public void setFile(IUploadFile
Ok. Is this in a page or a component?
And your Java code? Do you have a formSubmit listener?
Cheers,
Nick.
Nazmul Bhuiyan wrote:
I've copied the code from
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html
File:
I've copied the code from
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html
File:
Thanks
Naz
Nick Westgate wrote:
>
> Please post the (relevant parts of) the code.
>
> Cheers,
> Nick.
>
>
> Nazm
Please post the (relevant parts of) the code.
Cheers,
Nick.
Nazmul Bhuiyan wrote:
I'm getting an error when trying the Upload component example in
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html.
Unable to resolve expression 'listeners.formSubmit' for
[EMAIL PROTECTED]
I'm getting an error when trying the Upload component example in
http://tapestry.apache.org/tapestry3/doc/ComponentReference/Upload.html.
Unable to resolve expression 'listeners.formSubmit' for
[EMAIL PROTECTED]
binding: ExpressionBinding[UploadPage listeners.formSubmit cachedValue=null]
I've
11 matches
Mail list logo