I implemnet MultipartDecoder and set in hivemind.xml with following:

 <implementation service-id="tapestry.multipart.MultipartDecoder">
        <create-instance class="com.test.MultipartDecoderImpl" 
model="threaded"/>
    </implementation>

In test.page inject the servcie:

  <inject property="multipartDecoder" 
object="service:tapestry.multipart.MultipartDecoder"/>

Then in page class test.java do following:

 public abstract MultipartDecoder getMultipartDecoder();


.......
((com.test.MultipartDecoderImpl) getMultipartDecoder()).setMaxSize(testSize);


However,I got ClassCastException with error 
message:$MultipartDecoder_10542d65842

Could anybody tell me how to solve the urgent problem?

Thanks,
tapestrycn




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

Reply via email to