Tomahawk JSCookmenu

Hi everybody,
i have a problem with jscookmenu from the tomahawk component lib:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="https://ajax4jsf.dev.java.net/ajax" prefix="a4j" %>
<%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
<link rel="stylesheet" type="text/css" href="css\styles.css" />
<f:view>
     <h3>Navigation</h3>
     <h:form id="frmNavi">
          <h:panelGrid styleClass="panelGrid" columns="4" id="panelGrid_User">
               <h:outputLabel styleClass="gridLabel" value="Name: " for="navi_surname"/>
               <h:outputText styleClass="outputText" value="#{Navi.fullName}" id="navi_surname"/>
               <h:outputLabel styleClass="gridLabel" value="Abteilung: " for="navi_department"/>
               <h:outputText styleClass="outputText" value="#{Navi.user.department}" id="navi_department"/>
          </h:panelGrid>
          <h:panelGrid columns = "1" styleClass="menuBg" >
             <h:panelGrid columns = "2" styleClass="menu" >
                  <h:selectOneMenu id="selPerson" value="#{Navi.user}" rendered="true">
                         <f:selectItems value="#{Navi.list}"/>
                         <a4j:support event="onchange" reRender="navi_surname,navi_department"/>
                    </h:selectOneMenu>
                     <t:jscookMenu layout="hbr" theme="ThemeOffice" id="menu" rendered="true" >
                      <t:navigationMenuItem itemLabel="Urlaubsbuchung" action="#{Navi.toUrlaubsbuchnung}" id="menuItem_buchung">
                           <t:navigationMenuItem itemLabel="Urlaubsbuchung_1" action="#{Navi.toUrlaubsbuchnung}" id="menuItem_buchung_1"/>
                      </t:navigationMenuItem>
                      <t:navigationMenuItem itemLabel="Jahres�bersicht" action="#{Navi.toJahresuebersicht}" id="menuItem_uebersicht">
                      </t:navigationMenuItem>
                      <t:navigationMenuItem itemLabel="Urlaubsantr�ge" action="#{Navi.toAntraege}" id="menuItem_antraege">
                         </t:navigationMenuItem>
                         <t:navigationMenuItem itemLabel="Urlaubskonto" action="#{Navi.toKonto}" id="menuitem_konto">
                         </t:navigationMenuItem>
                         <t:navigationMenuItem itemLabel="Abmelden" split="true" action="#{Navi.abmelden}" id="menuItem_abmelden">
                         </t:navigationMenuItem>
                    </t:jscookMenu>
             </h:panelGrid>
      </h:panelGrid>
          <p>
          <h:messages />
     </h:form>
</f:view>Klicking the menu items does not invoke the action in the backing bean. Nothing happens. What is the problem? JScript is enabled, the rollover effect works...
Can anybody help?
Regards,
ak

I had the same problem - fixed it by adding the following line:
<f:view>
<h:form>
<input type="hidden" name="jscook_action" />
<t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="css/jscookmenu">
<t:navigationMenuItem id="nav_1" actionListener="#{backing_test.actionListener}"
     itemLabel="Testing"/>
</t:jscookMenu>
</h:form>
</f:view>

