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

4 comments
Comment actions Permalink

hi, Peter

thanks for feedback.

JSF validation verifies pages in webRoot dirs. Did you set webRoots for your
project?

Serega Vasiliev

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:

<webapp>/view/*.jsp

<webapp>/static/img/images...

<webapp>/WEB-INF/web.xml

<webapp>/WEB-INF/faces-config.xml

<webapp>/WEB-INF/classes

<webapp>/WEB-INF/lib

JSF validation complains about navigation rules which contain
"<webapp>/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

<td ></td>

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



0
Comment actions Permalink

hi, Peter

thanks for feedback.

JSF validation verifies pages in webRoot dirs. Did you set webRoots for your
project?

Serega Vasiliev

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:

<webapp>/view/*.jsp

<webapp>/static/img/images...

<webapp>/WEB-INF/web.xml

<webapp>/WEB-INF/faces-config.xml

<webapp>/WEB-INF/classes

<webapp>/WEB-INF/lib

JSF validation complains about navigation rules which contain
"<webapp>/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

<td ></td>

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



0
Comment actions Permalink

Hi Sergey,

thanks for the hint - after changing the Web Resource Directory it works as extected. Now I can test Demetra!

Peter

0

Please sign in to leave a comment.