Little Bug in pe:inputNumber

Community Driven Extensions Project
Post Reply
soekris
Posts: 76
Joined: 29 Apr 2013, 16:54
Location: Barcelona

14 Nov 2014, 15:20

Hello

we're using netBeans 8.01 and PE 3.00, netbeans complains about "The attribute size is not defined in the component inputNumber". We are able to run the application but netbeans always says there is an error in that file, and it's a little annoying.

Image

PE are fantastic!
Primefaces 5.3.X / 6.X
NetBeans 8.1
WildFly 10
Linux Mint & freeBSD

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

14 Nov 2014, 15:41

Afaics, this is no bug... The docs of pe:inputNumber does not show 'size' as a valid attribute, so the IDE is correct. The fact that this does not result in runtime errors is due to the 'lax' runtime checking (checking for not allowed attributes is not done).

So if you want the size to be on the resulting input, I think you have to use the jsf passthrough functionality.

Post Reply

Return to “Extensions”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests