JSF validation problems
I cannot get my webapp to run under Demetra due to continuous JSF validation problems (no problems opening the same project in 5.1.2). The file structure:
/view/*.jsp
/static/img/images...
/WEB-INF/web.xml
/WEB-INF/faces-config.xml
/WEB-INF/classes
/WEB-INF/lib
JSF validation complains about navigation rules which contain "/view/any.jsp". When I try to add navigation rules within the IDEA JSF dialog, I am locked within the WEB-INF folder (cannot navigate to parent directory). I think this a bug. Can I disable JSF validation? If there is no workaround, that would immediately prevent me from testing the beta.
While I am at it - CSS validation is another annoyance. This
]]>
never validates, because IDEA does know the base directory of the webapp with static files being delivered via Apache instead of Tomcat. It should be possible to set a base directory someplace or disable this type of URL validation.
Any solution for either problem?
Thanks,
Peter
请先登录再写评论。
created jira issue for this problem http://www.jetbrains.net/jira/browse/IDEADEV-7771
hi, Peter
thanks for feedback.
JSF validation verifies pages in webRoot dirs. Did you set webRoots for your
project?
Serega Vasiliev
hi, Peter
thanks for feedback.
JSF validation verifies pages in webRoot dirs. Did you set webRoots for your
project?
Serega Vasiliev
Hi Sergey,
thanks for the hint - after changing the Web Resource Directory it works as extected. Now I can test Demetra!
Peter