I have the following code in JSF which displays a Settings URL . The URL needs to be hiiden when the parameter is null.
I was thinking about the best approach to do it. The obvious and easitest approach I see is using JSP <c:if>. Any thoughts on how this can be pertformed with other mechanisms and which one is considered better appproach ?
Just to be pedantic (or was that pædantic?), conditional logic (meaning business logic or wholesale rearrangement of view components) is something that you should not place in a View. It's a violation of the MVC separation of concerns.
Conditional rendering, on the other hand, is another matter.
Customer surveys are for companies who didn't pay proper attention to begin with.