0

I want to use "&" character in jsf page but get error.

 <p:commandLink type="button" styleClass="close" aria-hidden="true"
                action="#{tages.removeText}" update="panel_topic" value="&time;">
     &times;
     <f:setPropertyActionListener target="#{tages._tar}" value="#{txt}"/>

 </p:commandLink>

following error :

Error Traced[line: 24] The entity "times" was referenced, but not declared.

how to use "&" character in jsf page ?

or123456
  • 2,091
  • 8
  • 28
  • 50

2 Answers2

0

I think you should use &amp; instead of & in HTML.

Robert Lu
  • 1,499
  • 13
  • 22
0

You can use its decimal code: &#215