cviniciusm 10 de jul. de 2016
Olá,
Já tentou p:inputNumber ?
Cindy_de_Albuquerque 10 de jul. de 2016 1 like
jsf, jsf-2
PehDePano 11 de jul. de 2016
Ainda nem, vou tentar e logo retorno pra falar se deu certo
PehDePano 11 de jul. de 2016
Não existe p:inputNumber
PehDePano 11 de jul. de 2016
Vou tentar criar a classe, obrigado
cviniciusm 11 de jul. de 2016
PehDePano 11 de jul. de 2016
Desculpa, eu tava usando uma versão anterior do primeFaces, por isso não tinha o inputNumber…
Mas, agora deu um outro erro aqui, ele não ta achando o atributo impostos, olha o erro, tem alguma ideia do q pode ser?!
ADVERTÊNCIA : / cadastros / CadastroNFSe . xhtml @94 , 43 value = "#{nfseBean.nfse.impostos.pis}" : Target Unreachable , ' impostos ' returned null
javax . el . PropertyNotFoundException : / cadastros / CadastroNFSe . xhtml @94 , 43 value = "#{nfseBean.nfse.impostos.pis}" : Target Unreachable , ' impostos ' returned null
at com . sun . faces . facelets . el . TagValueExpression . getType ( TagValueExpression . java : 100 )
at org . primefaces . util . ComponentUtils . getConverter ( ComponentUtils . java : 146 )
at org . primefaces . component . inputnumber . InputNumberRenderer . getConvertedValue ( InputNumberRenderer . java : 49 )
at javax . faces . component . UIInput . getConvertedValue ( UIInput . java : 1045 )
at javax . faces . component . UIInput . validate ( UIInput . java : 975 )
at javax . faces . component . UIInput . executeValidate ( UIInput . java : 1248 )
at javax . faces . component . UIInput . processValidators ( UIInput . java : 712 )
at javax . faces . component . UIComponentBase . processValidators ( UIComponentBase . java : 1261 )
at javax . faces . component . UIForm . processValidators ( UIForm . java : 253 )
at javax . faces . component . UIComponentBase . processValidators ( UIComponentBase . java : 1261 )
at javax . faces . component . UIComponentBase . processValidators ( UIComponentBase . java : 1261 )
at javax . faces . component . UIViewRoot . processValidators ( UIViewRoot . java : 1195 )
at com . sun . faces . lifecycle . ProcessValidationsPhase . execute ( ProcessValidationsPhase . java : 76 )
at com . sun . faces . lifecycle . Phase . doPhase ( Phase . java : 101 )
at com . sun . faces . lifecycle . LifecycleImpl . execute ( LifecycleImpl . java : 198 )
at javax . faces . webapp . FacesServlet . service ( FacesServlet . java : 658 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 292 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 207 )
at org . apache . tomcat . websocket . server . WsFilter . doFilter ( WsFilter . java : 52 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 240 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 207 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 330 )
at org . springframework . security . web . access . intercept . FilterSecurityInterceptor . invoke ( FilterSecurityInterceptor . java : 118 )
at org . springframework . security . web . access . intercept . FilterSecurityInterceptor . doFilter ( FilterSecurityInterceptor . java : 84 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . access . ExceptionTranslationFilter . doFilter ( ExceptionTranslationFilter . java : 113 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . session . SessionManagementFilter . doFilter ( SessionManagementFilter . java : 103 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . authentication . AnonymousAuthenticationFilter . doFilter ( AnonymousAuthenticationFilter . java : 113 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . servletapi . SecurityContextHolderAwareRequestFilter . doFilter ( SecurityContextHolderAwareRequestFilter . java : 154 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . savedrequest . RequestCacheAwareFilter . doFilter ( RequestCacheAwareFilter . java : 45 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . authentication . AbstractAuthenticationProcessingFilter . doFilter ( AbstractAuthenticationProcessingFilter . java : 199 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . authentication . logout . LogoutFilter . doFilter ( LogoutFilter . java : 110 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . context . request . async . WebAsyncManagerIntegrationFilter . doFilterInternal ( WebAsyncManagerIntegrationFilter . java : 50 )
at org . springframework . web . filter . OncePerRequestFilter . doFilter ( OncePerRequestFilter . java : 106 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . context . SecurityContextPersistenceFilter . doFilter ( SecurityContextPersistenceFilter . java : 87 )
at org . springframework . security . web . FilterChainProxy$VirtualFilterChain . doFilter ( FilterChainProxy . java : 342 )
at org . springframework . security . web . FilterChainProxy . doFilterInternal ( FilterChainProxy . java : 192 )
at org . springframework . security . web . FilterChainProxy . doFilter ( FilterChainProxy . java : 160 )
at org . springframework . web . filter . DelegatingFilterProxy . invokeDelegate ( DelegatingFilterProxy . java : 343 )
at org . springframework . web . filter . DelegatingFilterProxy . doFilter ( DelegatingFilterProxy . java : 260 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 240 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 207 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 212 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 106 )
at org . apache . catalina . authenticator . AuthenticatorBase . invoke ( AuthenticatorBase . java : 502 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 141 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 79 )
at org . apache . catalina . valves . AbstractAccessLogValve . invoke ( AbstractAccessLogValve . java : 616 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 88 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 528 )
at org . apache . coyote . http11 . AbstractHttp11Processor . process ( AbstractHttp11Processor . java : 1099 )
at org . apache . coyote . AbstractProtocol$AbstractConnectionHandler . process ( AbstractProtocol . java : 672 )
at org . apache . tomcat . util . net . NioEndpoint$SocketProcessor . doRun ( NioEndpoint . java : 1520 )
at org . apache . tomcat . util . net . NioEndpoint$SocketProcessor . run ( NioEndpoint . java : 1476 )
at java . util . concurrent . ThreadPoolExecutor . runWorker ( Unknown Source )
at java . util . concurrent . ThreadPoolExecutor$Worker . run ( Unknown Source )
at org . apache . tomcat . util . threads . TaskThread$WrappingRunnable . run ( TaskThread . java : 61 )
at java . lang . Thread . run ( Unknown Source )
Caused by : javax . el . PropertyNotFoundException : Target Unreachable , ' impostos ' returned null
at org . apache . el . parser . AstValue . getTarget ( AstValue . java : 124 )
at org . apache . el . parser . AstValue . getType ( AstValue . java : 58 )
at org . apache . el . ValueExpressionImpl . getType ( ValueExpressionImpl . java : 168 )
at org . jboss . weld . el . WeldValueExpression . getType ( WeldValueExpression . java : 93 )
at com . sun . faces . facelets . el . TagValueExpression . getType ( TagValueExpression . java : 98 )
... 65 more
Obrigado pela foça