I'm testing a bit of a Java Server Pages (JSP) framework called Java Server Faces (JSF). I made a base template and other client templates. The page is very simple, but there is an issue that I cannot solve, and it is this:
To my left I have a div, which contains a form with the icon (or "logo") of the page and below the links (). It turns out that when I get the text of the link by my Bean (or even if I write it directly in value), at the end of the string I get a "(#)". And in my labeling I have never put that anywhere...
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:h="http://xmlns.jcp.org/jsf/html">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<h:outputStylesheet library="css" name="blueprint/screen.css"/>
<h:outputStylesheet library="css" name="blueprint/print.css"/>
<h:outputStylesheet name="./css/cssLayout.css"/>
<title><h:outputText value="Pagina principal de la prueba!"></h:outputText></title>
</h:head>
<h:body>
<div class="esqueleto">
<div id="top" class="span-24 Last">
<h:outputText value="Dan Java Server Faces Test"/>
</div>
<div class="span-24 Last">
<div id="left" class="span-8">
<h:form>
<div id="mLogo"><h:graphicImage library="images" name="Evil-Smile.png"/></div>
<div id="item"><h:commandLink value="Primera pagina" action="#{pageControler.Primera()}"/></div>
</h:form>
</div>
<div id="content" class="span-16 Last">
<div id="contenido">
<ui:insert name="content">Content</ui:insert>
</div>
</div>
</div>
<div id="bottom" class="span-24 Last">
Bottom
</div>
</div>
</h:body>
</html>
I thought they were CSS issues of the text-decoration, and as you can see, I have set it to "none", but no. How do I get rid of this annoying "(#)"?
Finally, I found the solution of the problem. And it turns out that what was surprisingly annoying my links was a framework... the Blueprint. I needed to declare one more attribute called "mean".
So it should have been called from the beginning: