JSF Composite Component - predefined attribute values

309 views Asked by At

I'm making a composite component with an attribute that I wish to have a number of enumerated possible values. For example, in the case of h:panelGroup...

<h:panelGroup layout="block" />

The layout attribute allows and suggests 'block, as a value (ctrl-space in eclipse). I checked what source I could see at a glance, and the layout attribute on panelGroup is of type String - so I presume this is not being implemented with an Enum.

Is this possible within custom composite components, or is this just a special case?

Thanks in advance.

0

There are 0 answers