How can I check if a Resource Bundle contains a specific key in a JSF page.
Posted
by Silverfox
on Stack Overflow
See other posts from Stack Overflow
or by Silverfox
Published on 2010-06-14T15:25:15Z
Indexed on
2010/06/14
15:52 UTC
Read the original article
Hit count: 199
jsf
I have a JSF page which has a bundle loaded. However I need to dynamiclly build a key to access the property. What I need to do is check that the property exists so I can decide whether to render the or not.
I have tried checking if the value is empty but it always renders the output.
Thanks
© Stack Overflow or respective owner