Welcome to Pintexx Forum Sign in | Join | Faq

pinEdit

Started by Pratap at 11-11-2008 5:05 . Topic has 2 replies.

Print Search
Sort Posts:    
   11-11-2008, 5:05
Pratap is not online. Last active: 11.11.2008 14:11:41 Pratap

Top 500 Posts
Joined on 11-11-2008
Posts 2
Permission Denied While resubmitting the form.
Reply Quote
Hello Sir,

I have a form with file upload (to fileserver) functionality and pinedit for writing comments and a submit button. On click of "Submit" the selected files get uploaded on file server and the comments get stored in db.
Fileservice throws JS error in case of file oversize, wrong file extension etc. I catch this error in onException() and show alerts() for the same.

Everything works good in an Happy Go path but if File Server throws some error then after that I am never able to re-submit the form again.
It says onSubmitException: Permission Denied.
It gives error on the following line of code: //This function is called on submit of form
function editBeforeRead_synopsis(){
     document.getElementById("synopsis_html").value = document.getElementById("synopsis").contentWindow.editGetHtmlBody();
}



If I refresh the page and then submit, then it works fine.

I use this tag to show pinedit dialogue on the page: ( I have a String Array called synopsis in the Form Bean)
<pin:pinEdit defaultFont="Verdana" defaultFontSize="12" httpsSupport="true" name="synopsis" id="synopsis"
 positionWidth="850px" positionHeight="300px" ruler="false" documentView="false" editorUrl="<%=editorPath %>"  
 spellDictionaryPath="<%=path %>" toolbar='T0405645806070809102223242728293031323334;' returnMode="br" readMode="editGetHtmlBody" autofocus="false">
    <bean:write name="activityForm" property="synopsis_html"/>
 </pin:pinEdit>


Environment Details: Pinedit version 1.0/JSP/Struts/Windows XP SP2


   Report 
   11-11-2008, 5:15
Pratap is not online. Last active: 11.11.2008 14:11:41 Pratap

Top 500 Posts
Joined on 11-11-2008
Posts 2
Re: Permission Denied While resubmitting the form.
Reply Quote
I think the version I am using is 5.2.70425. I found this in pe.js.

But in manifest file of pinedit.jar they have written as 1.0. Dont know what is what Smile [:)]

Regards
Pratap

   Report 
   11-12-2008, 9:14
Pintexx Support is not online. Last active: 30.12.2008 07:11:54 Pintexx Support

Top 10 Posts
Joined on 08-30-2005
Posts 1.576
Re: Permission Denied While resubmitting the form.
Reply Quote
Hello,

please do not contact us twice.

I already have responded to your email.

Regards,
Hans-Peter


   Report 
Pintexx Forum » Developer Produ... » pinEdit » Permission Denied While resubmitting the form.