Myfaces, tomahawk, jsf sun

Hello,
what is the relationship between myfaces and tomahawk. And if i want to develop a myfaces app do i have to use jsf sun components?
thanks

Hello,
what is the relationship between myfaces and
tomahawk. And if i want to develop a myfaces app do i
have to use jsf sun components?
thanksFrom http://myfaces.apache.org/tomahawk/
In addition to custom components not found in the JSF specification, the MyFaces components bundle also includes an "extended" version of some of the default components. These are basically components that exist in either the core or html tag libraries but additional functionality has been addded that goes beyond the specification.
Summarized: MyFaces implements JSF spec and Tomahawk goes beyond JSF spec.

Similar Messages

  • JSF: Using of MyFaces Tomahawk UI Components

    Hello,
    is it possible to use MyFaces Tomahawk UI Components or other MyFaces UI Components with the SAP NetWeaver CE 7.1 Application Server?
    Regards,
    Armin

    MyFaces Tomahawk works!
    workaround:
    1. Copy commons-el-1.0.jar, commons-fileupload-1.0.jar, commons-lang-2.1.jar, commons-logging-1.1.1.jar and tomahawk-1.1.6.jar into the lib folder.
    2. Add the following lines to your web.xml file:
    <!-- Extensions Filter -->
    <filter>
            <filter-name>extensionsFilter</filter-name>
            <filter-class>
                    org.apache.myfaces.component.html.util.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>*.faces</url-pattern>
    </filter-mapping>
    <filter-mapping>
            <filter-name>extensionsFilter</filter-name>
            <url-pattern>/faces/*</url-pattern>
    </filter-mapping>

  • Using myfaces tomahawk inputFileUpload componet

    I am using myfaces tomahawk inputFileUpload componet for the following requirement
    1. I need to upload images to my user profile page.
    2. Resize the image to fit my desired image size to be shown on the page
    Promblems
    1. The file i upload is done fine and images also show but
    the image is stored or refrenced to the local machine , so if i delete or change file location the image dosent show.
    what i need is to store the images in a seperate folder on the server or any other place and image should point to that location.
    2. Now the image uploaded displayed using jsf's
    <h:graphicImage url="fileupload_showimg.faces"/>component where "fileupload_showimg.faces"
    is a jsp page containing the following code
    which is a scriplet
    <%@ page import="java.io.File,
                     java.io.InputStream,
                     java.io.FileInputStream,
                     java.io.OutputStream"%><%@ page session="false" %><%
        String contentType = (String)application.getAttribute("fileType");
        String fileName = (String)application.getAttribute("fileName");
        String allowCache = request.getParameter("allowCache");
        String openDirectly = request.getParameter("openDirectly");
        if(allowCache == null || allowCache.equalsIgnoreCase("false"))
            response.setHeader("pragma", "no-cache");
            response.setHeader("Cache-control", "no-cache, no-store, must-revalidate");
            response.setHeader("Expires", "01 Apr 1995 01:10:10 GMT");
        if(contentType!=null)
            response.setContentType(contentType);
        if(fileName != null)
            fileName = fileName.substring(fileName.lastIndexOf('\\')+1);
            fileName = fileName.substring(fileName.lastIndexOf('/')+1);
            StringBuffer contentDisposition = new StringBuffer();
            if(openDirectly==null || openDirectly.equalsIgnoreCase("false"))
                contentDisposition.append("attachment;");
            contentDisposition.append("filename=\"");
            contentDisposition.append(fileName);
            contentDisposition.append("\"");
            response.setHeader ("Content-Disposition", contentDisposition.toString());
        byte[] bytes = (byte[])application.getAttribute("fileSizeBytes");
        if (bytes != null)
             response.getOutputStream().write(bytes);
    %>works fine but the image shown in its original size most of the time very large.
    I tried to fix the image size by changing the code to
    <h:graphicImage url="fileupload_showimg.faces" width="300" height="500"/>But now the image is shown is deformed
    i need it to be fixed in size and not deformed

    me again I think the first part of the problem is been solved now
    the 2nd problem is still there hope i can fix that also

  • MyFaces Tomahawk more than one tree2

    Hi everybody, I'm new with JSP and I'll appreciate some help with this:
    I have a JSP app implementing MyFaces Tomahawk tree2 with TreeBacker class modified, the component renders pretty well, but I need to show another tree completely different, I made a new class almost equal than TreeBacker but the name and the new tree structure, but at runtime the tree doesn't renders.
    In the running tree2:
    <t:tree2 id="clientTree" value="#{treeBacker.treeData}" var="node" varNodeToggler="t" clientSideToggle="true">Additionaly, why if I change treeBacker.treeData to TreeBacker.treeData the tree2 doesn't renders ??
    In the rebel tree2:
    <t:tree2 id="clientTree" value="#{treeBacker2.treeData}" var="node" varNodeToggler="t" clientSideToggle="true">this tree2 doesn't work....
    What I'm doing wrong ?

    I don't understand very good who works the repeater that you put there. And in the dataprovider I have to know how many trees I will have? Because I don't know how many trees I will have(in one moment 1, later 4, later 2... I could put a variable but I don't understand very good how can I do the repeater and..).
    I get create a dinamic Vbox with X tress, but putting all the xml in one, something like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <Cuentas>
        <Cuenta id="cuenta1" label="cuenta1">
        <node label="INBOX">
            <node label="Nombre">
        </node>
        </node>
        </Cuenta>
        <Cuenta id="cuenta2" label="cuenta2">
        <node label="INBOX">
            <node label="Apellido">
        </node>
        </node>
        </Cuenta>
    </Cuentas>
    With my treeLoad code I create 2 tress in one Vbox, if the xml document have 3 diferents Cuenta I will create 3 trees. But now I have different xml and I don't how can I do the same.

  • Integrate tomahawk into sun jsf ,extensionsFilter not correctly configured.

    Hi,All
    I find a issue when I integrate tomahawk 1.1.3 into sun jsf 1.1_02:
    tomcat 5.0.28
    java.lang.IllegalStateException: ExtensionsFilter not correctly configured. Resource mapping missing. Resources cant be delivered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html
    org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
    org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:352)
    org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)
    org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeJavascript(HtmlTreeRenderer.java:611)
    I read information about it from "http://myfaces.apache.org/tomahawk/extensionsFilter.html"
    and reconfiguration my web.xml, but don't work. my code as follow:
    <!-- web.xml> -->
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <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">
    <display-name>Web Configuration Info</display-name>
    <description>Platform</description>
         <context-param>
    <param-name>javax.faces.CONFIG_FILES</param-name>
    <param-value>/WEB-INF/Config/faces-config.xml,/WEB-INF/Config/faces-managed-beans.xml,/WEB-INF/Config/faces-config-validators.xml,/WEB-INF/Config/faces-config-taglibs.xml</param-value>
    </context-param>
         <filter>
              <filter-name>ExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
              <init-param>
                   <param-name>maxFileSize</param-name>
                   <param-value>20m</param-value>
              </init-param>
         </filter>
         <filter-mapping>
         <filter-name>ExtensionsFilter</filter-name>
              <!-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -->
              <servlet-name>FacesServlet</servlet-name>
         </filter-mapping>
         <filter-mapping>
    <filter-name>ExtensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>FacesServlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
              <load-on-startup>1</load-on-startup>
    </servlet>
         <servlet-mapping>
    <servlet-name>FacesServlet</servlet-name>
    <url-pattern>*.jsf</url-pattern>
    </servlet-mapping>
         <welcome-file-list>
              <welcome-file>index.jsp</welcome-file>
         </welcome-file-list>
    </web-app>
    <!-- index.jsp -->
    <%@ page session="false" contentType="text/xml;charset=utf-8"%>
    <%
    response.sendRedirect("./test/tree.jsf");
    %>
    I write web.xml reference to extensionsFilter.html, but doesn't work!
    what's make this issue?

    I think you need the following additional mapping:
        <filter-mapping>
            <filter-name>MyFacesExtensionFilter</filter-name>
            <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
        </filter-mapping>

  • Sun RI 1.2  MyFaces Tomahawk 1.1.6 Tomcat 6

    Hello,
    I have got a running little example with the Sun RI 1.2.
    Now I wanted to use the tomahawk implementation from myfaces, too.
    In the lib folder in the webapp direction from Tomcat
    C:\Programme\Apache Software Foundation\Tomcat 6.0\wtpwebapps\PlaygroundTomahawk\WEB-INF\lib
    there are the files:
    jsf-api.jar
    jsf-impl.jar
    tomahawk-1.6.6.jar
    But I get an exception when starting Tomcat 6:
    SCHWERWIEGEND: Exception sending context initialized event to listener instance of class com.sun.faces.config.ConfigureListener
    com.sun.faces.config.ConfigurationException: CONFIGURATION FAILED!
      Source Document: jar:file:/C:/Programme/Apache%20Software%20Foundation/Tomcat%206.0/wtpwebapps/PlaygroundTomahawk/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
      Cause: Class 'org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:212)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:174)
         at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3830)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4337)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
         at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
         at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
         at org.apache.catalina.core.StandardService.start(StandardService.java:516)
         at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
    Caused by: com.sun.faces.config.ConfigurationException:
      Source Document: jar:file:/C:/Programme/Apache%20Software%20Foundation/Tomcat%206.0/wtpwebapps/PlaygroundTomahawk/WEB-INF/lib/tomahawk-1.1.6.jar!/META-INF/faces-config.xml
      Cause: Class 'org.apache.myfaces.renderkit.html.util.ExtensionsPhaseListener' is missing a runtime dependency: java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
         at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:222)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.addPhaseListeners(LifecycleConfigProcessor.java:141)
         at com.sun.faces.config.processor.LifecycleConfigProcessor.process(LifecycleConfigProcessor.java:114)
         at com.sun.faces.config.processor.AbstractConfigProcessor.invokeNext(AbstractConfigProcessor.java:94)
         at com.sun.faces.config.processor.FactoryConfigProcessor.process(FactoryConfigProcessor.java:132)
         at com.sun.faces.config.ConfigManager.initialize(ConfigManager.java:202)
         ... 16 moreHere ist my web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
      <display-name>PlaygroundTomahawk</display-name>
      <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>
      <filter>
         <filter-name>MyFacesExtensionsFilter</filter-name>
         <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <param-name>maxFileSize</param-name>
            <param-value>20m</param-value>
             </init-param>
    </filter>
    <!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages  -->
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>*.jsf</url-pattern>
    </filter-mapping>
    <!-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.)  -->
    <filter-mapping>
        <filter-name>MyFacesExtensionsFilter</filter-name>
        <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
    </filter-mapping>
      <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>*.jsf</url-pattern>
      </servlet-mapping>
    </web-app>Here is my faces-config.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <faces-config
        xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
        version="1.2">
         <managed-bean>
              <managed-bean-name>
              myBean</managed-bean-name>
              <managed-bean-class>
              mypackage.MyBean</managed-bean-class>
              <managed-bean-scope>
              request</managed-bean-scope>
         </managed-bean>
    </faces-config>I hope anyone can help me.
    I don�t know if it is generally possible to work with Sun Ri and Tomahawk 1.1.6?
    Thank you very much for your answer.
    NickiS

    Thank you.
    Oh, yes I remember there where some jars I need too... but there is no hint on the myfaces site that I need something else than the tomahawk.jar file.
    I looked at an old myfaces project and found those jars:
    commons-beanutils-1.7.0.jar
    commons-codec-1.3.jar
    commons-collections-3.1.jar
    commons-digester-1.6.jar
    Can you tell me if I need them too? That would be great.
    Thank you for your great tutorial "JSF tutorial with Eclipse and Tomcat" (I think you recognized your example ;-) )
    NickiS

  • Can I use Tomahawk with Sun's JSF implementation?

    I would like to know whether I can use Tomahawk-1.1.3 with Sun's JSF implementation or have to use JSF implementation from myfaces?
    Thanks
    Zhong

    If the components are written per the specification, they should be portable, and as such should run on either implementation.

  • JSF 1.2 + myFaces Tomahawk

    Hi,
    I'm trying to use tomahawk component (t:inputFileUpload) in JSF 1.2 application.
    When I'm runing the app this kind of warrning apperas
    2007-04-23 15:39:41 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
    WARNING: Unable to find component with ID cover in view.
    2007-04-23 15:39:41 com.sun.faces.renderkit.html_basic.HtmlBasicRenderer getForComponent
    WARNING: Unable to find component with ID cover in view.cover is an ID of tomahawk component.
    Can somebody help?
    Thx in advance

    Amittev,
    Thank you. I really appreciate your help. Now the examples are working just fine in my computer.
    By the way, I have another question for you considering your kindness taken your time to share your expertise.
    I'm facing a Tiles and Facelets dilema. Which framework do you recomend me to invest my time learning it??.
    Thanks again for your time and consideration.

  • MyFaces Tomahawk in GlassFish

    Hi,
    Can somebody help me? I'm using Tomahawk 1.1.9 and myfaces-api.1.1.7 and myfaces-impl.1.1.7 in my JSF application. When I deploy my app. to GlassFish I got a SEVERE error "*Both MyFaces and the RI are on your classpath. Please make sure to use only one of the two JSF-imple...*"
    The problem still happens after I added
    *<class-loader delegate="false"/>*
    *<property name="useMyFaces" value="true"/>*
    into the sun-web.xml
    Any advices are really appreciated.
    Thanks!

    Finally I figured out the problem and fixed it.<!--Session data-->

  • BUG: JSP disappears from design view with MyFaces / Tomahawk

    Hi,
    When I try to create a JSF JSP in design view (as opposed to code view) using MyFaces and Tomahawk 1.1.3, the design view will blank and display "Type, paste or drag and drop content onto this blank....". This usually happens after I've dragged half a dozen JSF outputlabels and inputtext boxes. The code still exists in code view, and will even compile and deploy ok, it's just the design view that stops working. The design view usually blanks while I'm switching between the code tabs at the top of the screen, although I'm fairly sure it blanked as I dropped a textbox onto the form once.
    I've restarted JDev, tried to create a second page, clicked refresh etc but I can't get it back. This has happened starting from scratch 3 times now.
    I've switched back to the builtin reference implementation JSF (and no Tomahawk), and JDeveloper works fine, so it seems to be a problem using MyFaces. I've added MyFaces and Tomahawk via Manage Libraries.
    This Oracle article - http://www.oracle.com/technology/products/jdev/101/howtos/myfaces/index.html
    states that the RI version can't be swapped out in JDev Developer Preview version but I understand that's not true now?
    I'm using :-
    JDeveloper SU4
    java 1.5
    Windows XP SP1
    Thanks for any help.

    I found the answer. I went to View, Style Rendering and clicked several of the boxes  Display Media was one.

  • MyFaces vs. Sun RI

    Hi all.
    I'm a newbie in JSF tecnology and there's one thing that confuses me: What's the difference in between Sun RI and MyFaces?
    As I've understood while studying the subject, these are just two different implementations of the JSF specification. I've also learned that MyFaces is more widely used and more "bugfree". (I don't know if those are opinions of impartial parties).
    But what does this mean in practise? If I start learning and programming with one, how easy it is to change to another implementation? How easy it is to learn, and how easy it is to use the old code with new JSF implementation? And if I buy some book (I've thought of getting Core JavaServer Faces), does this bind me to either of the implementations?
    I'm currently under the impression, that this shouldn't be a problem and the main concern is to learn to use the JSF specification itself. But as said, I'm not at all sure, if I've understood all correctly, so I'd like to hear some opinions about these questions. And I'd like to hear what implementation are you guys using and why.
    Regards,
    John

    jsf is a JCP's specification....it is a emergent technology....
    and there are so many products based on this specification...
    the sun implementation is poor, it is a example ...
    the most powerfull I know is the ADF faces, of oracle.
    Thanks

  • 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

  • Broken Image is Shown in IE OF JSF - Sun App9 Deployment.

    Hi Friends,
    I have developed Application in Net Beans for JSF(Its a simple App.). When I deploy it onto Sun Application Server, It shows Broken Image. For Image Display I have Done Following.....
    Please Help.
    Thanks.
    IDE : NetBeans 5.5
    AppServer : Sun Application Server 9
    Browser : IE 6
    The Actua Code:
    <h:panelGroup> <h:outputLabel style="width:10%;"/>
    <h:graphicImage style="align:center;" id="imgLogin" url="images/LoginPage2.gif"/>
    </h:panelGroup>
    Thanks.
    Tushar Parekh
    [email protected]

    Hi ,
    I have monitor the server log and found the following please help...
    Thanks.
    Tushar
    WEB0100: Loading web module [JSFUniRisXMigrated] in virtual server [server] at [JSFUniRisXMigrated]
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/asadmin'
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context ''
    Initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/JSFUniRisXMigrated'
    Completed initializing Sun's JavaServer Faces implementation (1.2_02-b03-FCS) for context '/JSFUniRisXMigrated'
    WEB0712: Starting Sun-Java-System/Application-Server HTTP/1.1 on 8089

  • Verbatim bug with JSF (SUN RI) 1.1 ?

    Hi,
    Could someone explain me why this example doesn't work :
    <html>
    <head>
    </head>
    <body style="background-color:#E0E0E0">
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <f:view>
    <h:form id="frm1">
    <f:verbatim> <p> A simple text </p> </f:verbatim>
    <h:inputText id="inp1"/>
    <h:inputText id="inp2" required="true" /><h:message for="inp2" showSummary="false" showDetail="true" />
    <h:commandButton id="cmd" value="valider"/>
    </h:form>
    </f:view>
    </body>
    </html>
    When i submit the form, a ClassCastException is thrown during restoreState.
    If i remove the verbatim tag that works perfectly well...
    Nicolas Lenoire
    Sunopsis

    You would better to take option 2, I believe. I don't know when the next release will be issued. You can get 1.1 source code and patch by yourself or just try weekly build. Good luck!

  • R & D with MyFaces using JSF

    hi all
    i am facing a problem with tree population using MyFaces Component .actually in MyFaces Comp. AddResource.java class generates a dynamic resource path in my exp it's generated but at the time of display js method and images didn't picked up.
    i have map the org.apache.myfaces src also
    for exa. my generated path is :-
    /framework/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/11295320/images/line-middle.gif
    actual Myfaces's Path is :
    /simple/faces/myFacesExtensionResource/tree2.HtmlTreeRenderer/11295320/images/line-middle.gif
    so pls any buddy could help me ? what else i have to do
    thanx
    email:[email protected]

    I experienced the same problem while re-submitting to the same page about 15 times via a command button (a list page that would get updated with every new submit).
    After having turned JSF logging on I discovered that my stylesheet (!) was interpreted by JSF as a Faces view (because of the /faces/-mapping before it) and that this caused the list page to be (incorrectly) added up towards the maximum of 15 views in the session. After 15 reloads JSF would remove the list page from view, re-create it, and I experienced the same problems as you described in the top post - no navigation worked.
    My stylesheet used to be:
    <link rel="STYLESHEET" type="text/css" href="../../css/foo.css">
    ... which kept the /faces/ mapping from the page containing the css reference, and made it look like a faces view to JSF.
    When I switched to:
    <link rel="STYLESHEET" type="text/css" href="/css/foo.css">
    ... the problem disappeared.
    Hope that helps all of you that have this problem. It certainly took me quite a while to figure it out!
    Mattias L

Maybe you are looking for

  • I have a MacBook Pro, how to change the computer name in the "Find Iphone"

    I have a MacBook Pro, how to change the computer name in the "Find Iphone"?

  • Xnet database from txt file

    I have a CAN database in a .txt format.  I used access and excel to map it to a .xml file.  When I try to add it to the NI-XNET Database Editor in the Manage NI-XNET databases and add alias  it give me the error: x BFF63081.  How can I take a .txt fi

  • Plsql that send an asp page to a determine ip server

    hi, i would like to know how i can send an asp page to a determine ip server, with a plsql procedure. My plsql procedure should start, when an e-mail come to my server and read it the plsql procedure should send my asp page. thnkz MC

  • Where the HE!! is the link to my gallery?

    I thought we were supposed to have access to them until June 30th but when I go to the Cloud the link is GONE.  ******.

  • Error after update AIR 3.4

    When I export the ipa appears this error, and was soon after upgrading to version air Error creating files An attribute or element contains an invalid value in the application descriptor file. (application.id)