Début de la validation pour l'ajout de conférence.
L'ajout des membres existant marche. Policy failures: Code warning - failed on resource ConferenceValidator.java. Reason: Class is a raw type. References to generic type Class<T> should be parameterized, line 10 - failed on resource validation. Reason: Class is a raw type. References to generic type Class<T> should be parameterized, line 10 - failed on resource AddConferenceController.java. Reason: HashSet is a raw type. References to generic type HashSet<E> should be parameterized, line 149 - failed on resource AddConferenceController.java. Reason: Iterator is a raw type. References to generic type Iterator<E> should be parameterized, line 108 - failed on resource AddConferenceController.java. Reason: Iterator is a raw type. References to generic type Iterator<E> should be parameterized, line 115 ... and more. Override reason: go
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
|
||||
<form:form commandName="formConference" name="monForm">
|
||||
|
||||
<fmt:message key="conference.title" /> <input type="text" name="title"/> <br/><br />
|
||||
<fmt:message key="conference.description" /> <textarea name="description"></textarea> <br/><br />
|
||||
<fmt:message key="conference.otherInformations" /> <textarea name="otherInformations"></textarea> <br/><br />
|
||||
<fmt:message key="conference.title" /> <form:input path="title"/> <form:errors path="title" /> <br/><br />
|
||||
<fmt:message key="conference.description" /> <form:textarea path="description" /> <form:errors path="description" /> <br/><br />
|
||||
<fmt:message key="conference.otherInformations" /> <form:textarea path="otherInformations" /> <br/><br />
|
||||
|
||||
<input type="submit" align="middle" name="_target1" value="Next" />
|
||||
|
||||
|
||||
@@ -12,12 +12,12 @@
|
||||
|
||||
<form:form commandName="formConference" name="monForm">
|
||||
|
||||
<fmt:message key="conference2.start" /><input onclick="ds_sh(this);" name="date" style="cursor: text" /><br /><br />
|
||||
<fmt:message key="conference2.end" /><input onclick="ds_sh(this);" name="date2" style="cursor: text" /><br /><br />
|
||||
<fmt:message key="conference2.start" /><form:input onclick="ds_sh(this);" path="dateStart" cssStyle="cursor: text" /> <form:errors path="dateStart" /><br /><br />
|
||||
<fmt:message key="conference2.end" /><form:input onclick="ds_sh(this);" path="dateEnd" cssStyle="cursor: text" /> <form:errors path="dateEnd" /><br /><br />
|
||||
<br />
|
||||
|
||||
<fmt:message key="conference2.article" /><input onclick="ds_sh(this);" name="date3" style="cursor: text" /><br /><br />
|
||||
<fmt:message key="conference2.evaluation" /><input onclick="ds_sh(this);" name="date4" style="cursor: text" /><br /><br />
|
||||
<fmt:message key="conference2.article" /><form:input onclick="ds_sh(this);" path="dateArticle" cssStyle="cursor: text" /> <form:errors path="dateArticle" /><br /><br />
|
||||
<fmt:message key="conference2.evaluation" /><form:input onclick="ds_sh(this);" path="dateEvaluation" cssStyle="cursor: text" /> <form:errors path="dateEvaluation" /><br /><br />
|
||||
|
||||
|
||||
<input type="submit" name="_target0" value="Back">
|
||||
|
||||
@@ -9,13 +9,17 @@
|
||||
|
||||
<form:form commandName="formConference" name="monForm">
|
||||
|
||||
<fieldset><legend>Information</legend> Page's numbers <input
|
||||
type="text"> File's type : <select>
|
||||
<option>PDF</option>
|
||||
<option>Tex/Latec</option>
|
||||
<option>Word</option>
|
||||
<form:errors path="*" />
|
||||
|
||||
</select></fieldset>
|
||||
<fieldset><legend>Information</legend>
|
||||
Page's numbers <form:input path="pageNumber" />
|
||||
File's type : <form:select path="fileType">
|
||||
<form:option value="" />
|
||||
<form:option value="PDF" />
|
||||
<form:option value="Tex/Latec" />
|
||||
<form:option value="Word" />
|
||||
|
||||
</form:select></fieldset>
|
||||
|
||||
<br />
|
||||
|
||||
@@ -23,7 +27,7 @@
|
||||
|
||||
<br />
|
||||
|
||||
Informations compl<70>mentaires : <textarea></textarea>
|
||||
Informations compl<70>mentaires : <form:textarea path="sendInfo" />
|
||||
|
||||
<br />
|
||||
<br />
|
||||
|
||||
@@ -22,7 +22,7 @@ var peopleCache = { };
|
||||
var viewed = -1;
|
||||
|
||||
function fillTable() {
|
||||
AddCriteriaJS.getUsers(function(people) {
|
||||
AddCriteriaJS.getUsersFiltered(function(people) {
|
||||
// Delete all the rows except for the "pattern" row
|
||||
dwr.util.removeAllRows("personbody", { filter:function(tr) {
|
||||
return (tr.id != "pattern");
|
||||
@@ -77,12 +77,22 @@ function deletePerson(eleid) {
|
||||
if (confirm("Are you sure you want to delete " + person.name + "?")) {
|
||||
dwr.engine.beginBatch();
|
||||
AddCriteriaJS.deletePerson(person);
|
||||
filterUser(null, dwr.util.getValue("myfilter"));
|
||||
fillTable();
|
||||
fillTable2();
|
||||
dwr.engine.endBatch();
|
||||
}
|
||||
}
|
||||
|
||||
Event.observe(window, 'load', function() {
|
||||
new Form.Element.Observer('myfilter', 1, filterUser)
|
||||
});
|
||||
|
||||
function filterUser(el, value) {
|
||||
AddCriteriaJS.fillUser(value);
|
||||
setTimeout("fillTable()", 500);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
@@ -92,11 +102,8 @@ function deletePerson(eleid) {
|
||||
|
||||
<form:form commandName="formConference" name="monForm">
|
||||
|
||||
Filter <input id="myfilter" type="text" />
|
||||
<table border="1">
|
||||
<tr align="right">
|
||||
<td></td>
|
||||
<td>Filter <input id="filter" type="text"/></td>
|
||||
</tr>
|
||||
<tbody id="personbody">
|
||||
<tr id="pattern" style="display: none;">
|
||||
<td><span id="tablePerson">Person</span></td>
|
||||
@@ -106,6 +113,9 @@ function deletePerson(eleid) {
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Add a new member <br />
|
||||
Mail: <input id="mail" type="text" />
|
||||
|
||||
|
||||
<br />
|
||||
@@ -123,7 +133,7 @@ function deletePerson(eleid) {
|
||||
<br />
|
||||
|
||||
<input type="submit" align="middle" name="_target3" value="Back">
|
||||
<input type="submit" align="middle" name="_finish" value="Next" />
|
||||
<input type="submit" align="middle" name="_finish" value="Finish" />
|
||||
|
||||
|
||||
</form:form>
|
||||
|
||||
Reference in New Issue
Block a user