Re: Exception in 1.1.4-SNAPSHOT after validation error while using t:panelTabbedPane serverSideTabSwitch=true
Hi Paul, I think this is not an issue of tabbedPane, it`s an issue of your HtmlSelectOneRadio component. How do you initialize the SelectItem list bound to the menu? If there is an object as value, you have to take care of it via a converter. cheers, Gerald On 7/12/06, Paul Spencer [EMAIL PROTECTED] wrote: (Tomahawk 1.1.4-SNAPSHOT, MyFaces 1.1.4-SNAPSHOT) I have a Tabbed panel with 3 tabs. If a validation error is displayed on the current tab, then the following exception report will be returned when a another tab is selected and serverSideTabSwitch=true. javax.faces.FacesException: Value is no String (class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1, [EMAIL PROTECTED]) and component _idJsp235:reportTypewith path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /query.jsp][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane,Id: _idJsp1][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTab,Id: _idJsp232][Class: javax.faces.component.html.HtmlForm,Id: _idJsp235][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp291][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: reportType]} does not have a Converter org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) Do I need to report this as an issue? Paul Spencer -- Gerald Müllan Schelleingasse 2/11 1040 Vienna, Austria 0043 699 11772506 [EMAIL PROTECTED]
Re: Exception in 1.1.4-SNAPSHOT after validation error while using t:panelTabbedPane serverSideTabSwitch=true
Gerald, Below is related JSP code. h:selectOneRadio id=reportType layout=pageDirection value=#{processQueryBean.reportType} required=true f:selectItems value=#{processQueryBean.reportTypes} / /h:selectOneRadio Does this help? Paul Spencer Gerald Müllan wrote: Hi Paul, I think this is not an issue of tabbedPane, it`s an issue of your HtmlSelectOneRadio component. How do you initialize the SelectItem list bound to the menu? If there is an object as value, you have to take care of it via a converter. cheers, Gerald On 7/12/06, Paul Spencer [EMAIL PROTECTED] wrote: (Tomahawk 1.1.4-SNAPSHOT, MyFaces 1.1.4-SNAPSHOT) I have a Tabbed panel with 3 tabs. If a validation error is displayed on the current tab, then the following exception report will be returned when a another tab is selected and serverSideTabSwitch=true. javax.faces.FacesException: Value is no String (class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1, [EMAIL PROTECTED]) and component _idJsp235:reportTypewith path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /query.jsp][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane,Id: _idJsp1][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTab,Id: _idJsp232][Class: javax.faces.component.html.HtmlForm,Id: _idJsp235][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp291][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: reportType]} does not have a Converter org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) Do I need to report this as an issue? Paul Spencer
Exception in 1.1.4-SNAPSHOT after validation error while using t:panelTabbedPane serverSideTabSwitch=true
(Tomahawk 1.1.4-SNAPSHOT, MyFaces 1.1.4-SNAPSHOT) I have a Tabbed panel with 3 tabs. If a validation error is displayed on the current tab, then the following exception report will be returned when a another tab is selected and serverSideTabSwitch=true. javax.faces.FacesException: Value is no String (class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1, [EMAIL PROTECTED]) and component _idJsp235:reportTypewith path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /query.jsp][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane,Id: _idJsp1][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTab,Id: _idJsp232][Class: javax.faces.component.html.HtmlForm,Id: _idJsp235][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp291][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: reportType]} does not have a Converter org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) Do I need to report this as an issue? Paul Spencer
Re: Exception in 1.1.4-SNAPSHOT after validation error while using t:panelTabbedPane serverSideTabSwitch=true
Hey Paul, I understand that you are annoyed about the feedback here on the questions. I haven't used that component. Can't say anything about. May the others help ... Sorry, Matthias On 7/12/06, Paul Spencer [EMAIL PROTECTED] wrote: (Tomahawk 1.1.4-SNAPSHOT, MyFaces 1.1.4-SNAPSHOT) I have a Tabbed panel with 3 tabs. If a validation error is displayed on the current tab, then the following exception report will be returned when a another tab is selected and serverSideTabSwitch=true. javax.faces.FacesException: Value is no String (class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1, [EMAIL PROTECTED]) and component _idJsp235:reportTypewith path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /query.jsp][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane,Id: _idJsp1][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTab,Id: _idJsp232][Class: javax.faces.component.html.HtmlForm,Id: _idJsp235][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp291][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: reportType]} does not have a Converter org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) Do I need to report this as an issue? Paul Spencer -- Matthias Wessendorf further stuff: blog: http://jroller.com/page/mwessendorf mail: mwessendorf-at-gmail-dot-com
Re: Exception in 1.1.4-SNAPSHOT after validation error while using t:panelTabbedPane serverSideTabSwitch=true
Matthias, I am not annoyed, but sometimes a little frustrated :) Paul Spencer Matthias Wessendorf wrote: Hey Paul, I understand that you are annoyed about the feedback here on the questions. I haven't used that component. Can't say anything about. May the others help ... Sorry, Matthias On 7/12/06, Paul Spencer [EMAIL PROTECTED] wrote: (Tomahawk 1.1.4-SNAPSHOT, MyFaces 1.1.4-SNAPSHOT) I have a Tabbed panel with 3 tabs. If a validation error is displayed on the current tab, then the following exception report will be returned when a another tab is selected and serverSideTabSwitch=true. javax.faces.FacesException: Value is no String (class=org.apache.myfaces.shared_impl.renderkit.RendererUtils$1, [EMAIL PROTECTED]) and component _idJsp235:reportTypewith path: {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /query.jsp][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTabbedPane,Id: _idJsp1][Class: org.apache.myfaces.custom.tabbedpane.HtmlPanelTab,Id: _idJsp232][Class: javax.faces.component.html.HtmlForm,Id: _idJsp235][Class: javax.faces.component.html.HtmlPanelGrid,Id: _idJsp291][Class: javax.faces.component.html.HtmlSelectOneRadio,Id: reportType]} does not have a Converter org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:422) org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) Do I need to report this as an issue? Paul Spencer