I looked at the problem. It doesn't come from the jsp but from the xml :
The jsp is opened in a dialog box with this url :
Code:
<actionUrl target="/service/zimlet/com_starxpert_savealfresco/saveAlfresco.jsp">
<param name="id">${obj.id}</param>
<param name="type">${obj.TYPE}</param>
<param name="servAl">${prop.servAl}</param>
<param name="user">${prop.user}</param>
<param name="password">${prop.password}</param>
<param name="pref">${prop.pref}</param>
<param name="conv">${prop.conv}</param>
<param name="from">${prop.from}</param>
<param name="to">${prop.to}</param>
<param name="cc">${prop.cc}</param>
<param name="bcc">${prop.bcc}</param>
<param name="date">${prop.date}</param>
<param name="subject">${prop.subject}</param>
</actionUrl> Infortunately, the params are not encoded when you use this method.
So URL unsafe characters like # and & will give you problems.
You should fill a bug in the bugzilla about it.
The solution for now is to use another method to open the dialog box.
You can do it by using a
js file to handle the drag'n'drop that would create the url, encode all the parameters, and open the jsp in a dialog box.
Then, modify the jsp file to decode the parameters you receive.
I'll add this correction for the next version of the zimlet.