You couldn't escape an import in scaffolding templates, because the domain is in the different package. You could replace "Status" to "nl.ihomer.enums.Status" where you use the domain if you must escape an import. Hope that it could help you!
use gsp import in scaffolding templates
Question
Does anybody know, how to escape an import like below in scaffolding templates? I want to use this import in my generated views.
<%@ page import="nl.ihomer.enums.Status" %>
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow