I tried setting the form enctype to avoid problems with charset conversions on form submits. I included the code below in one of the components in the form, but then a NPE occurs when the form is submitted.

How can the enctype be set?

Thanks for the help,
Joachim


   @Environmental
   private org.apache.tapestry.services.FormSupport formSupport;

   void beginRender()
   {
       System.out.println( "setting encodingtype" );
       formSupport.setEncodingType( "multipart/form-data" );
   }

--
Joachim Van der Auwera
PROGS bvba, progs.be


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

Reply via email to