0

Added xmlns:p=http://primefaces.org/ui and when used <p:spinner id="basic" value="1" /> It is not displayin anything. Any idea if there is anything I’ve missed? I’m using JSF 2 and I need to have a quantity spinner and I found this Primeface’s one. Is there any other option if it’s impossible for this to work?

Now when I use spinner tag only an input text appears, but in the putput html i see:

<span id="j_idt11:5:basic" class="ui-spinner ui-widget ui-corner-all"><input id="j_idt11:5:basic_input" name="j_idt11:5:basic_input" class="ui-spinner-input ui-inputfield ui-state-default ui-corner-all" autocomplete="off" type="text"><a class="ui-spinner-button ui-spinner-up ui-corner-tr ui-button ui-widget ui-state-default ui-button-text-only"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-n ui-c"></span></span></a><a class="ui-spinner-button ui-spinner-down ui-corner-br ui-button ui-widget ui-state-default ui-button-text-only"><span class="ui-button-text"><span class="ui-icon ui-icon-triangle-1-s ui-c"></span></span></a></span>
Yura
  • 125
  • 10

0 Answers0