On 03.07.2004 16:22, g[R]eK 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?

I only asked for reactions on the dev list at the moment. Will see what happens ...


Joerg

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



Reply via email to