Similar Messages

  • Navigation issue using jsf, tiles, tomahawk  :loosing faces context

    Hi all,
    I enhanced my webapp using tomahawks jscookmenu.
    Triggering 1 menuItem the wanted pages displays correctly but the next click anywhere in the application shows this error:
    org.apache.jasper.JasperException: javax.faces.FacesException: Faces context not found. getResponseWriter will fail. Check if the FacesServlet has been initialized at all in your web.xml configuration fileand if you are accessing your jsf-pages through the correct mapping. E.g.: if your FacesServlet is mapped to  *.jsf (with the <servlet-mapping>-element), you need to access your pages as 'sample.jsf'. If you tried to access 'sample.jsp', you'd get this error-message.The web config is like that:
    <?xml version="1.0"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
         version="2.4">
         <context-param>
              <description>Tiles MyFaces Config</description>
              <param-name>tiles-definitions</param-name>
              <param-value>/WEB-INF/tiles.xml</param-value>
         </context-param>
         <context-param> 
              <param-name>javax.faces.DEFAULT_SUFFIX</param-name> 
              <param-value>.jsp</param-value>
         </context-param>
         <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>server</param-value>
         </context-param>
         <context-param>
              <param-name>javax.faces.PARTIAL_STATE_SAVING_METHOD</param-name>
              <param-value>off</param-value>
         </context-param>
         <!-- context-params mafaces -->
         <context-param>
              <param-name>org.apache.myfaces.READONLY_AS_DISABLED_FOR_SELECTS</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.RENDER_VIEWSTATE_ID</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.STRICT_XHTML_LINKS</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.CONFIG_REFRESH_PERIOD</param-name>
              <param-value>this is a bug in myfaces</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.ADD_RESOURCE_CLASS</param-name>
              <param-value>org.apache.myfaces.renderkit.html.util.DefaultAddResource</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.RESOURCE_VIRTUAL_PATH</param-name>
              <param-value>/faces/myFacesExtensionResource</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
              <param-value>false</param-value>
         </context-param>
         <!-- StartupServletContextListener -->
         <listener>
              <listener-class>
                   org.apache.myfaces.webapp.StartupServletContextListener
              </listener-class>
         </listener>
         <!-- Faces MyFacesExtensionsFilter -->
         <filter>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>
                   org.apache.myfaces.webapp.filter.ExtensionsFilter
              </filter-class>
              <init-param>
                   <param-name>uploadMaxFileSize</param-name>
                   <param-value>1m</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>/faces/*</url-pattern>
         </filter-mapping>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <!-- Faces Servlet -->
         <servlet>
              <servlet-name>Faces Servlet</servlet-name>
              <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Faces Servlet Mapping -->
         <servlet-mapping>
              <servlet-name>Faces Servlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
         <servlet>
              <servlet-name>imageServlet</servlet-name>
              <servlet-class>my.com.xplorer.gui.v.ImageServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>imageServlet</servlet-name>
              <url-pattern>/image/*</url-pattern>
         </servlet-mapping>
    </web-app>So I lost the faces context using the jscookmenu, I believe.
    My webapp uses tiles, and there is 2 navigation possibilities: tomahawaks jscookmenu and tomahawaks commandNavigation.
    Latter one runs ok, I do use
    <t:panelNavigation id="nav" styleClass="navigation"
         itemClass="navitem" separatorClass="navseparator" 
         activeItemClass="navitem_active" openItemClass="navitem_open">
         <t:commandNavigation action="#{newsHandler.userRequest}" value="#{newsHandler.rss_source_name[0]}">
              <f:param name="navigator"  value="/jsf/news.jsp" />
         </t:commandNavigation>
    </t:panelNavigation>for this kind of navigation I do not use any navigation rules in faces config. To dynamically include the desired faces page I do that:
    <%
         String s = (String)request.getParameter("navigator");
         if (s == null || s.length() == 0 ) {
              s =  "/jsf/explorer.jsp";
    %>
    <jsp:include page="<%=s %>" />That does work.
    Now like I said I did enhance the app by adding tomahawks jscookmenu.
    Therefore I use the following in another tile:
    <t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="resources/css">
              <%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel
                 Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl, vur, vul
                 respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
            */%>
      <t:navigationMenuItem id="nav_0" itemLabel="#{localz.Xplorer}" action="Xplorer" />
    </t:jscookMenu>For this kind of navigation I tried to use navigation rules and the following show the config:
         <navigation-rule>
           <from-view-id>/jsf/*</from-view-id>
            <navigation-case>
                <from-outcome>Xplorer</from-outcome>
                <to-view-id>/jsf/tileMain.jsp?navigator=/jsf/explorer.jsp</to-view-id>
            </navigation-case>
            <navigation-case>
                <from-outcome>Tabs</from-outcome>
                <to-view-id>/jsf/tileMain.jsp?navigator=/jsf/tab.jsp</to-view-id>
            </navigation-case>
         </navigation-rule>That works for the first click. The desired page is shown. The nect click anywhere in the app then show the mentioned error.
    Using tiles I use this view-handler
    <view-handler>org.apache.myfaces.tomahawk.application.jsp.JspTilesViewHandlerImpl</view-handler>One question is: can I use another view-handler on top of the above one? So I could extend com.sun.facelets.FaceletViewHandler and try my luck with this? Or is the solution pointed out just a millisecond from being ok, I just don�t see it?
    Maybe you need to know a bit more on how I use tiles:
    That is the page I start with. It inserts the tile shown underneath.
    <f:view locale="#{userLocale}">
         <f:loadBundle var="localz" basename="my.com.xplorer.gui.v.Lokalization" />
         <f:loadBundle var="bundle" basename="my.com.xplorer.gui.v.messages" />
         <f:subview id="tileMain">
              <h:form id="myJsfForm" styleClass="standard">
                        <tiles:insert definition="template" flush="false" />
              </h:form>
         </f:subview>
         <h:messages />
    </f:view>
    </html>The foolowing is the tile structure.
    The bodi tile is the dynamic part. Above you see that I dynamically load the pages into it.
    <t:htmlTag value="div" styleClass="pageLayout">
         <h:panelGrid columns="2" align="center" styleClass="pageContent">
              <f:facet name="header">
                   <f:subview id="header">
                        <tiles:insert attribute="header" flush="false" />
                   </f:subview>
              </f:facet>
              <t:htmlTag value="div" styleClass="pageMenu">
                   <f:subview id="menu">
                        <tiles:insert attribute="menu" flush="false" />
                   </f:subview>
              </t:htmlTag>
              <t:htmlTag value="div" styleClass="pageContentWoMenu">
                   <f:subview id="bodi">
                        <tiles:insert attribute="bodi" flush="false" />
                   </f:subview>
              </t:htmlTag>
              <f:facet name="footer">
                   <f:subview id="footer">
                        <tiles:insert attribute="footer" flush="false" />
                   </f:subview>
              </f:facet>
         </h:panelGrid>
    </t:htmlTag>Maybe you also need to know the tiles config?
    <tiles-definitions>
       <definition name="template" path="/jsf/tileTemplate.jsp">
              <put name="header"  value="/jsf/header.jsp"/>
          <put name="menu"    value="/jsf/menu.jsp"/>
          <put name="bodi"    value="/jsf/bodi.jsp"/>
          <put name="footer"    value="/jsf/footer.jsp"/>
       </definition>
       <definition name="/jsf/news.tiles" extends="template">
              <put name="bodi"  value="/jsf/news.jsp"/>
       </definition>
       <definition name="/jsf/explorer.tiles" extends="template">
              <put name="bodi"  value="/jsf/explorer.jsp"/>
       </definition>
       <definition name="/jsf/tab.tiles" extends="template">
              <put name="bodi"  value="/jsf/tab.jsp"/>
       </definition>If you have read until here: thanks very much.
    There seems to be a sort of gap regarding jsf navigation documentation.
    I mean the ordinary way is covered everywhere (the book I have covers that too), but jscookmenu seems not to fit in too good. I also tried it with an actionslistener in the jscookmenu but that failed, too. So a link to documents telling the truth on jsf navigation I would appreciate very much.
    Kind regards
    Belle Ile En Mer

    This is the error i am getting into now..
    exception
    org.apache.jasper.JasperException: An exception occurred processing JSP page /welcomeJSF.jsp at line 19
    16: This file is an entry point for JavaServer Faces application.
    17: --%>
    18: <body>
    19: <f:view>
    20: <h3><h:outputText value="CHOULTRY'S IN BANGALORE" /></h3>
    21: <h:form>
    22: <table border="0">
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:505)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:416)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    root cause
    java.lang.RuntimeException: Cannot find FacesContext
         javax.faces.webapp.UIComponentClassicTagBase.getFacesContext(UIComponentClassicTagBase.java:1811)
         javax.faces.webapp.UIComponentClassicTagBase.setJspId(UIComponentClassicTagBase.java:1628)
         org.apache.jsp.welcomeJSF_jsp._jspx_meth_f_005fview_005f0(welcomeJSF_jsp.java:112)
         org.apache.jsp.welcomeJSF_jsp._jspService(welcomeJSF_jsp.java:86)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

  • Help me in building menus dynamically to database

    i have the following code whic is developed normal html and .js and .css pages
    i need to deploy all these in a webserver and make the menus dynamically
    i am sending he following code plz help me
    since i am new to java and jsf, jsp i am unable to perfrom the task
    mainpage.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
         <head>
              <title></title>
         </head>
         <frameset rows="93,*" border="0" frameborder="0">
              <frame src="head.htm" name="top" scrolling="no">
                        <frameset cols="130,*" border="0" frameborder="0">
                   <frame name="navi" id="navi" src="nag.htm" scrolling="no" border="0" noresize>
                        <frame name="main" id="main" src="welcome.htm" scrolling="no">
              </frameset>
         </frameset>
    </html>
    menupage.html
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head></head>
    <body>
      <script type='text/javascript'>function Go(){return}</script>
      <script type='text/javascript' src='verticalmenu_var.js'></script>
      <script type='text/javascript' src='vermenu132_compact.js'></script>
      <noscript>Your browser does not support script</noscript>
    </body>
    </html>and two javascript files they also i am pasting plz help me out how to link up the menu with the database in JSF using the following and above said codes
    verticalmenus.js
         var NoOffFirstLineMenus=9;               // Number of main menu  items
                                  // Colorvariables:
                                  // Color variables take HTML predefined color names or "#rrggbb" strings
                                  //For transparency make colors and border color ""
         var LowBgColor="#336699";               // Background color when mouse is not over
         var HighBgColor="#009900";               // Background color when mouse is over
         var FontLowColor="#ffffff";               // Font color when mouse is not over
         var FontHighColor="#ffffff";               // Font color when mouse is over
         var BorderColor="#ffffff";               // Border color
         var BorderWidthMain=1;               // Border width main items
         var BorderWidthSub=1;               // Border width sub items
         var BorderBtwnMain=1;               // Borderwidth between elements
         var BorderBtwnSub=1;               // Borderwidth between elements sub items
         var FontFamily="arial,comic sans ms,technical";     // Font family menu items
         var FontSize=11;                    // Font size menu items
         var FontBold=1;                    // Bold menu items 1 or 0
         var FontItalic=0;                    // Italic menu items 1 or 0
         var MenuTextCentered="left";          // Item text position left, center or right
         var MenuCentered="left";               // Menu horizontal position can be: left, center, right
         var MenuVerticalCentered="top";          // Menu vertical position top, middle,bottom or static
         var ChildOverlap=0.2;               // horizontal overlap child/ parent
         var ChildVerticalOverlap=0.2;               // vertical overlap child/ parent
         var StartTop=50;                    // Menu offset x coordinate. If StartTop is between 0 and 1 StartTop is calculated as part of windowheight
         var StartLeft=0;                    // Menu offset y coordinate. If StartLeft is between 0 and 1 StartLeft is calculated as part of windowheight
         var VerCorrect=0;                    // Multiple frames y correction
         var HorCorrect=0;                    // Multiple frames x correction
         var DistFrmFrameBrdr=2;               // Distance between main menu and frame border
         var LeftPaddng=8;                    // Left padding
         var TopPaddng=2;               // Top padding. If set to -1 text is vertically centered
         var FirstLineHorizontal=0;               // Number defines to which level the menu must unfold horizontal; 0 is all vertical
         var MenuFramesVertical=1;               // Frames in cols or rows 1 or 0
         var DissapearDelay=1000;               // delay before menu folds in
         var UnfoldDelay=100;               // delay before sub unfolds     
         var TakeOverBgColor=1;               // Menu frame takes over background color subitem frame
         var FirstLineFrame="navi";               // Frame where first level appears
         var SecLineFrame="main";               // Frame where sub levels appear
         var DocTargetFrame="main";               // Frame where target documents appear
         var TargetLoc="";                    // span id for relative positioning
         var MenuWrap=1;                    // enables/ disables menu wrap 1 or 0
         var RightToLeft=0;                    // enables/ disables right to left unfold 1 or 0
         var BottomUp=0;                    // enables/ disables Bottom up unfold 1 or 0
         var UnfoldsOnClick=0;               // Level 1 unfolds onclick/ onmouseover
         var BaseHref="file:///C|/rao/projects/changedframework/WebRoot/pages";                    // BaseHref lets you specify the root directory for relative links.
                                  // The script precedes your relative links with BaseHref
                                  // For instance:
                                  // when your BaseHref= "http://www.MyDomain/" and a link in the menu is "subdir/MyFile.htm",
                                  // the script renders to: "http://www.MyDomain/subdir/MyFile.htm"
                                  // Can also be used when you use images in the textfields of the menu
                                  // "MenuX=new Array("<img src=\""+BaseHref+"MyImage\">"
                                  // For testing on your harddisk use syntax like: BaseHref="file:///C|/MyFiles/Homepage/"
         //var Arrws=[BaseHref+"/resources/tri.gif",5,10,,,,BaseHref+"/resources/trileft.gif",5,10,BaseHref+"/resources/triup.gif",10,5];
                                  // Arrow source, width and height.
                                  // If arrow images are not needed keep source ""
         var MenuUsesFrames=1;               // MenuUsesFrames is only 0 when Main menu, submenus,
                                  // document targets and script are in the same frame.
                                  // In all other cases it must be 1
         var OverFormElements=1;               // Set this to 0 when the menu does not need to cover form elements.
         var RememberStatus=0;               // RememberStatus: When set to 1, menu unfolds to the presetted menu item.
         var BuildOnDemand=1;               // 1/0 When set to 1 the sub menus are build when the parent is moused over
         var BgImgLeftOffset=5;               // Only relevant when bg image is used as rollover
         var ScaleMenu=0;                    // 1/0 When set to 0 Menu scales with browser text size setting
                                  // When set to 2 only the relevant main item stays highligthed
                                  // The preset is done by setting a variable in the head section of the target document.
                                  // <head>
                                  //     <script type="text/javascript">var SetMenu="2_2_1";</script>
                                  // </head>
                                  // 2_2_1 represents the menu item Menu2_2_1=new Array(.......
         var HooverBold=0;                    // 1 or 0
         var HooverItalic=0;                    // 1 or 0
         var HooverUnderLine=0;               // 1 or 0
         var HooverTextSize=0;               // 0=off, number is font size difference on hoover
         var HooverVariant=0;               // 1 or 0
                                  // Below some pretty useless effects, since only IE6+ supports them
                                  // I provided 3 effects: MenuSlide, MenuShadow and MenuOpacity
                                  // If you don't need MenuSlide just leave in the line var MenuSlide="";
                                  // delete the other MenuSlide statements
                                  // In general leave the MenuSlide you need in and delete the others.
                                  // Above is also valid for MenuShadow and MenuOpacity
                                  // You can also use other effects by specifying another filter for MenuShadow and MenuOpacity.
                                  // You can add more filters by concanating the strings
         var MenuSlide="";
         //var MenuSlide="progid:DXImageTransform.Microsoft.RevealTrans(duration=.5, transition=19)";
         //var MenuSlide="progid:DXImageTransform.Microsoft.GradientWipe(duration=.5, wipeStyle=1)";
         var MenuShadow="";
         //var MenuShadow="progid:DXImageTransform.Microsoft.DropShadow(color=#888888, offX=2, offY=2, positive=1)";
         //var MenuShadow="progid:DXImageTransform.Microsoft.Shadow(color=#888888, direction=135, strength=3)";
         var MenuOpacity="";
         //var MenuOpacity="progid:DXImageTransform.Microsoft.Alpha(opacity=85)";
         //function BeforeStart(){return}
         //function AfterBuild(){return}
         //function BeforeFirstOpen(){return}
         //function AfterCloseAll(){return}
    // Menu tree:
    // MenuX=new Array("ItemText","Link","background image",number of sub elements,height,width,"bgcolor","bghighcolor",
    //     "fontcolor","fonthighcolor","bordercolor","fontfamily",fontsize,fontbold,fontitalic,"textalign","statustext");
    // Color and font variables defined in the menu tree take precedence over the global variables
    // Fontsize, fontbold and fontitalic are ignored when set to -1.
    // For rollover images ItemText or background image format is:  "rollover?"+BaseHref+"Image1.jpg?"+BaseHref+"Image2.jpg"
    Menu1=new Array("DataCollection","","",6,20,120,"","","","","","",-1,-1,-1,"","");
         Menu1_1=new Array("Record Based","","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_1=new Array("Data Entry","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_2=new Array("Account","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_1_3=new Array("T","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_2=new Array("File Based","","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","Nation");
              Menu1_2_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_2_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_2_3=new Array("Senarai Kertas Siasat","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_3=new Array("Auto Upload","ATR_Eksibit_Form.htm","",4,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_3=new Array("Senarai Kompaun","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_3_4=new Array("Senarai LJKR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_4=new Array("Validation Failure","Permohonan_Keluar_Eksibit_Form.htm","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_4_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","Football Every Day");
              Menu1_4_2=new Array("Senarai ATR","ATR_Eksibit_Form.htm","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_4_3=new Array("Senarai Eksibit","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_5=new Array("Pendakwaan","Permohonan_Keluar_Eksibit_Form.htm","",3,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_2=new Array("Senarai ATR","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
              Menu1_5_3=new Array("Senarai LKKP","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu1_6=new Array("OKT","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu2=new Array("Statistical Analysis","","",1,20,120,"","","","","","",-1,-1,-1,"","");
         Menu2_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu3=new Array("Discovery Analysis","","",1,20,120,"","","","","","",-1,-1,-1,"","");
         Menu3_1=new Array("Carian","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu4=new Array("Case Management","","",2,20,120,"","","","","","",-1,-1,-1,"","");
         Menu4_1=new Array("Operasi","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu4_2=new Array("Pengurusan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu5=new Array("Content Management","","",3,20,120,"","","","","","",-1,-1,-1,"","");
         Menu5_1=new Array("e-LesenNiaga","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu5_2=new Array("e-Tribunal","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu5_3=new Array("e-Aduan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu6=new Array("Audit log","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    Menu7=new Array("Administration","","",6,20,120,"","","","","","",-1,-1,-1,"","");
         Menu7_1=new Array("Akta","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_2=new Array("Jenis Cetak Rompak","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_3=new Array("Jenis Eksibit","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_4=new Array("Jenama","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_5=new Array("Karya Cetak Rompak","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
         Menu7_6=new Array("Kawasan","","",0,20,120,"#e1ffb3","#edf6d9","#404040","#0E61AE","#5eb101","",-1,0,-1,"left","");
    Menu8=new Array("Pentadbiran","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    Menu9=new Array("Tukar Kata Laluan","","",0,20,120,"","","","","","",-1,-1,-1,"","");
    plz help me out in doing so and save me
    thank you

    Please view open source JSF menu
    http://myfaces.apache.org/tomahawk/jscookmenu.html

  • Tomahawk and t:jscookmenu error

    Hi,
    I am getting ExtensionsFilter not correctly configured error using t:jscookmenu. I have all the required extensions in my web.xml. I am not sure what I'm missing, please advice.
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html Here's my extensions filter snippet from web.xml
    <!-- Extensions Filter -->
            <filter>
           <filter-name>extensionsFilter</filter-name>
           <filter-class>
                   org.apache.myfaces.webapp.filter.ExtensionsFilter
           </filter-class>
           <init-param>
                   <description>
                           Set the size limit for uploaded files. Format: 10 - 10
                           bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                   </description>
                   <param-name>uploadMaxFileSize</param-name>
                   <param-value>100m</param-value>
           </init-param>
           <init-param>
                   <description>
                           Set the threshold size - files below this limit are
                           stored in memory, files above this limit are stored on
                           disk.
                           Format: 10 - 10 bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                   </description>
                   <param-name>uploadThresholdSize</param-name>
                   <param-value>100k</param-value>
           </init-param>
           <!--
           <init-param>
                   <param-name>uploadRepositoryPath</param-name>
                   <param-value>/temp</param-value>
                   <description>Set the path where the intermediary files will be stored.
                   </description>
           </init-param>
           -->
            </filter>
            <filter-mapping>
                <filter-name>extensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
            </filter-mapping>
            <filter-mapping>
                    <filter-name>extensionsFilter</filter-name>
                    <url-pattern>*.faces</url-pattern>
            </filter-mapping>
            <filter-mapping>
                    <filter-name>extensionsFilter</filter-name>
                    <url-pattern>/faces/*</url-pattern>
            </filter-mapping>
            <filter-mapping>
                <filter-name>extensionsFilter</filter-name>
        <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
        <servlet-name>Faces Servlet</servlet-name>
            </filter-mapping>
            <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
            <filter-mapping>
        <filter-name>extensionsFilter</filter-name>
                <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
            </filter-mapping>

    I tried your page in my project, also using Facelets. You had a couple of errors:
    1) The close tag for <html> was partially missing. I assume that was a copy and paste issue.
    2) <f:view> does not accept an id attribute.
    It looks like this is a bug in Tomahawk. They emit some <button> tags with attributes with a i18n namespace prefix that is not defined on the button tags. I added the namespace to the html tag and everything worked.
    <html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:t="http://myfaces.apache.org/tomahawk"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:i18n="http://xml.zope.org/namespaces/i18n">

  • JSF Tomahawk Dynamic Menu jsCookMenu Param Passing Question .. Help Please!

    Hello everyone,
    Thank you again for your help. Let me explain what my issue is.
    I am currently developing a JSF 1.2 application using WDSC 7 (RAD 7). I am trying to
    develop a shopping cart application. The part I am stuck on is the menu.
    I need to draw a menu with drop downs with multiple levels. The first level is the category
    and the second level is the item name. The menu must be dynamically built from a Database table.
    After searching high and low I came across jsCookMenu component which requires Tomahawk to be installed.
    I installed this ontop of my IBM JSF implementation and it seems to be working fine.
    I currently have a MenuBean which calls a database and populates a NavigationMenuItems array and passes
    that to the jsCookMenu component which then renders that to the client.
    This works fine.
    Here is my question. When the user selects the first level of the menu, I want to call a page called
    GetCategory.jsp?catID=num num being the category id selected. When they select the second level of the
    menu, I want it to then call GetItem.jsp?itemID=num. I know I can use the action attribute of the menu
    item or a direct URL (which pops it up in a new window).
    Basically, I need to pass a parameter to an action (again I am somewhat new to JSF) or I need
    to call the page directly passing the request parameter.
    Am I going about this the wrong way, and if so, what way should I be going?
    Secondly, is there a better, cleaner implementation or component I can use instead.
    I'm using Tomahawk just for the one component.. That's it.
    Any help anyone can provide I would greatly appreciate it.
    Thanks so much!
    Matt

    That is correct.
    I have the menu populating dynamically built from a JavaBean.
    It works beautifully.
    Level 1 is the Category - the action is DisplayCategory
    Level 2 is the Item - the action is DisplayItem
    Level 3 is the Style - the action is DisplayStyle
    My problem is, on each page, DisplayCategory/DisplayItem/etc how do I know which menu item was clicked?
    Anyone have any idea?
    Thanks,
    Matt

  • The Action in My jsCookMenu is not invoked Properly ..

    Hi all,
    I know this is an old issue but unfortunately no solution yet ???
    i read a lot of older post describing the problem but with older versions of Myfaces and tomahawk
    and the solution was to put the :
    <input id="jscook_action name="jscook_action" type="hidden"/>
    in the jsp page.
    but this field already exist in the page when i view the HTML source of the page
    and when i click on the home item in the menu the url appear to be :http://localhost:8080/MyFacesJSCookMenu/remitForm_jsfMenu_menu:A]home
    'home' is the navigation rule .
    why this "remitForm_jsfMenu_menu:A]" appear in the url too ??!!
    I'm using Tomcat 6.0.20 , Jdk 1.6 JSF 1.2 Myfaces 2.0.1 and tomahawk 1.1.9 under eclipse IDE
    My Jsp code :
    <t:jscookMenu id="JsfMenu" layout="hbr" theme="ThemeOffice" >
                                       <%
                                            /*      Available jscookMenu themes: ThemeIE, ThemeMiniBlack,ThemeOffice,
                                                 ThemePanel
                                                 Available jscookMenu layouts: hbr, hbl, hur, hul, vbr,vbl, vur, vul
                                                 respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
                                       %>
                             <t:navigationMenuItems value="#{menuBuilder.navItems}" />
                        </t:jscookMenu>
    Java code responsible for generating the menu :
    // children for item 2
              logger.info("Building Menu ...");
              NavigationMenuItem[] subItems = new NavigationMenuItem[2];
              subItems[0] = new NavigationMenuItem(" Setting","action2_1", "iconUrl", false);
              subItems[0].setIcon("images/coin.gif");
              subItems[1] = new NavigationMenuItem(" Printer","action2_2", "iconUrl", false);
              subItems[1].setIcon("images/coin.gif");
              // item 2
              NavigationMenuItem itemWithChildren = new NavigationMenuItem(" Settings", "action2", "iconUrl", false);
              itemWithChildren.setNavigationMenuItems(subItems);
              // root items
              navItems = new NavigationMenuItem[3];
              navItems[0] = new NavigationMenuItem(" Utilites","action1", "iconUrl", false);
              navItems[0].setIcon("images/coin.gif");
              navItems[1] = itemWithChildren;
              navItems[1].setSplit(true);
              navItems[1].setIcon("images/coin.gif");
              navItems[2] = new NavigationMenuItem(" Logout","home", "iconUrl", false);
              navItems[2].setSplit(true);
              navItems[2].setIcon("images/coin.gif");
    Am i missing something ? or is it something in the configuration of my working environment ?
    thanks for help.

    Go to the link below.Enter your Product Number as listed on Service Tag attached to bottom of notebook (may be under battery). You can also get the Product Number by pressing Fn + Esc key. After entering PN, click Next ,then choose Software & Drivers.On the next page use the dropdown to select your OS (probably Windows 7 64bit). A list will populate with drivers. Download & Install the latest Audio driver. Restart the laptop after installing.
    http://h10025.www1.hp.com/ewfrf/wc/siteHome?cc=us&lc=en
    ******Clicking the Thumbs-Up button is a way to say -Thanks!.******
    **Click Accept as Solution on a Reply that solves your issue to help others**

  • How to open the target location in the same window using tomahawk menu

    Am using apache tomahawk menu component.
    We have a mix of locations that are internal path and also external URL. However, we need to open the location in the same window.
    We are using the
    <t:jscookMenu layout="hbr" theme="ThemeIE" >
    <t:navigationMenuItem id="nmi1" itemLabel="Menu1" action="welcome" />
    <t:navigationMenuItem id="nmi1_1" itemLabel="Menu11" action="http://www.google.com/" target="_self" />
    </t:jscookMenu>
    The component open the external URL in a new window irrespective of the target location. Is there a way to override this behavior.
    -Thanks

    Check that there isn't a <BASE> element in the HEAD element.

  • Tomahawk t:dataTable  question, please help

    I am using tomahawk dataTable and dataScroller tags to display results retrieved from database. For each row, I would like to have a button that will edit a value associated with that particular row. But the JSF gave all rows on the page same id, when I press one button, every row was fired off. Any suggestion is highly appreciated.
    Here is my code:
    <t:dataTable id="data" styleClass="TabForegroundColor" headerClass="standardTable_Header" footerClass="standardTable_Header"
    rowClasses="AltRows1, AltRows2"
    columnClasses="standardTable_Column,standardTable_ColumnCentered,standardTable_Column"
    var="bl" value="#{ctReportdatahandler.ctReportModel}"
    rows="#{ctReportdatahandler.noOfRows}"
    rowIndexVar="index"
    forceId="true"     forceIdIndex="true"          
    sortColumn="#{ctReportdatahandler.sort}"
    sortAscending="#{ctReportdatahandler.ascending}" preserveSort="true">
    <t:column>
    <f:facet name="header">
    <h:outputText value="" />
    </f:facet>
         <h:commandButton value="h" actionListener="{ctReportdatahandler.historyCtBarcodes}" action="#{ctReportdatahandler.dummy}" onclick="barcodeHistory('#{bl.ctBarcode}')" styleClass="Button" />               </t:column>                         
    Incorrect source:
    <tr class="AltRows1"><td class="standardTable_Column"><input id="_id26:data:_id29" name="_id26:data:_id29" type="submit" value="h" onclick="barcodeHistory('CT00468873');clear__5Fid26();document.forms['_id26'].elements['autoScroll'].value=getScrolling();" class="Button" /></td</tr>
    <tr class="AltRows1"><td class="standardTable_Column"><input id="_id26:data:_id29" name="_id26:data:_id29" type="submit" value="h" onclick="barcodeHistory('CT00468877');clear__5Fid26();document.forms['_id26'].elements['autoScroll'].value=getScrolling();" class="Button" /></td></tr>
    Both buttons are id26:data:id29, I expect the first row id26:data0:id29 and 2nd row id26:data1:id29 so if I press button for row 0, row1 button won't get fired off.

    Thank y'all for responding. I am using SUN RI with Tomahawk. For whatever reason, I am not able to get myfaces to work with my menu:
    <t:jscookMenu layout="hbr" theme="ThemeOffice">
    <%/* Availaible jscookMenu themes: ThemeIE, ThemeMiniBlack, ThemeOffice, ThemePanel
    Availaible jscookMenu layout: hbr, hbl, hur, hul, vbr, vbl, vur, vul
    respect to Heng Yuan http://www.cs.ucla.edu/~heng/JSCookMenu
    */%>
    <t:navigationMenuItem id="nav_1"
    I figured out a work around though:
    <t:commandButton value="h" forceId="true"     forceIdIndex="true" actionListener="#{ctReportdatahandler.historyCtBarcodes}" action="#{ctReportdatahandler.dummy}" onclick="barcodeHistory('#{bl.ctBarcode}')" styleClass="Button" />                         
    This gives me the unigue id that I am looking for.

  • Upgraded to tomahawk 1.1.3

    I have upgraded to tomahawk 1.1.3. I have edited my web.xml as given on wiki.
    http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1.1.3
    This is web.xml
    ===========================================
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
         <display-name>TimeSheet</display-name>
         <context-param>
              <param-name>
                   org.apache.myfaces.CHECK_EXTENSIONS_FILTER
              </param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
              <param-value>client</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>
              <description>
                   This parameter tells MyFaces if javascript code should be
                   allowed in the rendered HTML output. If javascript is
                   allowed, command_link anchors will have javascript code that
                   submits the corresponding form. If javascript is not
                   allowed, the state saving info and nested parameters will be
                   added as url parameters. Default: "true"
              </description>
              <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <description>
                   This parameter tells MyFaces if javascript code should be
                   allowed in the rendered HTML output. If javascript is
                   allowed, command_link anchors will have javascript code that
                   submits the corresponding form. If javascript is not
                   allowed, the state saving info and nested parameters will be
                   added as url parameters. Default: "false"
                   Setting this param to true should be combined with
                   STATE_SAVING_METHOD "server" for best results.
                   This is an EXPERIMENTAL feature. You also have to enable the
                   detector filter/filter mapping below to get JavaScript
                   detection working.
              </description>
              <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name>
              <param-value>false</param-value>
         </context-param>
         <context-param>
              <description>
                   If true, rendered HTML code will be formatted, so that it is
                   "human readable". i.e. additional line separators and
                   whitespace will be written, that do not influence the HTML
                   code. Default: "true"
              </description>
              <param-name>org.apache.myfaces.PRETTY_HTML</param-name>
              <param-value>true</param-value>
         </context-param>
         <context-param>
              <description>
                   If true, a javascript function will be rendered that is able
                   to restore the former vertical scroll on every request.
                   Convenient feature if you have pages with long lists and you
                   do not want the browser page to always jump to the top if
                   you trigger a link or button action that stays on the same
                   page. Default: "false"
              </description>
              <param-name>org.apache.myfaces.AUTO_SCROLL</param-name>
              <param-value>true</param-value>
         </context-param>
         <!-- Extensions Filter -->
         <filter>
              <filter-name>extensionsFilter</filter-name>
              <filter-class>
                   org.apache.myfaces.webapp.filter.ExtensionsFilter
              </filter-class>
              <init-param>
                   <description>
                        Set the size limit for uploaded files. Format: 10 - 10
                        bytes 10k - 10 KB 10m - 10 MB 1g - 1 GB
                   </description>
                   <param-name>maxFileSize</param-name>
                   <param-value>20m</param-value>
              </init-param>
         </filter>
         <filter-mapping>
              <filter-name>extensionsFilter</filter-name>
              <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <!-- Filter Mappings -->
         <!-- extension mapping for serving page-independent resources (javascript,
              stylesheets, images, etc.) -->
         <filter-mapping>
              <filter-name>extensionsFilter</filter-name>
              <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
         </filter-mapping>
         <!-- Listener, that does all the startup work (configuration, init). -->
         <listener>
              <listener-class>
                   org.apache.myfaces.webapp.StartupServletContextListener
              </listener-class>
         </listener>
         <!-- Faces Servlet -->
         <servlet>
              <servlet-name>SourceCodeServlet</servlet-name>
              <servlet-class>
                   org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
              </servlet-class>
              <load-on-startup>1</load-on-startup>
         </servlet>
         <!-- Jetspeed Servlet -->
         <servlet>
              <description>
                   MVC Servlet for Jetspeed Portlet Applications
              </description>
              <display-name>Jetspeed Container</display-name>
              <servlet-name>JetspeedContainer</servlet-name>
              <servlet-class>
                   org.apache.jetspeed.container.JetspeedContainerServlet
              </servlet-class>
              <init-param>
                   <param-name>contextName</param-name>
                   <param-value>TimeSheet</param-value>
              </init-param>
              <load-on-startup>0</load-on-startup>
         </servlet>
         <!-- servlet mapping -->
         <servlet-mapping>
              <servlet-name>SourceCodeServlet</servlet-name>
              <url-pattern>*.jsf</url-pattern>
         </servlet-mapping>
         <servlet-mapping>
              <servlet-name>JetspeedContainer</servlet-name>
              <url-pattern>/container/*</url-pattern>
         </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.html</welcome-file>
              <welcome-file>index.htm</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>default.html</welcome-file>
              <welcome-file>default.htm</welcome-file>
              <welcome-file>default.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    ===========================================
    But it is giving me this error.
    =========================================================
    java.lang.StringIndexOutOfBoundsException: String index out of range: -2
         java.lang.String.substring(String.java:1768)
         org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet.doGet(SourceCodeServlet.java:33)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144)
    =========================================================
    What else do i need to do??
    Thank you.
    Message was edited by:
    Gaurav_Goel_arrk
    Message was edited by:
    Gaurav_Goel_arrk

    I have exactly the same problem. Did you manage to resolve it?
    Thanks a lot.
    Xavier

  • JsCookMenu - Problem with display of Menu (Oracle ADF)

    I am using Oracle ADF with JSF components. The jsCookMenu displays the menu along with "x" representing images on the right and left side of the menu label. Please suggest me how to remove this icon from the menu display. Please find the code below.
    <t:jscookMenu layout="hbr" theme="ThemeOffice" styleLocation="/css/jscookmenu" >
    <t:navigationMenuItem id="nav_1" itemLabel=" Menu1 " >
    <t:navigationMenuItem id="nav_1_1" itemLabel="Menu1.1" > </t:navigationMenuItem>
    </t:navigationMenuItem>
    </t:jscookMenu>
    I am getting this problem with IE when the application starts. When I do ctrl+refresh, this issue doesnot occur. Also, with Firefox I am not getting any problem. I need to know how to fix this issue with IE when the application starts. Any suggestions on this would be of great help.

    User, please always tell us your jdev version.
    The interesting part is what you did not tell us.
    Kindly let me know as to why Iam not to replicate the issue in my earlier WLS.Please find my code means hte code has once run OK and now after you did some changes doesn't any longer. Querstion: what did you change, not oly to the code but to the environment.
    Timo

  • Trying to use tomahawk and rich faces jar?

    I tried a very simple example to know how to use menu group. These are the following steps:
    1. I opened a web application using Netbeans using JSF as framework.
    2. When I run my application, it worked and welcomeJSF page was displayed.
    3. Then I wanted to a try a sample program. Hence I modified welcomeJSF page as below:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t" %>
    <%@ taglib uri="http://richfaces.org/rich" prefix="rich" %>
    <f:subview id="menuSubView">
        <h:form>
            <t:panelGrid columns="1" width="50">
                <rich:dropDownMenu value="Menu" direction="bottom-right">
                    <rich:menuItem value="Home" action="home"/>
                    <rich:menuSeparator id="menuSeparator1"/>
                    <rich:menuGroup value="test">
                        <rich:menuGroup value="Library ">
                            <rich:menuItem action="regNewLibrary" value="new"/>
                            <rich:menuItem action="regEditLibrary" value="edit"/>
                        </rich:menuGroup>
                       <rich:menuGroup value="Sample ">
                            <rich:menuItem action="regNewSample" value="new"/>
                            <rich:menuItem action="regEditSample" value="edit"/>
                        </rich:menuGroup>
                        <rich:menuGroup value="search ">
                            <rich:menuItem action="regSearchLibrary" value="library"/>
                            <rich:menuItem action="regSearchSample" value="sample"/>
                        </rich:menuGroup>
                    </rich:menuGroup>
                    <rich:menuSeparator id="menuSeparator2"/>
                    <rich:menuGroup value="test2 ">
                        <rich:menuItem action="testSelectLibrary" value="Load Library"/>
                        <rich:menuItem action="testSeqRequest" value="Seq Request"/>
                    </rich:menuGroup>
                    <rich:menuSeparator id="menuSeparator3"/>
                    <rich:menuItem value="Exit" action=" testing"/>
                </rich:dropDownMenu>
            </t:panelGrid>
        </h:form>
    </f:subview>4. I added tomahawk-1.1.6.jar, richfaces-api-3.1.0.jar, richfaces-impl-3.1.0.jar, richfaces-ui-3.1.0.jar into libraries.
    5. When I run my application, I get an error report as below:
    type Status report
    message /test1/
    description The requested resource (/test1/) is not available.Can anyone tell me what went wrong?

    Yes, I could guess my problem now. My web.xml is as below:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
        <context-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/applicationContext.xml</param-value>
        </context-param>
        <context-param>
            <param-name>javax.servlet.jsp.jstl.fmt.localizationContext</param-name>
            <param-value>messages</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>com.sun.faces.validateXml</param-name>
            <param-value>true</param-value>
        </context-param>
        <context-param>
            <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
            <param-value>client</param-value>
        </context-param>
        <servlet>
            <servlet-name>Faces Servlet</servlet-name>
            <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
            <load-on-startup>1</load-on-startup>
        </servlet>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>/faces/*</url-pattern>
        </servlet-mapping>
        <servlet-mapping>
            <servlet-name>Faces Servlet</servlet-name>
            <url-pattern>*.html</url-pattern>
        </servlet-mapping>  
        <session-config>
            <session-timeout>
                30
            </session-timeout>
        </session-config>
        <welcome-file-list>
            <welcome-file>
                index.jsp
            </welcome-file>
        </welcome-file-list>
    </web-app>When I try to add filter for tomahawk and rich faces as below, I get deployment error.
    <filter>
            <filter-name>extensionsFilter</filter-name>
            <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
            <init-param>
                <description>Set the size limit for uploaded files.
                    Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
                </description>
                <param-name>uploadMaxFileSize</param-name>
                <param-value>100m</param-value>
            </init-param>
            <init-param>
                <description>Set the threshold size - files
                    below this limit are stored in memory, files above
                    this limit are stored on disk.
                    Format: 10 - 10 bytes
                    10k - 10 KB
                    10m - 10 MB
                    1g - 1 GB
                </description>
                <param-name>uploadThresholdSize</param-name>
                <param-value>100k</param-value>
            </init-param>
        </filter>
        <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>*.html</url-pattern>
        </filter-mapping>
    <filter>
            <display-name>RichFaces Filter</display-name>
            <filter-name>richfaces</filter-name>
            <filter-class>org.ajax4jsf.Filter</filter-class>
        </filter>
        <filter-mapping>
            <filter-name>richfaces</filter-name>
            <servlet-name>Faces Servlet</servlet-name>
            <dispatcher>REQUEST</dispatcher>
            <dispatcher>FORWARD</dispatcher>
            <dispatcher>INCLUDE</dispatcher>
        </filter-mapping>Anything wrong in the above code?

  • t:jscookmenu is not working in Jboss portlet.

    hi..
    i am facing a problem in <t:jscookmenu>, that is , i am using the JBoss portlet 2.4 and my aim is to provide a top menu in the default index page.i tried with <t:jscookmenu> , but it is throwing error(scroll down for error code), but <t:outputtext> are all working good.
    error code:
    ERROR [CommandFilter] Exception in command invocation
    org.apache.jasper.JasperException: org.jboss.portlet.JBossRenderRequest
         at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
         at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
         at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
         at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
         at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
         at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
         at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124)
         at sun.reflect.GeneratedMethodAccessor295.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:104)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:539)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.spi.AbstractRequestContext.include(AbstractRequestContext.java:193)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.include(ContextDispatcherInterceptor.java:68)
         at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:84)
         at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:74)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:65)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:61)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:114)
         at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy61.invoke(Unknown Source)
         at org.jboss.portal.portlet.state.producer.StatefulPortletInvoker.invoke(StatefulPortletInvoker.java:249)
         at sun.reflect.GeneratedMethodAccessor293.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy63.invoke(Unknown Source)
         at org.jboss.portal.federation.impl.FederatedPortletInvokerService.invoke(FederatedPortletInvokerService.java:139)
         at org.jboss.portal.federation.impl.FederatingPortletInvokerService.invoke(FederatingPortletInvokerService.java:155)
         at sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy65.invoke(Unknown Source)
         at org.jboss.portal.portlet.test.TestPortletInvoker$1.dispatch(TestPortletInvoker.java:63)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.portlet.aspects.portlet.PortalSessionSynchronizationInterceptor.invoke(PortalSessionSynchronizationInterceptor.java:85)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ConsumerCacheInterceptor.invoke(ConsumerCacheInterceptor.java:93)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.model.instance.InstanceSecurityInterceptor.invoke(InstanceSecurityInterceptor.java:83)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.portlet.test.TestPortletInvoker.invoke(TestPortletInvoker.java:123)
         at sun.reflect.GeneratedMethodAccessor286.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
         at $Proxy47.invoke(Unknown Source)
         at org.jboss.portal.core.impl.model.instance.InstanceImpl.invoke(InstanceImpl.java:273)
         at org.jboss.portal.core.command.RenderWindowCommand.execute(RenderWindowCommand.java:108)
         at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
         at org.jboss.portal.core.command.CommandContext.chain(CommandContext.java:148)
         at org.jboss.portal.core.command.MarkupCommand.renderPortletWindow(MarkupCommand.java:463)
         at org.jboss.portal.core.command.RenderPageCommand.renderFragments(RenderPageCommand.java:76)
         at org.jboss.portal.core.command.MarkupCommand.execute(MarkupCommand.java:340)
         at org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:91)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:171)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PageNavigationInterceptor.invoke(PageNavigationInterceptor.java:80)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:79)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:59)
         at org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:102)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:91)
         at org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:78)
         at org.jboss.portal.core.CoreController.handle(CoreController.java:126)
         at sun.reflect.GeneratedMethodAccessor301.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
         at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
         at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
         at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
         at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
         at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
         at org.jboss.mx.util.JMXInvocationHandler.invoke(JMXInvocationHandler.java:287)
         at $Proxy139.handle(Unknown Source)
         at org.jboss.portal.server.ServerInvocation.dispatch(ServerInvocation.java:79)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.server.aspects.server.NavigationInterceptor.invoke(NavigationInterceptor.java:64)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.server.aspects.server.ContentTypeInterceptor.invoke(ContentTypeInterceptor.java:65)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.LocaleInterceptor.invoke(LocaleInterceptor.java:74)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.UserInterceptor.invoke(UserInterceptor.java:174)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.server.aspects.server.SessionInvalidatorInterceptor.invoke(SessionInvalidatorInterceptor.java:92)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor.org$jboss$portal$core$aspects$server$TransactionInterceptor$invoke$aop(TransactionInterceptor.java:49)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
         at org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:275)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor$invoke_N5143606530999904530.invokeNext(TransactionInterceptor$invoke_N5143606530999904530.java)
         at org.jboss.portal.core.aspects.server.TransactionInterceptor.invoke(TransactionInterceptor.java)
         at org.jboss.portal.server.ServerInterceptor.invoke(ServerInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:171)
         at org.jboss.portal.server.servlet.PortalServlet.process(PortalServlet.java:294)
         at org.jboss.portal.server.servlet.PortalServlet.doGet(PortalServlet.java:172)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:697)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
         at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
         at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
         at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
         at java.lang.Thread.run(Thread.java:595)
    16:44:16,476 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
    java.lang.ClassCastException: org.jboss.portlet.JBossRenderRequest
         at org.apache.myfaces.component.html.util.AddResource.addAdditionalHeaderInfoToRender(AddResource.java:376)
         at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:126)
         at org.apache.myfaces.component.html.util.AddResource.addJavaScriptToHeader(AddResource.java:116)
         at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.addResourcesToHeader(HtmlJSCookMenuRenderer.java:309)
         at org.apache.myfaces.custom.navmenu.jscookmenu.HtmlJSCookMenuRenderer.encodeEnd(HtmlJSCookMenuRenderer.java:267)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:712)
         at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:616)
         at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:539)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_t_jscookMenu_0(message_jsp.java:185)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspx_meth_f_view_0(message_jsp.java:131)
         at org.apache.jsp.WEB_002dINF.jsp.message_jsp._jspService(message_jsp.java:97)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.java:87)
         at sun.reflect.GeneratedMethodAccessor304.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
         at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
         at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
         at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.java:108)
         at org.apache.myfaces.context.portlet.PortletExternalContextImpl.dispatch(PortletExternalContextImpl.java:164)
         at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:195)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:323)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:298)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:380)
         at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:266)
         at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167)
         at javax.portlet.GenericPortlet.render(GenericPortlet.java:407)
         at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519)
         at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440)
         at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143)
         at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66)
         at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java)
         at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:49)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:50)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:59)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:45)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55)
         at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:37)
         at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:130)
         at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:76)
         at or

    hi,
    We are calling  SBWP transaaction as a transaction Iview from EP. We are able to see the tasks in the Inbox and could able to work on the same. But it does not really do anything to the tasks at the R/3.(Ideally, the tasks should be completed).
    If you run in R/3 same transaction using logon pad, the tasks are getting completed.

  • Help needed with Myfaces - tomahawk t:panelTabbedPane form tag iserted wh

    when i Use tomahawk <t:panelTabbedPane> component, during rendering stage. its atomatically inserts <form> tag around it.
    Is there any way to avoid this <form tag. because, I am using 3 tab column, and each tab has got its own form tag.
    so in that case. there is <form> inside <form>, thats giving errors when using some javascript function with this..
    is there any solution for this

    Hi,
    Could you please tell us if you are using Sun Java Studio Creator for building your web application.
    RK

  • Problems with combination of ADF Faces, Tomahawk, Facelets and MyFaces

    Hello,
    I am trying to combine all things named in the Subject and run into several problems:
    1. ADF Render Kit forces the Tomahawk Components to be rendered in a wrong way or stop there functionality.
    Example 1: The clickable parts of the t:dataScroller Tag can not be accessed because an empty a Tag will be rendered after the outputText.
    Example 2: The t:commandSortHeader Tag can be clicked but the table content will not be sorted anymore.
    The given examples works if i remove the default-render-kit-id element from the faces-config.xml
    2. The ad:table Tag runs into an ClassCastException, only when I put a simple example code snipped into my xhtml file.
    Code snipped:
    <af:table>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Firstname"/>
    </f:facet>
    </af:column>
    <af:column>
    <f:facet name="header">
    <h:outputText value="Lastname"/>
    </f:facet>
    </af:column>
    </af:table>
    The stack trace look like this:
    java.lang.ClassCastException at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer._renderRegularColumns(DesktopTableRenderer.java:1029)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.renderSingleRow(DesktopTableRenderer.java:109)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.TableRenderer.encodeAll(TableRenderer.java:229)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.DesktopTableRenderer.encodeAll(DesktopTableRenderer.java:79)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at oracle.adf.view.faces.component.UIXCollection.encodeEnd(UIXCollection.java:438)
         at oracle.adfinternal.view.faces.renderkit.RenderUtils.encodeRecursive(RenderUtils.java:54)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeChild(CoreRenderer.java:232)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeAllChildren(CoreRenderer.java:255)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.renderContent(PanelPartialRootRenderer.java:65)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.renderContent(BodyRenderer.java:117)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.PanelPartialRootRenderer.encodeAll(PanelPartialRootRenderer.java:147)
         at oracle.adfinternal.view.faces.renderkit.core.xhtml.BodyRenderer.encodeAll(BodyRenderer.java:60)
         at oracle.adfinternal.view.faces.renderkit.core.CoreRenderer.encodeEnd(CoreRenderer.java:159)
         at oracle.adf.view.faces.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:624)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:242)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:239)
         at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:521)
         at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)
         at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:367)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:336)
         at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:196)
         at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:659)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186)
         at java.lang.Thread.run(Thread.java:534)
    I followed all steps for the ADF installation and the suggested steps for using ADF with Facelets.
    Used versions:
    - Oracle ADF Faces 10.1.3 Early Access
    - myFaces 1.1.1
    - Facelets 1.1.1
    - oc4j 10.1.2.0.2
    Has somebody try to use these things together, too?
    Thanks,
    Carsten

    Hi,
    Inside our fusion applications(ADF/Webcenter) using combination of JSTL and ADF Faces is good practice or pitfal?
    To suggest a a rule of thumb: Try ADF Faces on-board functionality first before reaching out to JSTL. The difference between JSF in general and JSTL is that the JSTL expressions are evaluated at page compile time wheras JSF expressions are evaluated deferred. This difference may have an impact to PPR refreshes and the data rendering (which in many cases I assume you can fix by setting the ADF Faces component content delivery to immediate instead of deferred). On a training slight I flagged JSTL with a "heads up" alert because of this
    Frank

  • JSF Visual Editor does not work with Tomahawk 1.1.3

    hi,
    i am using JDeveloper 10.1.3.0.4 (SU4) with tomahawk 1.1.3 and myfaces-core 1.1.3.
    All Tomahawk components that need the extensions filter to be rendered properly cannot be displayed
    in the UI Designer anymore (e.g. Calendar). More painfully: all compontents in the container that comes after the component
    that failed rendering will not be rendered too.
    I have enabled JSP Visual Editor Preferendes 'Show Design Time Messages in Log' and got the following
    exception:
    Error exercising tag : h:panelGrid
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:333)
         at org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)
    But the ExtensionsFilter is configured correctly - all works fine when running the page.
    A little help was to disable the ExtensionsFilter Check in web.xml
    <context-param>
    <param-name>org.apache.myfaces.CHECK_EXTENSIONS_FILTER</param-name>
    <param-value>false</param-value>
    </context-param>
    So only the components that need the extensions filter will not be rendered - others will not be affected.
    But this is not really satisfying (btw. all worked fine with myfaces 1.1.1)
    Has anyone else got the same expirience?
    thanks

    hi,
    to work with myfaces-1.1.1 and the newer versions in jdeveloper i have changed the tlib-versionS for myfaces-impl-1.1.3 and tomahawk-1.1.3 so that they differ from the 1.1.1 libs.
    then i registered the JSP libraries tomahawk.tld from tomahawk-1.1.3.jar, myfaces_html.tld and myfaces_core.tld from myfaces-impl-1.1.3.jar
    then i have created a user library containing myfaces-api-1.1.3.jar and myfaces-impl-1.1.3.jar
    on a new created JSF i allways have to manually remove the jsf-impl.jar from WEB-INF/lib directory because it conflicts with myfaces.
    i hope this helps

Maybe you are looking for

  • PSE4 - No thumbnails for .TIF files (Fuzzy TIF problem?)

    My PSE4 newly installed on my Win XP. But, I just catalogued the first 100 of my black-and-white photos into the PSE Organizer. These were all a standard format of 4x6" at 300 dpi gray scale files. But, while the .jpg files show thumbnails in the Org

  • Illustrator CS6 is not displaying unicode characters properly.

    I need to access certain unicode characters (namely the x/8 fractions). I have the appropriate font installed, and the characters display in every other program on the machine, but they are not displaying correctly in Illustrator. If I type the chara

  • BEA MS Sql server which driver to use?

    We have BEA weblogic 8.1 and want to work with sql server Which driver shoudl we use ? i believe driver is deprecated Bea talks about the new driver "WebLogic Server 8.1 SP1 includes a new JDBC driver from BEA for connecting to a Microsoft SQL Server

  • Appleworks 6.2.9 Spreadsheet Sorting

    I am running Appleworks 6.2.9 on my PPC G4 Laptop. I have a one column list of data of approx 12,000 entries. Each one is not unique, rather they're duplicates in assorted quantities. Is there a sort function where the program can eliminate duplicate

  • IPhone 5 firmware restore failed (unknown error 1)

    hi everyone, I updated my iPhone 5 from ISO 6.1.2 to 7.1.1 via iTunes by restoring and it was working fine but when 7.1.2 update came n I was trying to install via wifi, it failed a lot of times. so I connect my iphone to iTunes n tried by restore ip