jsf 2 - JSF - *.taglib.xml - attribute default value -


i facing strange issue in jsf; taglib.xml trying use jsf facelets; not sure how set attribute default value in case of facelets tried this alike way (see code):

<tag> <tag-name>ball</tag-name> ...     <attribute>         <name>color</name>         <default>green</default>         <required>false</required>         <type>java.lang.string</type>       </attribute> ... </tag> 

but not sure cause seems eclipse 3.7 content assist in case of having default element doesn't work cannot use ctrl+space :(

so question is... how set facelet default attribute value , if <default></default> correct how make content assist work again 'cause, can remember, no <default-value></default-value> worked fine?

thanks

emm... after testing may confirm <default> , <default-value> make possible set default attribute value (it pretty clear watching generated html) having elements in *.taglib.xml make impossible use eclipse 3.7 content assist :p

so probably, yes, eclipse content assist issue...

p.s. still searching issue coming feel free comment...


Comments

Popular posts from this blog

sql server - Cannot query correctly (MSSQL - PHP - JSON) -

php - trouble displaying mysqli database results in correct order -

C++ Linked List -