I am writing an ntier website which contains a table of information. I am using jeditable to make the table editable.
The client wants some fields in the table readonly depending on whether the information they contain is before or after a particular date. Should the readonly logic reside in the business layer or the ui layer?
Regards Si
Both. Your UI should check those non-editable fields an then no provide controls to modify the fields and also, for security, your business layer should also disable that functionallity.