fnandos 15 de mar. de 2012
seu menuBar está dentro de <h:form> ? Posta a exceção ai
marlonmca 15 de mar. de 2012
sim, o menuBar está dentro de um form.
SEVERE : Error Rendering View [ / PaginasWeb / Prescricao / Prescricao / prescricao . xhtml ]
java . lang . IllegalStateException : component with duplicate id "menuForm:Ca6" found
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 742 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . saveView ( DefaultFaceletsStateManagementStrategy . java : 407 )
at org . apache . myfaces . application . jsp . JspStateManagerImpl . saveView ( JspStateManagerImpl . java : 447 )
at org . apache . myfaces . application . jsp . JspStateManagerImpl . getViewState ( JspStateManagerImpl . java : 626 )
at org . apache . myfaces . context . servlet . PartialViewContextImpl . processPartialRendering ( PartialViewContextImpl . java : 443 )
at org . apache . myfaces . context . servlet . PartialViewContextImpl . processPartial ( PartialViewContextImpl . java : 344 )
at org . richfaces . context . ExtendedPartialViewContextImpl . processPartial ( ExtendedPartialViewContextImpl . java : 199 )
at javax . faces . context . PartialViewContextWrapper . processPartial ( PartialViewContextWrapper . java : 88 )
at javax . faces . context . PartialViewContextWrapper . processPartial ( PartialViewContextWrapper . java : 88 )
at javax . faces . component . UIViewRoot . encodeChildren ( UIViewRoot . java : 358 )
at javax . faces . component . UIComponent . encodeAll ( UIComponent . java : 609 )
at org . apache . myfaces . view . facelets . FaceletViewDeclarationLanguage . renderView ( FaceletViewDeclarationLanguage . java : 1159 )
at org . apache . myfaces . application . ViewHandlerImpl . renderView ( ViewHandlerImpl . java : 263 )
at javax . faces . application . ViewHandlerWrapper . renderView ( ViewHandlerWrapper . java : 59 )
at org . apache . myfaces . lifecycle . RenderResponseExecutor . execute ( RenderResponseExecutor . java : 85 )
at org . apache . myfaces . lifecycle . LifecycleImpl . render ( LifecycleImpl . java : 239 )
at javax . faces . webapp . FacesServlet . service ( FacesServlet . java : 191 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 305 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 210 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 224 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 169 )
at org . apache . catalina . authenticator . AuthenticatorBase . invoke ( AuthenticatorBase . java : 472 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 168 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 98 )
at org . apache . catalina . valves . AccessLogValve . invoke ( AccessLogValve . java : 927 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 118 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 407 )
at org . apache . coyote . http11 . AbstractHttp11Processor . process ( AbstractHttp11Processor . java : 987 )
at org . apache . coyote . AbstractProtocol$AbstractConnectionHandler . process ( AbstractProtocol . java : 579 )
at org . apache . tomcat . util . net . JIoEndpoint$SocketProcessor . run ( JIoEndpoint . java : 309 )
at java . util . concurrent . ThreadPoolExecutor . runWorker ( ThreadPoolExecutor . java : 1110 )
at java . util . concurrent . ThreadPoolExecutor$Worker . run ( ThreadPoolExecutor . java : 603 )
at java . lang . Thread . run ( Thread . java : 679 )
15 / 03 / 2012 10 : 52 : 09 org . apache . catalina . core . StandardWrapperValve invoke
SEVERE : Servlet . service () for servlet [ Faces Servlet ] in context with path [ / ControleDispensacao ] threw exception [ component with duplicate id "menuForm:Ca6" found ] with root cause
java . lang . IllegalStateException : component with duplicate id "menuForm:Ca6" found
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 742 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . checkIds ( DefaultFaceletsStateManagementStrategy . java : 750 )
at org . apache . myfaces . view . facelets . DefaultFaceletsStateManagementStrategy . saveView ( DefaultFaceletsStateManagementStrategy . java : 407 )
at org . apache . myfaces . application . jsp . JspStateManagerImpl . saveView ( JspStateManagerImpl . java : 447 )
at org . apache . myfaces . application . jsp . JspStateManagerImpl . getViewState ( JspStateManagerImpl . java : 626 )
at org . apache . myfaces . context . servlet . PartialViewContextImpl . processPartialRendering ( PartialViewContextImpl . java : 443 )
at org . apache . myfaces . context . servlet . PartialViewContextImpl . processPartial ( PartialViewContextImpl . java : 344 )
at org . richfaces . context . ExtendedPartialViewContextImpl . processPartial ( ExtendedPartialViewContextImpl . java : 199 )
at javax . faces . context . PartialViewContextWrapper . processPartial ( PartialViewContextWrapper . java : 88 )
at javax . faces . context . PartialViewContextWrapper . processPartial ( PartialViewContextWrapper . java : 88 )
at javax . faces . component . UIViewRoot . encodeChildren ( UIViewRoot . java : 358 )
at javax . faces . component . UIComponent . encodeAll ( UIComponent . java : 609 )
at org . apache . myfaces . view . facelets . FaceletViewDeclarationLanguage . renderView ( FaceletViewDeclarationLanguage . java : 1159 )
at org . apache . myfaces . application . ViewHandlerImpl . renderView ( ViewHandlerImpl . java : 263 )
at javax . faces . application . ViewHandlerWrapper . renderView ( ViewHandlerWrapper . java : 59 )
at org . apache . myfaces . lifecycle . RenderResponseExecutor . execute ( RenderResponseExecutor . java : 85 )
at org . apache . myfaces . lifecycle . LifecycleImpl . render ( LifecycleImpl . java : 239 )
at javax . faces . webapp . FacesServlet . service ( FacesServlet . java : 191 )
at org . apache . catalina . core . ApplicationFilterChain . internalDoFilter ( ApplicationFilterChain . java : 305 )
at org . apache . catalina . core . ApplicationFilterChain . doFilter ( ApplicationFilterChain . java : 210 )
at org . apache . catalina . core . StandardWrapperValve . invoke ( StandardWrapperValve . java : 224 )
at org . apache . catalina . core . StandardContextValve . invoke ( StandardContextValve . java : 169 )
at org . apache . catalina . authenticator . AuthenticatorBase . invoke ( AuthenticatorBase . java : 472 )
at org . apache . catalina . core . StandardHostValve . invoke ( StandardHostValve . java : 168 )
at org . apache . catalina . valves . ErrorReportValve . invoke ( ErrorReportValve . java : 98 )
at org . apache . catalina . valves . AccessLogValve . invoke ( AccessLogValve . java : 927 )
at org . apache . catalina . core . StandardEngineValve . invoke ( StandardEngineValve . java : 118 )
at org . apache . catalina . connector . CoyoteAdapter . service ( CoyoteAdapter . java : 407 )
at org . apache . coyote . http11 . AbstractHttp11Processor . process ( AbstractHttp11Processor . java : 987 )
at org . apache . coyote . AbstractProtocol$AbstractConnectionHandler . process ( AbstractProtocol . java : 579 )
at org . apache . tomcat . util . net . JIoEndpoint$SocketProcessor . run ( JIoEndpoint . java : 309 )
at java . util . concurrent . ThreadPoolExecutor . runWorker ( ThreadPoolExecutor . java : 1110 )
at java . util . concurrent . ThreadPoolExecutor$Worker . run ( ThreadPoolExecutor . java : 603 )
at java . lang . Thread . run ( Thread . java : 679 )