Zoom
Kizspy.me
Class: PRJ301.W3
Figure 7: Update page.
Practical Paper
PRJ301 Examination 01 - 85 minutes
Table 4: Controls specification table of Update page.
Attribute
ID
Name
Person
Туре
Element ID
Input [Text]
Input [Text]
SelectBox
txtld
txtName
cbPersonName
Penalty
Date
Submit button
Input [Text]
Submit
Reset
Input [Number]
txtPenalty
txtDate
3/4
Back button
User can click on Back button to back management page.
binUpdate
btnReset
If id in parameter can't found. Show message "Can't found Traffic Law by {id}"
a.
b.
C.
Check validation:
i. Name, Date is not null
[5 point]
[5 point]
[5 point]
ii. Noone person can have the same name law at the same time. That mean "Person" and Name
are not duplicate.
[5 point]
iii. Date has must format: YYYY-MM-DD. If not, show "Date has must format" error [5 point]
d. If user click on Submit button, the system will update the Law's info in database. After that, the system
will be redirected to management page.
[10 point]
Rules:
•
Do not use Context Root in your project.
The exams are similar from 60% includings: interface, variable names, control names,... will get zero point.
The exam will get zero point, if it has any errors after opening project.
+ 100%
Close