Tomahawk inputCalendar alternative

Hi,
I'm having some performance issues with the tomahawk inputCalendar component. Is there another inputCalendar component in JSF that I can use?
Thanks

RichFaces has a [rich:calendar|http://livedemo.exadel.com/richfaces-demo/richfaces/calendar.jsf] component.

Similar Messages

  • Tomahawk inputCalendar problem

    Hi i am using the calender tag. The code is given below
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <t:inputCalendar
    id="calendar" value=""
    renderAsPopup="true"
    popupDateFormat="MM/dd/yyyy"
    renderPopupButtonAsImage="true"
    />
    The first problem i m having is that popupButtonImageUrl attribute is not availble even though i set renderPopupButtonAsImage="true" .
    Secondly i am also getting some javascript error that "object expected".
    Please help me out.
    Thankyou

    Exception is:
    SEVERE: Exception starting filter MyFacesExtensionsFilter
    java.lang.ClassNotFoundException: org.apache.myfaces.webapp.filter.ExtensionsFilter
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
         at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1198)
         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:209)
         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3600)
         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4193)
         at org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1089)
         at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1187)
         at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:292)
         at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
         at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1305)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1569)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1578)
         at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1558)
         at java.lang.Thread.run(Thread.java:595)

  • Tomahawk inputCalendar accepting invalid date values

    Hi,
    I'm using a inputcalendar in one of the screens that we are developing. There are coupleof issues that we are facing while using this component. We are using MyFaces 1.1.1. The date format for the component is MM/dd/yyyy.
    1. In the text field, I enter the date as 31/12/4009 and then I click on the calendar icon. The date selected in the image is 07/12/2011.
    2. Again, I enter the date as 31/12/4009 and then submit the page. The value changes to 07/12/2011 and gets saved.
    The date value is getting converted automatically.
    Please help me solve this. Thanks.

    try
    this link
    http://example.irian.at/example-simple-20081107/calendar.jsf

  • Deactivate certain dates in t:inputCalendar

    Hi all,
    is there a way to set some dates in tomahawks inputCalendar to inactive? If not are there some other calendar Implementations for jsf to resolve this problem?
    Thanks Rainer

    Check the date and time of your current Mac. Is it correct?
    Check the date and time on the Mac that you had before, if you still have it.
    If that does not provide any clues, you probably need something that will change file attributes such as this:
    http://www.versiontracker.com/dyn/moreinfo/macosx/16167
    Duplicate one of the problematic files -keep the original, just in case...
    and use the tool linked above to change the creation date to a time prior to the "bad" period.
    Retry using a creation date after the bad period, if the first does not help.

  • MyFaces 1.1.5, Tomahawk 1.1.3, Portlet 168 using Pluto Container Questions

    I am currently using MyFaces 1.1.5 - JSF1.1 implementation with Tomahawk 1.1.3 running on top of Pluto 1.1.1 within our development environment. We are going to deploy it to IBM Portal 6.0 for production. I am also using the MyFaces Portlet Bridge. My question is what Open Source Component libraries are out there that work in a Portlet environment??? I tried Rich Client Faces but ran into some issues... I am also looking for AJAX support as well... I wanted to use Ajax4JSF but it doesn't have portlet support yet (I wish it did!)... Also, I am running into an issue with the Tomahawk inputCalendar component... It works fine in a standalone servlet but in the portlet is seems that the CSS styles aren't render properly (the calendar header is blanked out so I can not see the months, day , year etc...). I setup the MyFaces filter extension properly to my knowledge...
    <!-- MyFaces Extension Filter -->
         <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>
    <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>     
    <!-- MyFaces Extension Filter Mappings -->
         <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>*.jsf</url-pattern>
         </filter-mapping>
         <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
         </filter-mapping>
         <filter-mapping>
    <filter-name>MyFacesExtensionsFilter</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
         </filter-mapping>
    Thanks for any advice in advance!!!
    -Kyle

    I want to do same thing but with oracle portal.
    It seems Tomahawk extensions (needed by calendar) is incompatible with any portlet.
    Some people seem to be trying to fix this:-
    http://palab.blogspot.com/2006/09/myfaces-bridge-08-released.html

  • H:inputCalendar problem in Myfaces1.1 Tomahawk

    Hi,
    When the inputCalendar control is rendered as popup, I'm not able to select the year. It seems to be a javascript error. Is there anyone having met the same problem?
    Thanks.

    Hai,
    We are trying to use the HtmlnputCalendar, but we are facing a problem. It says that
    com.sun.faces.application.ApplicationImpl Could not instantiate component of type org.apache.myfaces.HtmlInputCalendar.
    Please tell us what to do. We have placed Tomahawk.jar and also myfaces_all.jar in the web-inf/lib folder.
    We are facing this problem for a quite some time now, please help us in this regard. If we are wrong in any configuration, please let us know the complete steps to use Calendar component.
    Thanks in advance....
    Sree..

  • t:inputCalendar How To Specify a Date Range?

    <-- Sorry for my english. -->
    Can anybody help me?
    I want to know how to specify a date range in the <t:inputCalendar/> component. I'm using Tomahawk/Apche implementation. So that the user cannot specify a date outside that range.
    Thanks.

    I don't think that the inputCalendar tag supports that directly. However, you could add a validator to the component.

  • Using  Tomahawk   t:tabChangeListener/ with t:panelTab/

    Hi ,
    I am using tomahawk <t:panelTabbedPane/> tag. However I would like an action event to be fired and would like to refresh my page on clicking a particular tab(i.e.<t:panelTab />) on the pane.On searching google I found <t:tabChangeListener/>.But i dont now how to use it.If anyone has idea of how to use it or any other alternative solution , it would be of great help.This is an emergency.

    I'd guess these questions need to be anserwed by AT&T...
    WyreNut
    Post relates to: Centro (AT&T)
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • Not working t:inputCalendar in facelets

    This is my code :
    ======================================================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml"
              xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:c="http://java.sun.com/jsp/jstl/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:t="http://myfaces.apache.org/tomahawk">
    <f:loadBundle basename="resources" var="msg" />
    <f:view>
         <h:panelGroup>
              <ui:composition template="/templates/common.xhtml">
                   <ui:define name="pageTitle">Input Staff Details</ui:define>
                   <ui:define name="pageHeader">Staff Details!</ui:define>
                   <ui:define name="body">
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="name" />
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="sCode" />
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="wPurpose" />
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="salary" />
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="year" />
                        <h:message showSummary="true" showDetail="false" style="color: red; font-weight: bold;" for="inputDate" />
                        <form jsfc="h:form" id="staffForm">
                             <table >
                                  <tr>
                                       <td>Enter Name</td>
                                       <td><input jsfc="h:inputText" required="true" id="name" value="#{staff.staffName}" /></td>
                                  </tr>
                                  <tr>     
                                       <td>     Enter Staff Code</td>
                                       <td>     <input jsfc="h:inputText" required="true" id="sCode" value="#{staff.staffCode}" /></td>
                                  </tr>
                                  <tr>     
                                       <td>     Enter Work</td>
                                       <td>     <input jsfc="h:inputText" required="true" id="wPurpose" value="#{staff.workPurpose}" /></td>
                                  </tr>
                                  <tr>
                                       <td>     Enter Salary</td>
                                       <td>     <input jsfc="h:inputText" required="true" id="salary" value="#{staff.salary}" />
                                       </td>
                                  </tr>
                                  <tr>
                                       <td>Select Sex :</td>
                                       <td>
                                            <h:selectOneRadio value="#{staff.sex}">
                                                 <f:selectItems value="#{staff.sexList}"/>
                                            </h:selectOneRadio>
                                       </td>
                                  </tr>
                                  <tr>
                                       <td> Select Date</td>
                                       <td>
              Not working this --------                              
    <input jsfc="t:inputCalendar" "birthDate" value="#{staff.birthDate}"
         renderAsPopup="true"                         addResources="false"                              />               
                                       </td>
                                  </tr>
                             <tr >
                                  <td colspan="2">                         
                                       <input type="submit" jsfc="h:commandButton" id="submit"
                                            action="getDetails" value="Save Details" />
                                  </td>
                             </tr>
                             </table>
                        </form>
                   </ui:define>               
              </ui:composition>
              </h:panelGroup>
              </f:view>
    </html>

    Hi Naveen,
    Now i given old password to PISUPER using SU01.  But still i am getting the below error when i access sxmb_ifr
    error log:
    3: Error while reading configuration for secure communication
    Message no. SAI_GLOBAL030
    and also in sldcheck getting :
    Calling function EXCHANGE_PROFILE_GET_PARAMETER
    Retrieving data from the XI Profile...
    Function call returned exception code     3
    Access to the XI Profile is currently disrupted.
    => Check whether you can access the XI Profile using a web browser!
    In exchangeprofile->connection  link i changed pisuper password, do i need to update this. Please also let me know after chaning j2ee_admin do i need to update anywhere.
    Regards,
    Karthik.

  • JSF InputCalendar tag image accessibility alt tag issue

    When using an inputCalendar tag in JSF combined with the attribute popupButtonImageUrl, is it possible to set the ALT tag for the "popupButtonImageUrl image".
    Is it also possible to set the ALT tags for the built in arrow images in the calendar control ?
    Thanks for all your help.
    Nando

    MyFaces is just a standard JSF implementation, it doesn't have a calendar component, as said before.
    Are you talking about Tomahawk? Well, they have a mailinglist over there at apache.org. Good luck.

  • T:inputCalendar

    Hi,
    I have problem with inputCalendar from tomahawk. I need to write web app based on jsf 1.1 and tomahawk 1.1.3. I have to use pop up inputCallendar but I can't set up css styles. This problem is when I use pop up version,.
    What is the problem ?

    I think the best you can do without digging into the guts of the code is add a validator to the component. Otherwise I think you are looking at a rewrite.

  • T:inputCalendar validation error. dd/MM/yyyySPACE ????

    I am using t:inputCalendar. I found the validation occur because of i did not put space at the back. My popupDateFormat="dd/MM/yyyy" but when i run the application it append the space at the back "dd/MM/yyyySPACE". When i erase the space, it gave me validation error message. Why?

    You're here at a Sun forum. I don't think that the Tomahawk boys walk around here. Rather post this issue at their mailinglist [1].
    [1] http://myfaces.apache.org/tomahawk/mail-lists.html

  • Tomahawk on tomcat error !

    hi all , i try to use tomahawk but there an error when i try to run app , my files under WEB-INF/lib:
    commons-beanutils-1.7.0.jar
    commons-codec-1.3.jar
    commons-collections-3.2.jar
    commons-digester-1.8.jar
    commons-discovery-0.4.jar
    commons-el.jar
    commons-fileupload-1.0.jar
    commons-logging-1.1.jar
    commons-validator-1.3.1.jar
    jstl-1.2.jar
    log4j-1.2.8.jar
    myfaces-api-1.2.0.jar
    myfaces-impl-1.2.0.jar
    oro-2.0.8.jar
    portlet-api-1.0.jar
    struts.jar
    tomahawk-1.1.6.jar
    page.jsp :
    <%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
    <%@ 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"  %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Insert title here</title>
    </head>
    <f:view>
         <body style="text-align: center;">
         <h:form>
              <t:inputCalendar value="#{firstMyFaceBean.date}" ></t:inputCalendar>
              <h:commandButton action="display" value="get selected"></h:commandButton>
         </h:form>
         </body>
    </f:view>
    </html>and this is error :
    org.apache.jasper.JasperException: javax.servlet.ServletException: java.lang.NoClassDefFoundError: com/sun/faces/taglib/jsf_core/ViewTag
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:541)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:417)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)i use tomcat 6.0
    help me, please !
    null

    i seached and someone say try delete tomcat cache in".metadata\.plugins\org.eclipse.wst.server.core\tmp0\work" , do like that and i get other error :
    org.apache.jasper.JasperException: Unable to convert string "go" to class "javax.el.MethodExpression" for attribute "action": Property Editor not registered with the PropertyEditorManager
         org.apache.jasper.runtime.JspRuntimeLibrary.getValueFromPropertyEditorManager(JspRuntimeLibrary.java:887)
         org.apache.jsp.index_jsp._jspx_meth_h_005fcommandButton_005f0(index_jsp.java:186)
         org.apache.jsp.index_jsp._jspx_meth_h_005fform_005f0(index_jsp.java:154)
         org.apache.jsp.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:113)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:75)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:334)
         org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:254)
         org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
         org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
         javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

  • Problem with disabling t:inputCalendar component

    I use <t:inputCalendar> component from the tomahawk library. I am facing a problem with it like I am not able to disable it completely. I am able to disable only the input field with it. The image that pops up the calendar couldn't be disabled.
    Pls help if some one has tried this.

    try setting the visibility or render settings maybe

  • How can I assign points to the alternatives in a question?

    Hi! I am building my first quiz in Captivate and I have this little problem I haven´t been able to solve. I want a make a test that meassures how stress you are att work. It looks like a survey, I´ll have about 20 or more questions with the same type of alternatives, no right or wrong alternatives, but you choose the one you agree the most with. The thing is that i want to give a value point to each alternative and be able to have a score at the end. See the example.
    How often do you feel stressed att work?
    1. never : 0 points
    2. one a week: 2 points
    3. three times a week: 3 points
    4. Everyday: 4 points
    Att the end, the score you get tells you how stressed you are, but instead of showing a result in term of points, you´ll get a text giving you feedback and recomendations for better health. Can I do that in Captivate? I haven´t been able to find a way to do that yet...
    Thanks for any help you can give me!

    Hello,
    Tried putting something together that could be possible, concentrated on the workflow. There will be some repetitive tasks to be done however, problem is that a click box cannot stay for a whole project, which means that a click box gets its proper ID on each slide. Will try to explain, it is up to you to judge if this is acceptable, or if you'd go better with a Flash app.
    Created (for the moment, perhaps you'll need more if p.e. for Q1-Q10 you need a separate result for A and for B, result for Q11-Q20...) two user variables:
    v_AClick     to store the number of clicks on A-option
    v_BClick     to store the number of clicks on B-option
    The results can then be used later on for a condition (did not write it yet).
    Created a first slide with these objects:
    dummy Text Caption 'Option A' (will be replaced later on with question text)
    click box covering up this Text Caption, named it (ID) ClickA1 (this is the tedious part, has to be done for each CB; ClickA2, ClickA3...)
    dummy Text Caption 'Option B' (will be replaced later on with question text)
    click box covering up this Text Caption, named it (ID) ClickB1 (this is the tedious part, has to be done for each CB; ClickB2, ClickB3...)
    imported a 'sign' to be showed after the user clicked into the Library, and put an instance to the right of each Text Caption, those were labeled VinkA and VinkB. Very important: set those instances to 'Show for the entire project', which avoids to have them duplicated to each slide, we will hide and show them as necessary.
    button 'Next' which on Succes jumps to next slide.
    The blue Text Caption was for me, to check if the actions were functioning, shouldn't be there in the end file.
    I created a first Advanced action, labeled it HideVink (sorry for the Dutch, Vink = the green symbol), to be triggered on entering the slide:
    Hide VinkA
    Hide VinkB
    Second/third action, labeled A_Action1/B_Action1 to be triggered by clicking on the ClickA1/ClickB2 with these actions:
    increment v_AClick/v_BClick with 1
    hide the other clickbox, thus ClickB1/ClickA1 to avoid that the user could click on both options
    show AVink/BVink
    Here is an example, action A_Action1
    Those two actions have to be duplicated for each Question slide (A_Action2, B_Action2,....). What has to be changed in the duplicates is only the number of the Click Box, that is why I labeled them to make the process easier.
    Now I duplicated the slide as many times as necessary. The actions for button and entering slide are OK, but the actions for the click boxes have to be adapted (tedious).
    Why did I use 'dummy' Text Captions: I should export (File menu) the Text Captions to a Word-document, change the dummy texts (left column) to the real captions (much easier in one doc) and re-import them into the CP-file.
    That was my homework, as promised. Hope it helps, even if you choose to go the Flash-way after all.
    Lilybiri

Maybe you are looking for