BrunoLV / pizzaria-servlet

Sistema de cadastro de cardapio de pizzaria utilizando JQuery jTable, Servlet, Google Guice e JDBC.
0 stars 0 forks source link

jTable ERROR: Server must return the created Record object. #1

Open rhapsodyug opened 8 years ago

rhapsodyug commented 8 years ago
<meta charset="utf-8" />
<title>

</title>

<link href="~/Content/Site.css" rel="stylesheet" />
<link href="~/Content/themes/base/jquery-ui.css" rel="stylesheet" />

<script src="~/Scripts/modernizr-2.6.2.js"></script>

<script src="~/Scripts/jquery-1.9.0.js"></script>

<script src="~/Scripts/jquery-ui-1.9.2.min.js"></script>

<script src="~/Scripts/SyntaxHighlighter/shCore.js"></script>
<script src="~/Scripts/SyntaxHighlighter/shBrushJScript.js"></script>
<script src="~/Scripts/SyntaxHighlighter/shBrushXml.js"></script>
<script src="~/Scripts/SyntaxHighlighter/shBrushCSharp.js"></script>
<script src="~/Scripts/SyntaxHighlighter/shBrushSql.js"></script>

<link href="~/Scripts/jtable/themes/metro/blue/jtable.css" rel="stylesheet" />
<script src="~/Scripts/jtable/jquery.jtable.js"></script>

@model DocTracker.Models.UNRADocs

``` Capture Document ```
rhapsodyug commented 8 years ago

Record is save but jtable does not refresh

BrunoLV commented 8 years ago

Hello @rhapsodyug I don't understand your problem clearly. In the case of my application the controller (the servelet that the view invoke) returns the record created during the operation and the framework jTable do the necessary operations to accomplish the action and refresh the table. Where is your controller (or service...) i don't know what you are using in your application.