Bernie07 Posted August 4, 2022 Share Posted August 4, 2022 Hello, I'm using a UniUrlFrame in my form where I'm loading a PDF File which contains input fields. The user can fill the form with values. After that I want to save the changes. Is there a simple method where I can do this? Like Post or Save? If not, how can I get the changed PDF? Is there an example? Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 4, 2022 Share Posted August 4, 2022 Hello, 47 minutes ago, Bernie07 said: I'm using a UniUrlFrame in my form where I'm loading a PDF File which contains input fields. The user can fill the form with values. After that I want to save the changes. Is there a simple method where I can do this? Like Post or Save? If not, how can I get the changed PDF? Is there an example? So far, I have not seen such a solution on the client side. You need to look for solutions that work on the server side... Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 4, 2022 Author Share Posted August 4, 2022 Thanks for your answer. Is it possible with Ajax? I have no knowledge about ajax and java script. But it would help me, if I find an example. Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 4, 2022 Share Posted August 4, 2022 10 hours ago, Bernie07 said: Is it possible with Ajax?... Hello, Google it. It's more difficult. Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 5, 2022 Author Share Posted August 5, 2022 Hello, I've used google but I don't find an example. Only the statement, that it can be solved with ajax, but not how. Perhaps I don't uses the right search words. If I'm using : uniurlframe ajax send pdf to server, there are not much results. Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 9, 2022 Author Share Posted August 9, 2022 What is the object/class Ext.Panel.iframe. In https://docs.sencha.com/extjs/4.1.3/#!/api/Ext.chart.Chart I don't find this class. Where can I look, what methods and properties can be used with this class/object? Further the Events in ClientEvents/ExtEvents have no effect, they never fired. I tried the event Show and Close and some other events. Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 9, 2022 Share Posted August 9, 2022 8 minutes ago, Bernie07 said: What is the object/class Ext.Panel.iframe. In https://docs.sencha.com/extjs/4.1.3/#!/api/Ext.chart.Chart I don't find this class. Where can I look, what methods and properties can be used with this class/object? Hello, Can you please explain why are you asking about these classes? Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 9, 2022 Author Share Posted August 9, 2022 I'm learning Javascript in combining with unigui. I want understand how unigui works and how can I work with the Javascript Events. There are a lot of things, which can't solve on server side. For example I want learn, how can I get the PDF from UniUrlFrame and send it to the server back, after the user has filled out PDF Formular. There is no method in TUniUrlFrame like GetPDF. On the www I don't find any example about TUniUrlFrame and using ajax. So I have to - learn Javascript - learn Ajax Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 9, 2022 Share Posted August 9, 2022 34 minutes ago, Bernie07 said: So I have to - learn Javascript - learn Ajax Okay. These links for example: https://docs.sencha.com/extjs/7.4.0/ https://docs.sencha.com/extjs/7.4.0/classic/Ext.html 35 minutes ago, Bernie07 said: For example I want learn, how can I get the PDF from UniUrlFrame and send it to the server back, after the user has filled out PDF Formular. There is no method in TUniUrlFrame like GetPDF. But know that only javascript won't help here... Once again, google it. What PDF is, what difficulties there are in implementing the solution you are talking about. Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 9, 2022 Author Share Posted August 9, 2022 How I wrote, I've googled with different search words (since days). I don't find any website where I see an explanation, how to do it or see an example. For example unigui TUniUrlFrame PDF send to server unigui TUniUrlFrame get changed PDF and so on. The first problem is, how can I get the changed PDF on Client side? I have no idea and google has no answer for me. The last hope was, that the experts of unigui has a solution. I mean, other content of fields like uniDBEdit are also send back to the server and saved in the db. But how is the trick? I can't see it, what is unigui doing. Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 9, 2022 Share Posted August 9, 2022 13 minutes ago, Bernie07 said: How I wrote, I've googled with different search words (since days). I don't find any website where I see an explanation, how to do it or see an example. Ok sorry friend... Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 9, 2022 Author Share Posted August 9, 2022 Back to my question from today morning: What is the object/class Ext.Panel.iframe. In https://docs.sencha.com/extjs/4.1.3/#!/api/Ext.chart.Chart I don't find this class. Where can I look, what methods and properties can be used with this class/object? Further the Java Script Events in TUniUrlFrame ClientEvents/ExtEvents have no effect, they never fired. I tried the event Show and Close and some other events. Is this a bug? Best wishes Bernhard Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 10, 2022 Share Posted August 10, 2022 Do you have a simple form fields? Quote Link to comment Share on other sites More sharing options...
Bernie07 Posted August 10, 2022 Author Share Posted August 10, 2022 Yes, in the PDF (text Edit Field) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted August 10, 2022 Share Posted August 10, 2022 30 minutes ago, Bernie07 said: Yes, in the PDF (text Edit Field) If the form is simple and single, you can draw elements on the form using standard uniGUI components, and generate a pdf either on the client side or on the server side. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.