Hello, I'm currently developping an application at work using for the first time Google Web Toolkit. For now, the application works this way : When it's launched, it makes an HTTPRequest (using the RequestBuilder and Request classes) to a PHP script which sends back data from a database formated in JSON in order to create a tree. Navigating in that tree, I can then click on a TreeItem which will open a new tab and display the contents of a form (which is also retrieved via an HTTPRequest). The forms are already existent files, in HTML (actually stripped of its <html>,<head> and <body> tags), and are included inside of a FormPanel which also contains the button (created via GWT) to send it.
So for now everything works fine, except I'm now being asked if we could now create the new forms with GWT too (more precisely, using GWT Designer). I've found that creating a form is pretty easy using that plugin, but I can't include it the way I've done it before because I was previously just including the forementionned HTML files which just contained <form></form> tags and the contents of the form, but now what I'd like to include is a form created using GWT, so making an HTTPRequest to the main HTML file generated via GWT doesn't work (actually the HTML.setHTML() method which I'm using after getting the response after the Request strips the <script> tags), and I'm clearly at loss of ideas to what I should do... Should I do this in an other way? Just drop creating the forms with GWT and just realising them normally with HTML? Or is there a way to get the contents of what I have created in another GWT app in this main app? It's actually a problem about the time it takes to do such forms and giving them a not-too-ugly look, but thinking about it maybe I should just try to see if I can't do it quickly with a WYSIWYG HTML editor. I'm pretty new at programming and using Google Web Toolkit so I don't even know if my approach is right or if I could do anything better, so I'm leaving this message here hoping for help. Thanks in advance! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
