Details
-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
Description
After reading this wiki entry, it looks like one property of the faces-config.xml isn't used so far, it's the "suggested-value" (see http://horstmann.com/corejsf/faces-config.html#suggested-value ). Its description is quite small and I couldn't find any real documentation about it. But we can read: "This value is advisory only and is intended for tools", and JBoss Tools is... a tool, right?
So it would be great that JBoss Tools check the presence of such a "suggested-value" inside faces-config.xml and population an "enumeration" proposal type for the corresponding attribute.
Since "suggested-value" is a string, it cannot support natively a list of suggestions, so, right now, RichFaces is using "," as a separator. Which mean having:
<property-name>severity</property-name> <property-class>java.lang.String</property-class> <suggested-value>success,info,warning,important,inverse</suggested-value>
Should be equivalent to:
<attribute name="severity"> <proposal type="enumeration"> <param value="success" /> <param value="info" /> <param value="warning" /> <param value="important" /> <param value="inverse" /> </proposal> </attribute>
What do you think?