Last active
April 6, 2021 12:18
-
-
Save kauanmocelin/84e97ed093d7c89da2f444e3c1f31396 to your computer and use it in GitHub Desktop.
[Importar Enum na JSP] #jsp #struts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@page import="br.gov.pr.celepar.spiweb.enumeration.TipoEtiqueta"%> | |
<c:set var="TIPO_ETIQUETA_TEXTO" value="<%= TipoEtiqueta.TEXTO.getValor() %>"/> | |
<c:set var="TIPO_ETIQUETA_NUMERO_DECIMAL" value="<%= TipoEtiqueta.NUMERO_DECIMAL.getValor() %>"/> | |
<c:set var="TIPO_ETIQUETA_VALOR_MONETARIO" value="<%= TipoEtiqueta.VALOR_MONETARIO.getValor() %>"/> | |
var tipoEtiquetaTexto = '${TIPO_ETIQUETA_TEXTO}'; | |
var tipoEtiquetaNumeroDecimal = '${TIPO_ETIQUETA_NUMERO_DECIMAL}'; | |
var tipoEtiquetaValorMonetario = '${TIPO_ETIQUETA_VALOR_MONETARIO}'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment