Upload component

"jason ho" <[email protected]> Mon, 24 Mar 2003 08:55:16 +0000
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <[email protected]>
<html><div style='background-color:'><DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm new to tapertsy. Currently i am using Tapestry release alpha-2 and is having some problem with the upload component. It keep giving me an error message "Null Pointer exception". I had found out the error is due to the attribute "value" pass in to the method setFile is a null.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>public void setFile(IUploadFile value) {<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; file = value;<BR>&nbsp;&nbsp;&nbsp; }</DIV>
<DIV>Is it because i am using release alpha-2 instead of alpha-4? Thanks in advance.</DIV>
<DIV>&nbsp;</DIV>
<DIV>cheers,</DIV>
<DIV>Jason</DIV></div><br clear=all><hr>Help STOP SPAM with <a href="http://g.msn.com/8HMGEN/2731">the new MSN 8 </a> and get 2 months FREE*</html>


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf