First, I am new to Java EE, came from a strong ASP .NET development background. I have gone through the net, and I might miss this but it seems like there is no simple and s
Yes, use the rendered attribute.
You usually tie it to the model rather than letting the model grab the component and manipulate it.
E.g.
Note the importance of keyword based EL operators such as gt, ge, le and lt instead of >, >=, <= and < as angle brackets < and > are reserved characters in XML. See also this related Q&A: Error parsing XHTML: The content of elements must consist of well-formed character data or markup.
As to your specific use case, let's assume that the link is passing a parameter like below:
link
You can then show the form as below:
(the #{param} is an implicit EL object referring to a Map representing the request parameters)