DEV Community

EronAlves1996
EronAlves1996

Posted on

1

Dica - Definindo enums como parâmetros em componentes JSF

Você pode definir no seu componente JSF um parâmetro do tipo Enum, e, na hora de utilizar, passar a representação como string.

Em runtime, o JSF irá fazer o cast para verificar se a string corresponde a um valor do Enum.

Image description

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more