I'm trying to implement editable rows by the user, that then takes the entire row as a string and sends it off to my controller (in the MVC model). The process is documented at the datatables website. However, they implement several other resources, particularly the javascript section where fields are defined.
This is problematic, as I currently implement my table values via expression language ${ }
within my .jsp page in the following way:
<tbody>
<c:forEach var="displayObject" items="${displayFileContents}">
<tr>
<td><input type="checkbox" id="setSelection" name="input"></td>
<td>${displayObject.error}</td>
<td>${displayObject.platform}</td>
<td>${displayObject.metric_name }</td>
<td>${displayObject.consumption}</td>
<td>${displayObject.key}</td>
<td>${displayObject.metric_type}</td>
<td>${displayObject.dedicated_Shared}</td>
<td>${displayObject.catalog}</td>
<td>${displayObject.troux_ID}</td>
</tr>
</c:forEach>
</tbody>
I have multiple processes within the entire application that depend on the current implementation. If one is to implement editable rows, must you implement the values via js, or can one maintain the use of expression language? Can AJAX be implemented with expression language?
This question will probably be downvoted to high hell. With that said, I am extremely new to web development. I sincerely appreciate any help with this question.
Aucun commentaire:
Enregistrer un commentaire