brTextField

BrTextField is a Vaadin Add-on that supports several input types (Brazilian format), previously set up, following the table below:

  • CEP - Brazilian postal code, under the format ##.###-###
  • CFOP - Operations and Benefits Fiscal Code, under the format #.###
  • CNAE - National Economic Activities Classification, under the format ##.##-#/##
  • COD_IBGE - Cities' codes according to Brazilian Istitute of Geography and Estatistic, under the format ##.###.##
  • CPF - Individual Register Brazilian code, under the format ###.###.###-## with verification
  • CNPJ - Legal Person National Register code, under the format ##.###.###/####-## with verification
  • CPF_CNPJ - Accepts both CPF and CNPJ formats
  • DECIMAL - Accepts decimal values (comma separated)
  • MAIÚSCULO - Converts all the characters to upper case
  • METRO - Accepts a comma separated decimal value followed by the 'm2' unit of measurement
  • MINÚSCULO - Converts all the characters to lower case
  • MOEDA - Accepts decimal values in the format ###.###,## with the 'R$' prefix
  • NCM - MERCOSUL's Common Naming Code, under the format ####.##.##
  • NORMAL - Accepts any character
  • NUMÉRICO - Accepts only numeric values under the format ###.###.###
  • PLACA - Accepts Brazilian car's License Plate under the format AAA-####
  • PORCENTAGEM - Accepts decimal numbers followed by '%'
  • TELEFONE - Accepts phone numbers under the format +##(##)#####-####
  • TÍTULO_ELEITORAL - Accepts Brazilian voter's ID number, under the format #### #### ####
  • HORA - Accepts time under the format HH:MM

Install

Link to this version
ExperimentalReleased 28 January 2016Apache License 2.0
Framework Support
Vaadin 7.6
Install with
Release notes - Version 1.0.1