maryJane
maryJane

Reputation: 127

JSF2.0, value="#" means?

I have been trying to write a component control in a <rich:dataTable>. I chose <h:outputLink> to wrap it, inside the data table. I found something like this.

<h:outputLink id="openLink" value="#"> 

What does value="#" mean?

Upvotes: 0

Views: 66

Answers (1)

elbuild
elbuild

Reputation: 4899

It's a link to the same page. It will refresh the page in a NON-Ajax mode.


The outpulink tag produces a very simple HTML tag with the href value set to the value of the...'value' attribute. In the asker example it will produce:

<a id="openLink" href="#">
.
.
.
</a>

I added the tag closure even if the corresponding was missing in the OP question.

Upvotes: 5

Related Questions