mojarra icon indicating copy to clipboard operation
mojarra copied to clipboard

h:link (HtmlCommandLink) does not support converters

Open svenhaag opened this issue 7 years ago • 3 comments

The HtmlCommandLink component does not provide javax.faces.convert.Converter support to convert the displayed output-text, neither as attribute nor as child (e.g. f:validator).

svenhaag avatar Mar 16 '18 13:03 svenhaag

Have a look at https://stackoverflow.com/questions/6098279/jsf-convert-value-for-hcommandlink-display.

But I seem to remember that there is no way to specify a converter for the label of a <h:commandButton>.

ghost avatar Mar 16 '18 13:03 ghost

Thanks for the hint! However, I think, having a converter attribute is sort of common and should be present on all components rendering an output text, right?

svenhaag avatar Mar 16 '18 13:03 svenhaag

You are welcome. I'm just a 'user' of JSF but I would vote for your request.

ghost avatar Mar 16 '18 13:03 ghost