Is touchfaces publicly available yet or not?
Would appreciate if someone could point me to the links where I can download the jars for touchfaces.
Thx in advance
Is touchfaces publicly available yet or not?
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
It's in primefaces ui 0.9.3 jar.
Thx.
Let me try your sample touchfaces demo. I was wondering if we need to add any plugin to Eclipse as you mention in the doc "TouchFaces is built on top of the jqTouch jquery plugin".
Let me try and am sure will ask a few more questions if I hit any blockers when trying to run your Touchfaces app.
Thx again
Let me try your sample touchfaces demo. I was wondering if we need to add any plugin to Eclipse as you mention in the doc "TouchFaces is built on top of the jqTouch jquery plugin".
Let me try and am sure will ask a few more questions if I hit any blockers when trying to run your Touchfaces app.
Thx again
I think I have some simple issue.
I created a page called HelloWorld/sampletouch/test.xhtml
I loaded the url http://localhost:8080/HelloWorld/test.jsf and it fails with 404
and the namespace I have used in my test.html is
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:i="http://primefaces.prime.com.tr/touch">
I have used 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>HelloWorld</display-name>
<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.primefaces.ui.resource.ResourceServlet</servlet-class>
<init-param>
<param-name>load-on-startup</param-name>
<param-value>1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/primefaces_resources/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>load-on-startup</param-name>
<param-value>1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
I created a page called HelloWorld/sampletouch/test.xhtml
I loaded the url http://localhost:8080/HelloWorld/test.jsf and it fails with 404
and the namespace I have used in my test.html is
xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:i="http://primefaces.prime.com.tr/touch">
I have used 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>HelloWorld</display-name>
<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.primefaces.ui.resource.ResourceServlet</servlet-class>
<init-param>
<param-name>load-on-startup</param-name>
<param-value>1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/primefaces_resources/*</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>FacesServlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<init-param>
<param-name>load-on-startup</param-name>
<param-value>1</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>FacesServlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
</web-app>
Can you post a working web.xml for Touchfaces?
I can then see what the servlets and what the mappings are.
I have attached my web.xml in my previous post, but looks like it is not correct as I am getting http status 404 ..requested resource not available
I can then see what the servlets and what the mappings are.
I have attached my web.xml in my previous post, but looks like it is not correct as I am getting http status 404 ..requested resource not available
Hi,
you can see our example's web.xml and other files here:
http://primefaces.googlecode.com/svn/ex ... in/webapp/
you can check the web.xml there.
Yigit.
you can see our example's web.xml and other files here:
http://primefaces.googlecode.com/svn/ex ... in/webapp/
you can check the web.xml there.
Yigit.
I had tried them. They do now work if I use facelets
The only way I could get something to work was using jsp. But that too has issues with i:rowitem. It does not understand "label" attribute.
<i:rowItem label="Google" url="http://www.google.com">
My google.jsf
----------------
The only way I could get something to work was using jsp. But that too has issues with i:rowitem. It does not understand "label" attribute.
<i:rowItem label="Google" url="http://www.google.com">
My google.jsf
----------------
Code: Select all
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %>
<%@ taglib uri="http://primefaces.prime.com.tr/touch" prefix="i" %>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<html>
<f:view>
<i:application>
<i:view title="Demo">
<i:tableView display="group">
<i:rowGroup title="Hello">
<i:rowItem >
</i:rowItem>
<i:rowItem label="Google" url="http://www.google.com"></i:rowItem>
</i:rowGroup>
</i:tableView>
</i:view>
</i:application>
</f:view>
</html>
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Actually they work with facelets, all demo apps have facelets. Which browser have you tested with? Did you have f:view contentType="text/html" for facelets?
Regarding label problem of rowitem, try using 1.0.0.RC-SNAPSHOT build, it has the fix for that.
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Regarding label problem of rowitem, try using 1.0.0.RC-SNAPSHOT build, it has the fix for that.
http://repository.prime.com.tr/org/prim ... -SNAPSHOT/
Thx. I will try facelets again. But before I get to it am trying to make jsp work with i:rowitem.
I tried using1.0.0.RC-SNAPSHOT and that did nto help either. I posted the i:rowitem as a different post as want to keep jsp and facelet conversations seperate
I tried using1.0.0.RC-SNAPSHOT and that did nto help either. I posted the i:rowitem as a different post as want to keep jsp and facelet conversations seperate
-
- Information
-
Who is online
Users browsing this forum: Google [Bot] and 34 guests