Results 1 to 4 of 4
- 06-25-2008, 01:58 PM #1
Member
- Join Date
- Jun 2008
- Posts
- 1
- Rep Power
- 0
JSF datatable with calendar component
I created calender using javascript and Imported the script file to jsf,
In jsf if i click the Image then it will pop up the calendar,
if i click any date then it ll display in textfield of jsf.its working fine.
similarly, in datatable I include the textfield and image,
I am getting error in jboss4.2 like this: at java.lang.Thread.run(Thread.java:595)
Caused by: javax.el.ELException: Error Parsing: #{}
- 01-15-2009, 12:07 PM #2
Member
- Join Date
- Jan 2009
- Posts
- 34
- Rep Power
- 0
I recommend you to use MyFaces Tomahawk implementation.
With it you only have to use this tag: <t:inputCalendar>Leandro Iriarte. Systems Engineer
http://www.leandroiriarte.com.ar
- 04-22-2009, 11:22 AM #3
Member
- Join Date
- Apr 2009
- Posts
- 1
- Rep Power
- 0
Hi,
Can any one help me out in using Tomahawk jar in implementing JSF calendar.
Platform : Sun Portal Server , JDK1.5 , JSF framework
- 06-25-2009, 07:53 AM #4
Member
- Join Date
- Jun 2009
- Posts
- 8
- Rep Power
- 0
You can't have a jar tomahawk jar only for calendar.
Steps you have to follow are:
1. download tomahawk.jar .
2. Put the tomahawk.jar in your WEB-INF/lib directory (or in the classpath of your application server.)
3.Configure the MyFaces Extensions filter in your WEB-INF/web.xml file.
<filter>
<filter-name>MyFacesExtensionsFilter</filter-name>
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsF ilter</filter-class>
<init-param>
<param-name>uploadMaxFileSize</param-name>
<param-value>20m</param-value>
<description>Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
</description>
</init-param>
</filter>
<!-- extension mapping for adding <script/>, <link/>, and other resource tags to JSF-pages -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</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>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
<!-- 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 adding <script/>, <link/>, and other resource tags to JSF-pages -->
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>*.faces</url-pattern>
</filter-mapping>
Now you have your configuration done. Now you can use the Tomahawk library in your jsf pages.
Similar Threads
-
JSF message component problem
By Jothi in forum JavaServer Faces (JSF)Replies: 0Last Post: 06-04-2008, 02:39 PM -
How to Focus Next Component Sample
By Java Tip in forum javax.swingReplies: 0Last Post: 04-23-2008, 08:18 PM -
Same component on all JTabbedPane
By java_novice in forum AWT / SwingReplies: 4Last Post: 08-06-2007, 09:09 AM -
Help with custom component
By Falcon1 in forum AWT / SwingReplies: 8Last Post: 07-21-2007, 12:39 PM -
PoJoe Component Libraries 1.1
By levent in forum Java SoftwareReplies: 0Last Post: 06-08-2007, 10:23 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks