wilian 2016-02-26 16:52:04 +00:00
parent 537a6da98b
commit 5987755671
1 changed files with 3 additions and 1 deletions

View File

@ -74,7 +74,9 @@ public class EditarPrecoApanheController extends MyGenericForwardComposer {
btnApagar.setVisible(Boolean.FALSE); btnApagar.setVisible(Boolean.FALSE);
} }
txtPreco.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(precoApanhe.getPreco(), LocaleUtil.getLocale())); if(precoApanhe.getPreco() != null) {
txtPreco.setValue(BigDecimalUtil.getBigDecimalToStringDouble2CasasDecimaisFormatado(precoApanhe.getPreco(), LocaleUtil.getLocale()));
}
} }