[ROO-709] "Add"-Button should not be supressed, when list is empty Created: 16/Mar/10 Updated: 04/May/17 Resolved: 04/May/17
|Reporter:||Stefan Ocke||Assignee:||Juan Carlos García del Canto|
|Remaining Estimate:||Not Specified|
|Time Spent:||Not Specified|
|Original Estimate:||Not Specified|
Currently, the "Add"-Button is rendered in table.tagx. In list.tagx, there is:
In result, the "Add"-Button is not rendered, when the list is empty, which is kind of user-unfriendly...
Proposal: Move the check for empty list into list.tagx and always render the add button.
|Comment by Stefan Schmidt [ 17/Mar/10 ]|
Remarking this as 'Feature Improvement' rather than bug.
I am happy to include a button for the creation of a new entity there but I remember there was a Jira ticket (or a forum discussion) where we have considered to return a 404 status code from the controller if a resource with a given ID could not be found.
This would me more in line with the REST pattern, but it would reduce the functionality of the view presented since the presented Roo view would change to 'Requested resource not found'.
|Comment by Juan Carlos García del Canto [ 04/May/17 ]|
Spring Roo 2.0 uses HTML5 pages instead of JSP and TAGX