Underlining acceskey

UI Components for JSF
Post Reply
goranovic
Posts: 2
Joined: 16 Nov 2017, 15:32

22 Feb 2018, 11:13

I have an acceskey in my p:commandbutton. Does anyone know how can i underline a single character from my value property that matches the acceskey character?
Thanks in advance guys

kukeltje
Expert Member
Posts: 9605
Joined: 17 Jun 2010, 13:34
Location: Netherlands

25 Feb 2018, 15:24

From https://stackoverflow.com/questions/864 ... s-of-words:
You can simply put ̲ after any word and it becomes underlined, its a HTML Code.

Code: Select all

<input type=button value=S&#818;end>
Will with 99,9% certainty work for a `p:commandButton` too.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests