1 2 3 Previous Next 39 Replies Latest reply on Mar 30, 2009 10:30 AM by Ilya Shaikovsky

    Iam getting the following error while navigating through my

    rajesha Indurthi Newbie

      I am using richfaces 3.0 with jsf 1.1 (Sun RI). The application was working fine, however after I introduced a filter called SystemOutFilter in my web.xml(The web.xml snippet is below)

      web.xml

      <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
       <display-name>Test Data Platform Workbench</display-name>
       <description>Test Data Platform Workbench</description>
       <context-param>
       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
       <param-value>server</param-value>
       </context-param>
       <context-param>
       <param-name>javax.faces.application.CONFIG_FILES</param-name>
       <param-value>/WEB-INF/faces-config.xml</param-value>
       </context-param>
       <context-param>
       <param-name>com.sun.faces.validateXml</param-name>
       <param-value>true</param-value>
       </context-param>
       <context-param>
       <param-name>com.sun.faces.verifyObjects</param-name>
       <param-value>false</param-value>
       </context-param>
       <context-param>
       <param-name>tree.control.images</param-name>
       <param-value>/images</param-value>
       </context-param>
       <context-param>
       <param-name>org.richfaces.SKIN</param-name>
       <param-value>blueSky</param-value>
       </context-param>
      <filter>
       <filter-name>ThreadScopeEnabler</filter-name>
       <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>
       </filter>
       <filter>
       <filter-name>SystemOutFilter</filter-name>
       <filter-class>com.equifax.ic.tdp.jsf.util.SysOutFilter</filter-class>
       </filter>
       <filter>
       <display-name>RichFaces Filter</display-name>
       <filter-name>richfaces</filter-name>
       <filter-class>org.ajax4jsf.Filter</filter-class>
       </filter>
      <filter-mapping>
       <filter-name>ThreadScopeEnabler</filter-name>
       <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>SystemOutFilter</filter-name>
       <url-pattern>/*</url-pattern>
       </filter-mapping>
       <filter-mapping>
       <filter-name>richfaces</filter-name>
       <servlet-name>Faces Servlet</servlet-name>
       <dispatcher>REQUEST</dispatcher>
       <dispatcher>FORWARD</dispatcher>
       <dispatcher>INCLUDE</dispatcher>
       </filter-mapping>
       <!-- Faces Servlet -->
       <servlet>
       <servlet-name>Faces Servlet</servlet-name>
       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
       <load-on-startup>6</load-on-startup>
       </servlet>
       <!-- Faces Servlet Mapping -->
       <servlet-mapping>
       <servlet-name>Faces Servlet</servlet-name>
       <url-pattern>*.faces</url-pattern>
       </servlet-mapping>
       <welcome-file-list>
       <welcome-file>global/index.jsp</welcome-file>
       </welcome-file-list>
       <error-page>
       <exception-type>java.lang.Exception</exception-type>
       <location>/global/errorpage.faces</location>
       </error-page>
      </web-app>


      The applications is logging to the index page properly , but when I try to navigate to othe rpages I get the following error:
      Exception = javax.servlet.ServletException
      Source = com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter
      probeid = 82
      Stack Dump = javax.servlet.ServletException: Resource not registered : org.richfaces.renderkit.html.GradientA
       at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:130)
       at org.ajax4jsf.framework.resource.InternetResourceService.serviceResource(InternetResourceService.java:118)
       at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:207)
       at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
       at com.equifax.ic.tdp.jsf.util.SysOutFilter.doFilter(SysOutFilter.java:29)
       at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
       at com.equifax.ic.web.ThreadScopeEnablerFilter$1.perform(ThreadScopeEnablerFilter.java:47)
       at com.equifax.ic.core.kernel.impl.BasicThreadScopeManagement.performThreadScopedAction(BasicThreadScopeManagement.java:90)
       at com.equifax.ic.core.kernel.impl.BasicThreadScopeManagement.performThreadScopedAction(BasicThreadScopeManagement.java:45)
       at com.equifax.ic.web.ThreadScopeEnablerFilter.doFilter(ThreadScopeEnablerFilter.java:59)
       at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
       at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
       at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
       at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
       at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
       at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
       at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
       at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
       at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
       at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
       at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
       at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
       at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
       at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
       at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
       at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
       at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
       at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
       at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
       at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
       at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
       at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

      Any Help with this will be highly appreciated

      Thanks in advance!!!


        • 1. Re: Iam getting the following error while navigating through
          Nick Belaevski Master

          Hello,

          Entirely possible. Please try 3.1.6.

          • 2. Re: Iam getting the following error while navigating through
            rajesha Indurthi Newbie

            Hi there,
            Thanks for the quick suggestion for my above problem. As I mentioned earlier Iam using JSF 1.1 Sun RI in my application. Is richfaces 3.1.6 compatible with JSF 1.1 sun RI and spring 2.0. If so where can I find the documentation to migrate rich faces to 3.1.6 from the 3.0 version which Iam using in my application.

            your help is highly appreciated!!!

            • 3. Re: Iam getting the following error while navigating through
              Nick Belaevski Master

               

              "RAJESHIV" wrote:
              Hi there,
              Thanks for the quick suggestion for my above problem. As I mentioned earlier Iam using JSF 1.1 Sun RI in my application. Is richfaces 3.1.6 compatible with JSF 1.1 sun RI and spring 2.0. If so where can I find the documentation to migrate rich faces to 3.1.6 from the 3.0 version which Iam using in my application.

              your help is highly appreciated!!!


              Yes, it's compatible.

              Remove ajax4jsf-* and richfaces-3.0.* .jar files, add three new richfaces 3.1.6 files.

              • 4. Re: Iam getting the following error while navigating through
                rajesha Indurthi Newbie

                Hi there,
                As per your suggestion I removed the ajax4jsf jar and the richfaces 3.0.jar and placed the richfaces-api-3.1.6.GA.jar,richfaces-impl-3.1.6.GA.jar and the richfaces-ui-3.1.6.GA.jar in the lib folder of my application. However when I restrated and am trying to invoke my application Iam getting the following error :

                ava.lang.NoClassDefFoundError: org.ajax4jsf.taglib.ajax.AjaxCommandButton
                 at com.ibm._jsp._workspace._jspx_meth_a4j_commandButton_4(_workspace.java:460)
                 at com.ibm._jsp._workspace._jspx_meth_h_panelGroup_1(_workspace.java:698)
                 at com.ibm._jsp._workspace._jspx_meth_h_panelGroup_0(_workspace.java:1292)
                 at com.ibm._jsp._workspace._jspx_meth_rich_tab_0(_workspace.java:1319)
                 at com.ibm._jsp._workspace._jspx_meth_rich_tabPanel_0(_workspace.java:3430)
                 at com.ibm._jsp._workspace._jspx_meth_h_form_1(_workspace.java:3462)
                 at com.ibm._jsp._workspace._jspx_meth_f_view_0(_workspace.java:3501)
                 at com.ibm._jsp._workspace._jspService(_workspace.java:183)
                 at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
                 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
                 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
                 at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122)
                 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:205)
                 at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:277)
                 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:321)
                 at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:325)
                 at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:255)
                 at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
                 at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:216)
                 at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
                 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
                 at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:118)
                 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
                 at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
                 at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at com.equifax.ic.tdp.jsf.util.SysOutFilter.doFilter(SysOutFilter.java:34)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at com.equifax.ic.web.ThreadScopeEnablerFilter$1.perform(ThreadScopeEnablerFilter.java:47)
                 at com.equifax.ic.core.kernel.impl.BasicThreadScopeManagement.performThreadScopedAction(BasicThreadScopeManagement.java:90)
                 at com.equifax.ic.core.kernel.impl.BasicThreadScopeManagement.performThreadScopedAction(BasicThreadScopeManagement.java:45)
                 at com.equifax.ic.web.ThreadScopeEnablerFilter.doFilter(ThreadScopeEnablerFilter.java:59)
                 at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
                 at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
                 at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
                 at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
                 at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)
                 at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)
                 at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
                 at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)
                 at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
                 at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
                 at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
                 at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
                 at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
                 at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
                 at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
                 at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
                 at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
                 at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
                 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)


                It is not able to find the AjaxCommandButton class which was earlier in 3.0 version there in the ajax4jsf jar. Please let me know whta you want me to do get rid of this. Thanks in advance for your help


                • 5. Re: Iam getting the following error while navigating through
                  rajesha Indurthi Newbie

                  Hi there,
                  I was able to over come the above error, by changing the taglib directives in my jsp to the right urls for 3.1.6. i.e I have changed the url for the taglib imports in my jspd to

                  <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
                  <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>

                  Now Iam able to startup my application and Iam able to get to the first page of my application using the 3.1.6 version of rivch faces.

                  Thanks for all your help.

                  However , on the first page I have a tab panel. Which used to work just fine in the 3.0 version. with the new 3.1.6 version the jsp is rendered properly but when I try to click on the tabs of the tab panel the request does not seem to be submitted to the server side.
                  Iam enclosing my jsp code for reference :
                  <rich:tabPanel id="ajaxpaneltab" selectedTab="#{workSpaceBean.selectedTab}">

                  <rich:tab label="Queries" id="tab1">
                  <h:panelGroup id="querypanel">
                  <h:panelGroup id="queryactionbar">

                  <a4j:commandButton value="All" id="allqueries" immediate="true" rendered="#{not workSpaceQueryBean.showMyQueries}" styleClass="regularButton" reRender="querypanel" action="#{workSpaceQueryBean.moreQueries}"/>
                  <a4j:commandButton value="Mine" id="myqueries" immediate="true" rendered="#{workSpaceQueryBean.showMyQueries}" styleClass="regularButton" reRender="querypanel" action="#{workSpaceQueryBean.showMyQueries}"/>

                  <a4j:commandLink id="qnavprv1" immediate="true" reRender="querypanel" actionListener="#{workSpaceQueryBean.previousPage}" rendered="#{workSpaceQueryBean.startIndex > 0 && workSpaceQueryBean.showMyQueries }">
                  <h:outputText id="qnavprv1txt" value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="qnavprev2" immediate="true" reRender="querypanel" actionListener="#{workSpaceQueryBean.previousPage}" rendered="#{workSpaceQueryBean.userSpecificStartIndex > 0 && not workSpaceQueryBean.showMyQueries}">
                  <h:outputText id="qnavprev2txt" value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="qnavnext1" immediate="true" reRender="querypanel" actionListener="#{workSpaceQueryBean.nextPage}" rendered="#{workSpaceQueryBean.startIndex+workSpaceQueryBean.pageSize < workSpaceQueryBean.countOfQueriesSpecificToClientNSystem && workSpaceQueryBean.showMyQueries }">
                  <h:outputText id="qnavnext1txt" value="next" styleClass="nextNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="qnavnext2" immediate="true" reRender="querypanel" actionListener="#{workSpaceQueryBean.nextPage}" rendered="#{workSpaceQueryBean.userSpecificStartIndex+workSpaceQueryBean.userSpecificPageSize < workSpaceQueryBean.countOfQueriesSpecificToUser && not workSpaceQueryBean.showMyQueries}">
                  <h:outputText id="qnavnext2txt" value="next" styleClass="nextNav"/>
                  </a4j:commandLink>

                  </h:panelGroup>
                  <h:panelGroup id="querypanelgroup">
                  <rich:dataTable id="workspacequery" cellpadding="0" cellspacing="0" width="100%" value="#{workSpaceQueryBean.queryList}" var="searchQueryDecorated"
                  binding="#{workSpaceQueryBean.queryData}" rowClasses="oddRow,evenRow" border="0" rendered="#{workSpaceQueryBean.queryList != null && workSpaceQueryBean.queryListSize != 0}" headerClass="right">
                  <f:facet name="header" >
                  <rich:columnGroup id="queryHeader">
                  <rich:column id="queryColumn1" colspan="1">
                  <h:outputText id="qcolumn1txt" value="Name" styleClass="headerText" />
                  </rich:column>
                  <rich:column id="qcolumn2" colspan="1">
                  <h:outputText id="qcolumn2txt" value="Date Created" styleClass="headerText"/>
                  </rich:column>
                  <rich:column id="qcolumn3" colspan="1">
                  <h:outputText id="qcolumn3txt" value="Data Source" styleClass="headerText"/>
                  </rich:column>
                  <rich:column id="qcolumn4" colspan="1">
                  <h:outputText id="qcolumn4txt" value="Action" styleClass="headerText"/>
                  </rich:column>
                  </rich:columnGroup>

                  </f:facet>
                  <h:column id="querycolumn">
                  <h:commandLink action="#{workSpaceQueryBean.populateQuery}" styleClass="ulink" id="myquerylink">
                  <h:outputText value="#{searchQueryDecorated.searchQuery.name}" id="myquerytext" />
                  </h:commandLink>
                  </h:column>
                  <h:column id="querydatecolumn">
                  <h:outputText value="#{searchQueryDecorated.searchQuery.lastAccessed.time}" styleClass="ulink" id="myquerydate" >
                  <f:convertDateTime type="date" dateStyle="medium" pattern="dd MMMM yyyy"/>
                  </h:outputText>
                  </h:column>
                  <h:column id="querydatasourcecolumn">
                  <h:outputText value="#{searchQueryDecorated.dataSourceLabel}" styleClass="ulink" id="querydatasource" >
                  </h:outputText>
                  </h:column>
                  <h:column id="querydeletecolumn">
                  <a4j:commandLink onclick="popUp(query);" action="#{workSpaceQueryBean.preparePopUp}" styleClass="ulink" id="deleteQuery" >
                  <h:graphicImage id="deleteQueryImage" alt="Delete" url="/images/delete.gif" style="border:0"/>
                  </a4j:commandLink>
                  </h:column>

                  </rich:dataTable>
                  </h:panelGroup>
                  </h:panelGroup>
                  </rich:tab>

                  <rich:tab label="Data Sets" id="tab2">
                  <h:panelGroup id="setpanel">
                  <h:panelGroup id="setactionbar">
                  <a4j:commandButton value="All" immediate="true" id="allsets" rendered="#{not workSpaceSetBean.showMySets}" styleClass="regularButton" reRender="setpanel" action="#{workSpaceSetBean.moreSets}"/>
                  <a4j:commandButton value="Mine" immediate="true" id="mysets" rendered="#{workSpaceSetBean.showMySets}" styleClass="regularButton" reRender="setpanel" action="#{workSpaceSetBean.showMySets}"/>
                  <f:verbatim>  </f:verbatim>
                  <a4j:commandLink id="setprevnav1" immediate="true" actionListener="#{workSpaceSetBean.previousPage}" rendered="#{workSpaceSetBean.startIndex > 0 && workSpaceSetBean.showMySets }">
                  <h:outputText value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="setnextnav1" immediate="true" actionListener="#{workSpaceSetBean.nextPage}" rendered="#{workSpaceSetBean.startIndex+workSpaceSetBean.pageSize < workSpaceSetBean.countOfSetsSpecificToClientNSystem && workSpaceSetBean.showMySets }">
                  <h:outputText value="next" styleClass="nextNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="setprevnav2" actionListener="#{workSpaceSetBean.previousPage}" rendered="#{workSpaceSetBean.userSpecificStartIndex > 0 && not workSpaceSetBean.showMySets}">
                  <h:outputText value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="setnextnav2" actionListener="#{workSpaceSetBean.nextPage}" rendered="#{workSpaceSetBean.userSpecificStartIndex+workSpaceSetBean.userSpecificPageSize < workSpaceSetBean.countOfSetsSpecificToUser && not workSpaceSetBean.showMySets}">
                  <h:outputText value="next" styleClass="nextNav"/>
                  </a4j:commandLink>


                  </h:panelGroup>
                  <h:panelGroup id="setpanelgroup">
                  <rich:dataTable id="workspacesets" cellpadding="0" cellspacing="0" width="100%" value="#{workSpaceSetBean.setList}" var="setDecorated"
                  binding="#{workSpaceSetBean.setData}" border="0" rowClasses="oddRow,evenRow" rendered="#{workSpaceSetBean.setList != null && workSpaceSetBean.setListSize!= 0}" headerClass="right">
                  <f:facet name="header" >
                  <rich:columnGroup id="setheader">
                  <rich:column id="setcolumn1" colspan="1">
                  <h:outputText id="setcolumn1txt" value="Name" styleClass="headerText" />
                  </rich:column>
                  <rich:column id="setcolumn2" colspan="1">
                  <h:outputText id="setcolumn2txt" value="Date Created" styleClass="headerText"/>
                  </rich:column>
                  <rich:column id="setcolumn3" colspan="1">
                  <h:outputText id="setcolum32txt" value="Data Source" styleClass="headerText"/>
                  </rich:column>
                  <rich:column id="setcolumn4" colspan="1">
                  <h:outputText id="setcolumn4txt" value="Action" styleClass="headerText"/>
                  </rich:column>
                  </rich:columnGroup>
                  </f:facet>


                  <h:column id="setscolumn">
                  <h:commandLink action="#{workSpaceSetBean.viewSearchResults}" styleClass="ulink" id="mysetlink">
                  <h:outputText value="#{setDecorated.contentSet.name}" id="mysettext" />
                  </h:commandLink>
                  </h:column>
                  <h:column id="setdatecolumn">
                  <h:outputText value="#{setDecorated.contentSet.lastAccessed.time}" styleClass="ulink" id="mysetdate" >
                  <f:convertDateTime type="date" dateStyle="medium" pattern="dd MMMM yyyy"/>
                  </h:outputText>
                  </h:column>
                  <h:column id="setdatasourcecolumn">
                  <h:outputText value="#{setDecorated.dataSourceLabel}" styleClass="ulink" id="setdatasource" >
                  </h:outputText>
                  </h:column>
                  <h:column id="setsdeletecolumn">
                  <a4j:commandLink onclick="popUp(set);" action="#{workSpaceSetBean.preparePopUp}" styleClass="ulink" id="deleteSet" >
                  <h:graphicImage id="deleteSetImage" alt="delete" url="/images/delete.gif" style="border:0" />
                  </a4j:commandLink>
                  </h:column>

                  </rich:dataTable>
                  </h:panelGroup>
                  </h:panelGroup>
                  </rich:tab>

                  <rich:tab label="Scenarios" id="tab3">
                  <h:panelGroup id="scenariopanel">
                  <h:panelGroup id="scenarioactionbar">
                  <a4j:commandButton value="All" id="allscenarios" immediate="true" rendered="#{not workSpaceScenarioBean.showMyScenarios}" styleClass="regularButton" reRender="scenariopanel" action="#{workSpaceScenarioBean.moreScenarios}"/>
                  <a4j:commandButton value="Mine" id="myscenarios" immediate="true" rendered="#{workSpaceScenarioBean.showMyScenarios}" styleClass="regularButton" reRender="scenariopanel" action="#{workSpaceScenarioBean.showMyScenarios}"/>
                  <f:verbatim>  </f:verbatim>
                  <a4j:commandLink id="sceprevnav1" actionListener="#{workSpaceScenarioBean.previousPage}" rendered="#{workSpaceScenarioBean.startIndex > 0 && workSpaceScenarioBean.showMyScenarios }">
                  <h:outputText value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="scenextnav1" actionListener="#{workSpaceScenarioBean.nextPage}" rendered="#{workSpaceScenarioBean.startIndex+workSpaceScenarioBean.pageSize < workSpaceScenarioBean.countOfScenariosSpecificToClientNSystem && workSpaceScenarioBean.showMyScenarios }">
                  <h:outputText value="next" styleClass="nextNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="sceprevnav2" actionListener="#{workSpaceScenarioBean.previousPage}" rendered="#{workSpaceScenarioBean.userSpecificStartIndex > 0 && not workSpaceScenarioBean.showMyScenarios}">
                  <h:outputText value="previous" styleClass="prevNav"/>
                  </a4j:commandLink>
                  <a4j:commandLink id="scenextnav2" actionListener="#{workSpaceScenarioBean.nextPage}" rendered="#{workSpaceScenarioBean.userSpecificStartIndex+workSpaceScenarioBean.userSpecificPageSize < workSpaceScenarioBean.countOfScenariosSpecificToUser && not workSpaceScenarioBean.showMyScenarios}">
                  <h:outputText value="next" styleClass="nextNav"/>
                  </a4j:commandLink>

                  </h:panelGroup>
                  <h:panelGroup id="scenariopanelgroup">

                  <rich:dataTable id="workspacescenarios" cellpadding="0" cellspacing="0" width="100%" value="#{workSpaceScenarioBean.scenarioList}" var="scenario"
                  binding="#{workSpaceScenarioBean.scenarioData}" rowClasses="oddRow,evenRow" rendered="#{workSpaceScenarioBean.scenarioList !=null && workSpaceScenarioBean.scenarioListSize != 0}" border="0" headerClass="right" >
                  <f:facet name="header" >
                  <rich:columnGroup id="scenarioheader">
                  <rich:column id="scecolumn1" colspan="1">
                  <h:outputText id="scecolumn1txt" value="Name" styleClass="headerText" />
                  </rich:column>
                  <rich:column id="scecolumn2" colspan="1">
                  <h:outputText id="scecolumn2txt" value="Date Created" styleClass="headerText"/>
                  </rich:column>
                  <rich:column id="scecolumn3" colspan="1">
                  <h:outputText id="scecolumn3txt" value="Action" styleClass="headerText"/>
                  </rich:column>
                  </rich:columnGroup>
                  </f:facet>

                  <h:column id="scenarioscolumn">
                  <h:commandLink action="#{workSpaceScenarioBean.viewScenario}" styleClass="ulink" id="myscenariolink">
                  <h:outputText value="#{scenario.name}" id="myscenariotext" />
                  </h:commandLink>
                  </h:column>
                  <h:column id="scenariodatecolumn">
                  <h:outputText value="#{scenario.lastAccessed.time}" styleClass="ulink" id="myscenariodate" >
                  <f:convertDateTime type="date" dateStyle="medium" pattern="dd MMMM yyyy"/>
                  </h:outputText>
                  </h:column>
                  <h:column id="scenariosdeletecolumn">
                  <a4j:commandLink onclick="popUp(scenario);" action="#{workSpaceScenarioBean.preparePopUp}" styleClass="ulink" id="deleteScenario" >
                  <h:graphicImage id="deleteScenrioImage" alt="Delete" url="/images/delete.gif" style="border:0"/>
                  </a4j:commandLink>
                  </h:column>

                  </rich:dataTable>

                  </h:panelGroup>
                  </h:panelGroup>
                  </rich:tab>

                  <rich:tab label="Folders" id="tab4">
                  <h:panelGroup id="folderactionbar">
                  <h:commandButton value="Create Folder"
                  action="#{workSpaceBean.viewMyFolder}"
                  styleClass="regularButton" id="createfolder" />
                  </h:panelGroup>
                  <h:panelGroup id="foldergroup">
                  <!-- retained for toggle -->

                  <rich:tree id="library" style="width:300px" value="#{library.data}" var="item" nodeFace="#{item.type}">
                  <rich:treeNode id="myfolder" type="myfolder">
                  <h:commandLink action="#{shareFolderBean.init}" value="#{item.name}" id="foldertext">
                  <f:param name="folderName" value="#{item.name}" />
                  </h:commandLink>
                  <f:verbatim>
                     
                  </f:verbatim>
                  <a4j:commandLink onclick="popUp(folder);" action="#{shareFolderBean.preparePopUp}" styleClass="ulink" id="deleteScenario">
                  <h:graphicImage id="deleteFolderImage" alt="Delete" url="/images/delete.gif" style="border:0"/>
                  <f:param name="folderName" value="#{item.name}" />
                  </a4j:commandLink>

                  </rich:treeNode>
                  <rich:treeNode id="artefacttype" type="artefacttype">
                  <h:outputText id="artefacttypetext" value="#{item.title}" />
                  </rich:treeNode>
                  <rich:treeNode id="artefact" type="artefact">
                  <h:outputText id="artefacttext" value="#{item.title}" />
                  </rich:treeNode>
                  </rich:tree>

                  </h:panelGroup>

                  </rich:tab>

                  </rich:tabPanel>



                  • 6. Re: Iam getting the following error while navigating through
                    Ilya Shaikovsky Master

                    add rich:messages component to your page.

                    • 7. Re: Iam getting the following error while navigating through
                      rajesha Indurthi Newbie

                      Hi Ilay,
                      I have added the rich:messages component to my jsp, as below inside my h:form :

                      <rich:messages passedLabel="Data is allowed to be stored." layout="list">
                       <f:facet name="header">
                       <h:outputText value="Entered Data Status:"></h:outputText>
                       </f:facet>
                       <f:facet name="passedMarker">
                       <h:graphicImage value="/images/passed.gif" />
                       </f:facet>
                       <f:facet name="errorMarker">
                       <h:graphicImage value="/images/error.gif" />
                       </f:facet>
                       </rich:messages>


                      Unfortunately I dont see any messages when I try to click on my tab. When I click on the tab the page just refreshes and stays there. Should I do anything different to get the tab panel working in 3.1.6 . I had this working in 3.0.
                      Please do let me know your thoughts.
                      Thanks in advance!!!


                      • 8. Re: Iam getting the following error while navigating through
                        rajesha Indurthi Newbie

                        Hi Ilay,
                        I forgot to mention something. I have added the rich:messages to my form but I have not added any validations to my tabpanel component. Should I add some validations to my tab panel component, if so what should I add.

                        • 10. Re: Iam getting the following error while navigating through
                          rajesha Indurthi Newbie

                          Hi ilay,
                          I have copied the phase tracker to the lib of my application. Iam trying to get a simple paneltab to get running in my application using the richfaces 3.1.6 version. This component used to work fine in my application earlier when I was using 3.0.
                          The jsp code for my panel tab is as follows :

                          <html>
                          <head>
                          <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
                          <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
                          <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
                          <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
                          </head>
                          <body>
                          <div id="wrap"><f:view>
                          
                          <h:form id="workspoof">
                          
                           <rich:tabPanel id="ajaxpaneltab" selectedTab="#{workSpaceBean.selectedTab}">
                          
                           <rich:tab label="testtab1" id="tab1">
                           <h:panelGroup id="panel1">
                           <h:outputText value="tab1"/>
                           </h:panelGroup>
                           </rich:tab>
                          
                           <rich:tab label="testtab2" id="tab2">
                           <h:panelGroup id="panel2">
                           <h:outputText value="tab2"/>
                           </h:panelGroup>
                           </rich:tab>
                          
                           <rich:tab label="testtab3" id="tab3">
                           <h:panelGroup id="panel3">
                           <h:outputText value="tab3"/>
                           </h:panelGroup>
                           </rich:tab>
                          
                           <rich:tab label="testtab4" id="tab4">
                           <h:panelGroup id="panel4">
                           <h:outputText value="tab4"/>
                           </h:panelGroup>
                           </rich:tab>
                          
                           </rich:tabPanel>
                          </h:form>
                          </f:view>
                          </div>
                          </body>
                          </html>


                          The out put when I log into ths jsp from the phase Tracker is :
                          [3/18/09 11:24:25:862 EDT] 00000028 helper I BEFORE RESTORE_VIEW 1
                          
                          [3/18/09 11:24:25:893 EDT] 00000028 helper I BEFORE RESTORE_VIEW 1
                          
                          [3/18/09 11:24:25:909 EDT] 00000028 helper I AFTER RESTORE_VIEW 1
                          
                          [3/18/09 11:24:25:909 EDT] 00000028 helper I AFTER RESTORE_VIEW 1
                          
                          [3/18/09 11:24:25:909 EDT] 00000028 helper I BEFORE RENDER_RESPONSE 6
                          
                          [3/18/09 11:24:25:909 EDT] 00000028 helper I BEFORE RENDER_RESPONSE 6
                          
                          [3/18/09 11:24:25:924 EDT] 00000028 helper I AFTER RENDER_RESPONSE 6
                          
                          [3/18/09 11:24:25:924 EDT] 00000028 helper I AFTER RENDER_RESPONSE 6


                          the output after I click on tab # 2 is :

                          [3/18/09 11:27:55:285 EDT] 00000028 helper I BEFORE RESTORE_VIEW 1
                          
                          [3/18/09 11:27:55:285 EDT] 00000028 helper I BEFORE RESTORE_VIEW 1
                          
                          [3/18/09 11:27:55:285 EDT] 00000028 helper I AFTER RESTORE_VIEW 1
                          
                          [3/18/09 11:27:55:300 EDT] 00000028 helper I AFTER RESTORE_VIEW 1
                          
                          [3/18/09 11:27:55:316 EDT] 00000028 helper I BEFORE RENDER_RESPONSE 6
                          
                          [3/18/09 11:27:55:316 EDT] 00000028 helper I BEFORE RENDER_RESPONSE 6
                          
                          [3/18/09 11:27:55:316 EDT] 00000028 helper I AFTER RENDER_RESPONSE 6
                          
                          [3/18/09 11:27:55:331 EDT] 00000028 helper I AFTER RENDER_RESPONSE 6


                          The component is not working as expected. On clicking tab #2 , the page just refreshes.

                          Please let me know what you think. Do I have to do anything different to get tabpanel working in 3.1.6.

                          • 11. Re: Iam getting the following error while navigating through
                            Ilya Shaikovsky Master

                            yup.. seems I missed one detail in you filter configuration.. define RichFaces filter before all the others in web.xml.

                            • 12. Re: Iam getting the following error while navigating through
                              Ilya Shaikovsky Master

                              so did you done with moving filter and mapping definitions to the top before the other ones?

                              • 13. Re: Iam getting the following error while navigating through
                                rajesha Indurthi Newbie

                                Hi Ilya,
                                was in the other thread with 'n' and so dint realise that you have actually replied. will do the filter change and let you know. Thanks

                                • 14. Re: Iam getting the following error while navigating through
                                  rajesha Indurthi Newbie

                                  Ilya,
                                  Nop changing the filter position in the web.xml did not work either. Surprisingly it is working fine with RF version 3.1.5. Please find my web.xml below

                                  <?xml version="1.0" encoding="UTF-8"?>
                                  <web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="WebApp_1236806764494" version="2.4" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
                                  <display-name>Test Data Platform Workbench</display-name>
                                  Test Data Platform Workbench
                                  <context-param>
                                  <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
                                  <param-value>server</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>javax.faces.application.CONFIG_FILES</param-name>
                                  <param-value>/WEB-INF/faces-config.xml</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>com.sun.faces.validateXml</param-name>
                                  <param-value>true</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>com.sun.faces.verifyObjects</param-name>
                                  <param-value>false</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>tree.control.images</param-name>
                                  <param-value>/images</param-value>
                                  </context-param>
                                  <context-param>
                                  <param-name>org.richfaces.SKIN</param-name>
                                  <param-value>blueSky</param-value>
                                  </context-param>
                                  <!--
                                  <filter-name>icLogin</filter-name>
                                  <filter-class>com.equifax.ic.security.web.filter.LoginUrlPassthroughFilter</filter-class>


                                  <filter-name>Agent</filter-name>
                                  <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>


                                  <filter-name>ThreadScopeEnabler</filter-name>
                                  <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>


                                  <filter-name>ProtectedPageFilter</filter-name>
                                  <filter-class>com.equifax.ic.security.web.filter.ProtectedPageFilter</filter-class>
                                  -->

                                  <display-name>RichFaces Filter</display-name>
                                  <filter-name>richfaces</filter-name>
                                  <filter-class>org.ajax4jsf.Filter</filter-class>


                                  <filter-name>ThreadScopeEnabler</filter-name>
                                  <filter-class>com.equifax.ic.web.ThreadScopeEnablerFilter</filter-class>


                                  <filter-name>SystemOutFilter</filter-name>
                                  <filter-class>com.equifax.ic.tdp.jsf.util.SysOutFilter</filter-class>

                                  <!-- <filter-mapping>
                                  <filter-name>icLogin</filter-name>
                                  <url-pattern>/search/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>icLogin</filter-name>
                                  <url-pattern>/global/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>icLogin</filter-name>
                                  <url-pattern>/gen/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>ThreadScopeEnabler</filter-name>
                                  <url-pattern>/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>Agent</filter-name>
                                  <url-pattern>/search/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>Agent</filter-name>
                                  <url-pattern>/global/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>Agent</filter-name>
                                  <url-pattern>/gen/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>ProtectedPageFilter</filter-name>
                                  <url-pattern>/search/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>ProtectedPageFilter</filter-name>
                                  <url-pattern>/global/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>ProtectedPageFilter</filter-name>
                                  <url-pattern>/gen/*</url-pattern>
                                  </filter-mapping> -->
                                  <filter-mapping>
                                  <filter-name>richfaces</filter-name>
                                  <servlet-name>Faces Servlet</servlet-name>
                                  REQUEST
                                  FORWARD
                                  INCLUDE
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>ThreadScopeEnabler</filter-name>
                                  <url-pattern>/*</url-pattern>
                                  </filter-mapping>
                                  <filter-mapping>
                                  <filter-name>SystemOutFilter</filter-name>
                                  <url-pattern>/*</url-pattern>
                                  </filter-mapping>



                                  <servlet-name>InitializationServlet</servlet-name>
                                  <servlet-class>com.equifax.aspire.infrastructure.kernel.web.InitializationServlet</servlet-class>
                                  <init-param id="InitParam_1">
                                  <param-name>initializationClasses</param-name>
                                  <param-value>com.equifax.ic.core.kernel.impl.InterConnectSystemInitializer</param-value>
                                  </init-param>
                                  <init-param id="InitParam_2">
                                  <param-name>requireCleanStart</param-name>
                                  <param-value>false</param-value>
                                  </init-param>
                                  <load-on-startup>5</load-on-startup>

                                  <!-- Faces Servlet -->

                                  <servlet-name>Faces Servlet</servlet-name>
                                  <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
                                  <load-on-startup>6</load-on-startup>


                                  <servlet-mapping id="ServletMapping_1">
                                  <servlet-name>InitializationServlet</servlet-name>
                                  <url-pattern>/initialization</url-pattern>
                                  </servlet-mapping>

                                  <!-- Faces Servlet Mapping -->
                                  <servlet-mapping>
                                  <servlet-name>Faces Servlet</servlet-name>
                                  <url-pattern>*.faces</url-pattern>
                                  </servlet-mapping>
                                  <welcome-file-list>
                                  <welcome-file>global/index.jsp</welcome-file>
                                  </welcome-file-list>
                                  <error-page>
                                  <exception-type>java.lang.Throwable</exception-type>
                                  /global/errorpage.jsp
                                  </error-page>
                                  <error-page>
                                  <error-code>500</error-code>
                                  /global/errorpage.jsp
                                  </error-page>
                                  <error-page>
                                  <error-code>404</error-code>
                                  /global/errorpage.jsp
                                  </error-page>
                                  <!--
                                  <resource-ref>
                                  <res-ref-name>jdbc/testDataRepoDS</res-ref-name>
                                  <res-type>javax.sql.DataSource</res-type>
                                  <res-auth>Container</res-auth>
                                  </resource-ref>
                                  -->
                                  </web-app>


                                  Let me know if you need anyting frm me

                                  1 2 3 Previous Next