<. Hi Joerg! .>

Saturday, July 3, 2004, 1:59:34 PM, you wrote:

JH> This thread on users list was about implementing the setValue() method 
JH> on the upload widget. The use case is - as the subject says - editing 
JH> existing list of uploads. The complete thread can be found at 
JH> http://thread.gmane.org/gmane.text.xml.cocoon.user/38910. What has been 
JH> the reason for not implementing the method besides a missing use case? 
JH> No security reason came to my mind. What about implementing it the most 
JH> simple way:

JH> public void setValue(Object object) {
JH>      if (!(object instanceof Part)) {
JH>          throw new RuntimeException("not a part");
JH>      }
JH>      this.part = (Part) object;
JH> }

Big thanks for this! I was little confused why setValue is not implemented.
When it'll be on cvs?

-- 
Best regards
<. g[R]eK mailto:[EMAIL PROTECTED]                                    .>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to