Forums Register Login

Why h:outputScript attribute "name" is required

+Pie Number of slices to send: Send
I wrote following JSF Facelet code:



But, NetBeans 7.0.1 says that "The required attribute name is missing" at line 2.
When I open this page with my browser, the inline script is worked correctly.

My question is, although my code works correctly, why my IDE complains?
+Pie Number of slices to send: Send
I don't know, but I'm not sure that you can safely use the "$" jQuery notation in JSF due to potential conflicts with the EL processor. It's safer to use the "jQuery" form, instead.
Hang a left on main. Then read this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 3705 times.
Similar Threads
Custom tags doubt
JSTL & EL, not resolving my ${identifier} syntax?
Custom Tag doubt
Problem while Tag lib Up gradation
[JSF 2] Ajax : where is jsf.js ?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:48:08.