Remove annoying numeral in commandLink (JSF)

1

I'm trying a bit of a Java Server Pages framework (JSP) called Java Server Faces (JSF). I made a base template and other client templates. The page is very simple, but there is one issue that I can not solve, and it is this:

On 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 see a "(#)". And in my labeling I've 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 themes of the text-decoration, and as you can see, I have placed it as "none", but no. How do I get rid of this annoying "(#)"?

    
asked by TwoDent 03.06.2017 в 16:54
source

1 answer

0

Finally, I found the solution to the problem. And it turns out that what was bugging me links surprisingly was a framework ... the Blueprint. I needed to declare an attribute more called "average".

So it should be called from the beginning:

<link href="css/blueprint/screen.css" type="text/css" rel="stylesheet" media="screen, projection">
 <link href="css/blueprint/print.css" type="text/css" rel="stylesheet" media="print">  
    
answered by 07.06.2017 / 17:20
source