omnifaces icon indicating copy to clipboard operation
omnifaces copied to clipboard

Documentation clarification regarding GenericEnumConverter

Open commodis opened this issue 3 years ago • 2 comments
trafficstars

On the showcase of the GenericEnumConverter the following sentence was written down:

However, when you're having a valueless input component, then this converter may be still useful.

But I do not see the difference between both examples

image

What is a valueless input component, when both examples look identical and both example interactions work?

commodis avatar May 16 '22 09:05 commodis

Is this more clear?

However, when you're having an input component without a value attribute, and thus the exact type cannot be automatically determined by simply inspecting the return type of the associated getter method, then this converter may be still useful.

BalusC avatar May 16 '22 09:05 BalusC

Yes! This makes much more sense - thank you 🤗

commodis avatar May 16 '22 10:05 commodis