I\'m implementing a composite component and I found a issue which I didn\'t find a solution.
I specified its attributes that can or not be passed by the page author,
You will have to create two p:commandLink elements and render them conditionally according to definition of your parameter:
p:commandLink