Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Release 1.5.1, Release 1.6
-
Component/s: Tag Library
-
Labels:None
Description
When a layout-render tag's name attribute doesn't start with a slash a StackEmpty exception occurs which gives no indication of the actual problem. If the name doesn't start with a slash the tag should throw an exception which clearly indicates the actual problem.
Aaron, can you give a specific example to reproduce this problem? When I try rendering a layout with a name that doesn't start with a slash, I get this message:
net.sourceforge.stripes.exception.StripesJspException: Attempt made to render a layout that does not exist. The layout name provided was 'WEB-INF/jsp/layout.jsp'. Please check that a JSP/view exists at that location within your web application.
Thanks,
Freddy