This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in Dynamic webform creation ?

 
Nagarajan Thangapandi
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<div id="main">
<form action="" id="form_result">


<div onclick="display_fields(0)" id="nofields" style="display: none;" class="notification">
<h2>You have no fields yet!</h2>

Click the buttons on the right to add fields to your form.


</div>

<div class="buttons" id="div_button">

Save Form

</div>
</form>
<div id="debug_box"></div>
</div>

Hi,
I created WebForm using JQuery. the user can create own design using this page. After creating the form, User click "Save Form". the form(form_result) save as one JSp or HTML file.
How to save the Form as file. whether the Jquery function is available to save the form as file or we need to use Action class(Struts 2). How to pass the Whole form to action class to save a form as file. Can you please provide the solution.

Thanks
Nagarajan T.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button. (And disable HTML when posting HTML.)
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're just generating text, send it as a post parameter, just like any other form field.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic