url « Component « JSF Q&A





1. JSF @ResourceDependency with url    stackoverflow.com

I am working on custom jsf component, which needs external js dependency from specific url. I try to use @ResourceDependency annotation to inject JS but it didn't work. Is there any way ...

2. How to render a component if a parameter is presented in the URL    stackoverflow.com

i have a div that contains some text and i want to display it if a parameter is presented in the url as in JSTL

<c:if ${param.loginError!=null}>

<div>

Wrong username/password

</div>

</c:if>
how to do that in JSF ? ...