Tomahawk t:inputDate problem

I am using t:inputDate tag in my xhtml.
<t:inputDate id="date2" value="#{date2}" type="time"/> <h:message for="date2"/>
If i leave any of text boxes blank or if i enter letters instead of number in any of three textboxes provided by the inputDate tag, i get an exception
javax.servlet.ServletException: For input string: ""
     javax.faces.webapp.FacesServlet.service(FacesServlet.java:109)
     org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:123)
root cause
java.lang.NumberFormatException: For input string: ""
     java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
     java.lang.Integer.parseInt(Integer.java:468)
     java.lang.Integer.parseInt(Integer.java:497)
     org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse(HtmlInputDate.java:199)
     org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue(HtmlDateRenderer.java:275)
     javax.faces.component.UIInput.getConvertedValue(UIInput.java:289)
Is there a way i can handle this exception. And show it as a conversion error message??. I don't want the whole application to blow and page with exception shwoing up. How can i convert into error message??

i am having the same problem
I have a page with three use of input date tomahawk
2 of them sometimes work as expected (i.e. the calendar appear beside the icon), 1 of them never work (the calendar shows up like 1/2 screen below the icon)

Similar Messages

  • Tomahawk t:inputDate problem in IE

    I am using t:inputDate with popupCalendar attribute set to "true". It works perfectly in Firefox but the calendar can't popup in IE. Would anyone please help me? Thanks very much!
    Note: I have already added extension filters and I'm using tomahawk version 1.1.5
    Here is my JSP source code:
    <html>
         <head>
              <title>Stock Management System</title>
         </head>
         <body>
              <f:view>
                   <h:form>
                        <t:outputText value="Welcome "/>
                        <t:outputText value="#{account.engName}!"/>
                        <p>
                        <t:panelGrid columns="3">
                             <t:commandLink tabindex="100" value="Save" action="#{transactionHandler.insert}"/>
                             <t:commandLink tabindex="101" value="Cancel" action="main" immediate="true"/>
                             <h:outputLink tabindex="102" value="#{facesContext.externalContext.request.contextPath}/pages/logout.jsp">
                                  <t:outputText value="Logout"/>
                             </h:outputLink>
                        </t:panelGrid>
                        <p>
                        <t:panelGrid id="main" columns="3">
                             <t:outputText value="Buy / Sell"/>
                             <t:selectOneMenu tabindex="1" id="action" value="#{transaction.action}" required="true">
                                  <f:selectItem itemValue="B" itemLabel="Buy"/>
                                  <f:selectItem itemValue="S" itemLabel="Sell"/>
                             </t:selectOneMenu>
                             <t:message for="action"/>
                             <t:outputText value="Date"/>
                             <t:inputDate id="date" type="date" popupCalendar="true" value="#{transaction.date}"/>
                             <t:message for="date"/>
                             <t:outputText value="Stock Code"/>
                             <t:inputText tabindex="5" id="stockCd" value="#{transaction.stockCd}" size="4" dir="RTL" required="true">
                                  <f:validateLongRange maximum="9999" minimum="1"/>
                             </t:inputText>
                             <t:message for="stockCd"/>
                             <t:outputText value="Quantity" />
                             <t:inputText tabindex="6" id="qty" value="#{transaction.qty}" size="8" dir="RTL" required="true">
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="qty"/>
                             <t:outputText value="Unit Price" />
                             <t:inputText tabindex="7" id="unitPrice" value="#{transaction.unitPrice}" size="8" dir="RTL" required="true">
                                  <f:convertNumber pattern="$#,##0.000"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="unitPrice"/>
                             <t:outputText value="Brokerage" />
                             <t:inputText tabindex="8" id="brokerage" value="#{transaction.brokerage}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="brokerage"/>
                             <t:outputText value="Levy Fee" />
                             <t:inputText tabindex="9" id="levy" value="#{transaction.levy}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="levy"/>
                             <t:outputText value="Stamp Duty" />
                             <t:inputText tabindex="10" id="stampDuty" value="#{transaction.stampDuty}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="stampDuty"/>
                             <t:outputText value="Trading Fee" />
                             <t:inputText tabindex="11" id="tradingFee" value="#{transaction.tradingFee}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="tradingFee"/>
                             <t:outputText value="Investment Compensation Levy" />
                             <t:inputText tabindex="12" id="invCompLevy" value="#{transaction.invCompLevy}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="invCompLevy"/>
                             <t:outputText value="Handling Charge" />
                             <t:inputText tabindex="13" id="handlingChrg" value="#{transaction.handlingCharge}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="handlingChrg"/>
                             <t:outputText value="Deposit Charge" />
                             <t:inputText tabindex="14" id="depositChrg" value="#{transaction.depositCharge}" size="8" dir="RTL">
                                  <f:convertNumber pattern="$#,##0.00"/>
                                  <f:validateDoubleRange minimum="0"/>
                             </t:inputText>
                             <t:message for="depositChrg"/>
                        </t:panelGrid>
                   </h:form>
              </f:view>
         </body>     
    </html>
    Here is the generated HTML results:
    <html>
         <head>
    <link rel="stylesheet" href="/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/calendar.HtmlCalendarRenderer/WH/theme.css" type="text/css" />
    <link rel="stylesheet" href="/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/calendar.HtmlCalendarRenderer/DB/theme.css" type="text/css" />
    <script type="text/javascript" src="/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/prototype.PrototypeResourceLoader/prototype.js"><!--
    //--></script>
    <script type="text/javascript" src="/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/calendar.HtmlCalendarRenderer/date.js"><!--
    //--></script>
    <script type="text/javascript" src="/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/calendar.HtmlCalendarRenderer/popcalendar.js"><!--
    //--></script>
              <title>Stock Management System</title>
         </head>
         <body>
                   <form id="_idJsp0" name="_idJsp0" method="post" action="/Stock/pages/add_transaction.jsf" enctype="application/x-www-form-urlencoded">
                        Welcome
                        Tsang Shiu Ching!
                        <p>
                        <table><tbody><tr><td><script type="text/javascript"><!--
         function oamSetHiddenInput(formname, name, value)
              var form = document.forms[formname];
              if(typeof form.elements[name]=='undefined')
                   var newInput = document.createElement('input');
                   newInput.setAttribute('type','hidden');
                   newInput.setAttribute('name',name);
                   newInput.setAttribute('value',value);
                   form.appendChild(newInput);
              else
                   form.elements[name].value=value;
         function oamClearHiddenInput(formname, name, value)
              var form = document.forms[formname];
              if(typeof form.elements[name]!='undefined')
                   form.elements[name].value=null;
         function oamSubmitForm(formName, linkId, target, params)
              var clearFn = 'clearFormHiddenParams_'+formName.replace(/-/g, '\$:').replace(/:/g,'_');
              if(typeof eval('window.'+clearFn)!='undefined')
                   eval('window.'+clearFn+'(formName)');
              if(typeof window.getScrolling!='undefined')
                   oamSetHiddenInput(formName,'autoScroll',getScrolling());
              var oldTarget = '';
              if((typeof target!='undefined') && target != null)
                   oldTarget=document.forms[formName].target;
                   document.forms[formName].target=target;
              if((typeof params!='undefined') && params != null)
                   for(var i=0; i<params.length; i++)
                        oamSetHiddenInput(formName,params[0], params[i][1]);
              oamSetHiddenInput(formName,formName +':'+'_idcl',linkId);
              if(document.forms[formName].onsubmit)
                   var result=document.forms[formName].onsubmit();
                   if((typeof result=='undefined')||result)
                        document.forms[formName].submit();
              else
                   document.forms[formName].submit();
              if(oldTarget==null) oldTarget='';
              document.forms[formName].target=oldTarget;
              if((typeof params!='undefined') && params != null)
                   for(var i=0; i<params.length; i++)
                        oamClearHiddenInput(formName,params[i][0], params[i][1]);
              oamClearHiddenInput(formName,formName +':'+'_idcl',linkId);return false;
    //--></script>Save
    <input type="hidden" name="autoScroll" />
    </td><td>Cancel</td><td><a id="_idJsp0:_idJsp6" name="_idJsp0:_idJsp6" href="/Stock/pages/logout.jsp" tabindex="102">Logout</a></td></tr>
    </tbody></table>
                        <p>
                        <table id="_idJsp0:main"><tbody><tr><td>Buy / Sell</td><td><select id="_idJsp0:action" name="_idJsp0:action" size="1" tabindex="1">     <option value="B">Buy</option>     <option value="S">Sell</option></select></td><td></td></tr>
    <tr><td>Date</td><td>
    <span id="_idJsp0:date"><input id="_idJsp0:date.day" name="_idJsp0:date.day" size="2" maxlength="2" /><select id="_idJsp0:date.month" name="_idJsp0:date.month" size="1"><option value="-1" selected="selected"></option>          <option value="1">&#19968;&#26376;</option>          <option value="2">&#20108;&#26376;</option>          <option value="3">&#19977;&#26376;</option>          <option value="4">&#22235;&#26376;</option>          <option value="5">&#20116;&#26376;</option>          <option value="6">&#20845;&#26376;</option>          <option value="7">&#19971;&#26376;</option>          <option value="8">&#20843;&#26376;</option>          <option value="9">&#20061;&#26376;</option>          <option value="10">&#21313;&#26376;</option>          <option value="11">&#21313;&#19968;&#26376;</option>          <option value="12">&#21313;&#20108;&#26376;</option></select><input id="_idJsp0:date.year" name="_idJsp0:date.year" size="4" maxlength="4" /><span id="_idJsp0:dateSpan"></span><script type="text/javascript"><!--
    var _5FidJsp0_3AdateCalendarVar=new org_apache_myfaces_PopupCalendar();
    _5FidJsp0_3AdateCalendarVar.initData.imgDir = "/Stock/faces/myFacesExtensionResource/org.apache.myfaces.renderkit.html.util.MyFacesResourceLoader/11796022/calendar.HtmlCalendarRenderer/DB/";
    _5FidJsp0_3AdateCalendarVar.initData.monthName = new Array("\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708");
    _5FidJsp0_3AdateCalendarVar.initData.dayName = new Array("\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D");
    _5FidJsp0_3AdateCalendarVar.initData.startAt = 0;
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.weekdays = new Array("\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D");
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.shortWeekdays = new Array("\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D");
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.shortMonths = new Array("1\u6708","2\u6708","3\u6708","4\u6708","5\u6708","6\u6708","7\u6708","8\u6708","9\u6708","10\u6708","11\u6708","12\u6708");
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.months = new Array("\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708");
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.eras = new Array("\u897F\u5143\u524D","\u897F\u5143");
    _5FidJsp0_3AdateCalendarVar.dateFormatSymbols.ampms = new Array("\u4E0A\u5348","\u4E0B\u5348");
    _5FidJsp0_3AdateCalendarVar.init(document.getElementById('_idJsp0:dateSpan'));
    //--></script><input type="button" onclick="_5FidJsp0_3AdateCalendarVar._popUpCalendarForInputDate('_idJsp0:date','yy'&#24180;'M'&#26376;'d'&#26085;'');" value="..." /></span></td><td></td></tr>
    <tr><td>Stock Code</td><td><input id="_idJsp0:stockCd" name="_idJsp0:stockCd" type="text" value="0" size="4" dir="RTL" tabindex="5" /></td><td></td></tr>
    <tr><td>Quantity</td><td><input id="_idJsp0:qty" name="_idJsp0:qty" type="text" value="0.0" size="8" dir="RTL" tabindex="6" /></td><td></td></tr>
    <tr><td>Unit Price</td><td><input id="_idJsp0:unitPrice" name="_idJsp0:unitPrice" type="text" value="$0.000" size="8" dir="RTL" tabindex="7" /></td><td></td></tr>
    <tr><td>Brokerage</td><td><input id="_idJsp0:brokerage" name="_idJsp0:brokerage" type="text" value="$0.00" size="8" dir="RTL" tabindex="8" /></td><td></td></tr>
    <tr><td>Levy Fee</td><td><input id="_idJsp0:levy" name="_idJsp0:levy" type="text" value="$0.00" size="8" dir="RTL" tabindex="9" /></td><td></td></tr>
    <tr><td>Stamp Duty</td><td><input id="_idJsp0:stampDuty" name="_idJsp0:stampDuty" type="text" value="$0.00" size="8" dir="RTL" tabindex="10" /></td><td></td></tr>
    <tr><td>Trading Fee</td><td><input id="_idJsp0:tradingFee" name="_idJsp0:tradingFee" type="text" value="$0.00" size="8" dir="RTL" tabindex="11" /></td><td></td></tr>
    <tr><td>Investment Compensation Levy</td><td><input id="_idJsp0:invCompLevy" name="_idJsp0:invCompLevy" type="text" value="$0.00" size="8" dir="RTL" tabindex="12" /></td><td></td></tr>
    <tr><td>Handling Charge</td><td><input id="_idJsp0:handlingChrg" name="_idJsp0:handlingChrg" type="text" value="$0.00" size="8" dir="RTL" tabindex="13" /></td><td></td></tr>
    <tr><td>Deposit Charge</td><td><input id="_idJsp0:depositChrg" name="_idJsp0:depositChrg" type="text" value="$0.00" size="8" dir="RTL" tabindex="14" /></td><td></td></tr>
    </tbody></table>
                   <input type="hidden" name="_idJsp0_SUBMIT" value="1" /><input type="hidden" name="_idJsp0:_link_hidden_" /><input type="hidden" name="_idJsp0:_idcl" /><script type="text/javascript"><!--
         function clear__5FidJsp0()
              clearFormHiddenParams__idJsp0('_idJsp0');
         function clearFormHiddenParams__idJsp0(currFormName)
              var f = document.forms['_idJsp0'];
              f.elements['_idJsp0:_link_hidden_'].value='';
              f.elements['_idJsp0:_idcl'].value='';
              f.target='';
         clearFormHiddenParams__idJsp0();
    //--></script><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="rO0ABXVyABNbTGphdmEubGFuZy5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAN0AAIxM3B0ABovcGFnZXMvYWRkX3RyYW5zYWN0aW9uLmpzcA==" /></form>
         <!-- MYFACES JAVASCRIPT -->
    <script type="text/javascript"><!--
         function getScrolling()
              var x = 0; var y = 0;if (self.pageXOffset || self.pageYOffset)
                   x = self.pageXOffset;
                   y = self.pageYOffset;
              else if ((document.documentElement && document.documentElement.scrollLeft)||(document.documentElement && document.documentElement.scrollTop))
                   x = document.documentElement.scrollLeft;
                   y = document.documentElement.scrollTop;
              else if (document.body)
                   x = document.body.scrollLeft;
                   y = document.body.scrollTop;
              return x + "," + y;
    //--></script>
    </body>     
    </html>

    i am having the same problem
    I have a page with three use of input date tomahawk
    2 of them sometimes work as expected (i.e. the calendar appear beside the icon), 1 of them never work (the calendar shows up like 1/2 screen below the icon)

  • Tomahawk Player - Sporadic "Problem Accessing Audio Device" Errors

    Hi, I have recently started using Tomahawk Player in GNOME and some songs from external sources can play and others receive an error that states:
    "Sorry, there is a problem accessing your audio device. Make sure you have a suitable Phonon backend and required plugins installed."
    However, I have phonon, phonon-gstreamer, and phonon-vlc installed.
    How can I further diagnose this?
    Last edited by bdamos (2014-11-30 19:48:16)

    Hello,
    That is unfortunately a not-very-helpful error message as it could mask a variety of problems. One of those problems is that it might happen if Tomahawk is unable to play the url for the track---what source has it resolved to? (rightmost column)?
    Feel free to come ask us on Freenode (#tomahawk) and our forums on forum.tomahawk-player.org. You'll probably get a better response there.

  • Adf inputDate Problem

    hello oracles ;
    i m using adf BC to create some JSPX pages in jdev 11.
    i have a form wich have a dateInput, wich allows to select the date and show it it the field .but i want to save this date to the data base with the time of the operation when it was occured too !
    but here i get just the date.
    how can i save with the date the the time of the operation . like this : "dd/mm/yyyy hh:mm:ss"
    thanks, regards ;

    You just want to save the time, or do you want the user to enter the time as well??
    Select your <af:inputDate in the structure window. Right click and say Insert Inside->ADF Faces->Convert Date Time. Here you can set the pattern till hh:mm:ss ...
    If you want to automatically append the current time, at the time of insertion, you can override your doDML operation. You can write your custom code in the pre-insert section..
    http://radio.weblogs.com/0118231/2003/07/28.html
    Julian

  • Tomahawk popup component problem

    How can i rewrite popup component or write my custom component for renders a popup which displays on not a mouse event - i need by button click event. Anybody can help me ?
    Thnx

    I was use <jp:popupBox> and put into <t:dataTable> which has <h:inputText> and <h:selectBooleanCheckbox> in rows - they are not save value, they set null in my Bean. I am reading about it in forums look at that
    http://www.mail-archive.com/[email protected]/msg18007.html in this post talking about jenia problem (" I just got a response on the Jenia forum. It currently isn't possible
    to put an input box in a popup box, but it is being worked on.")

  • Jsf / richfaces / tomahawk / panelgrid rendered problem

    hi..
    i am trying to set the rendered attribute of a t:panelGrid component as follows
    <a4j:region id="fixedLineSelectionRegion">
    <t:selectOneListbox value="#{orderCapture.currentOrderItemCapture.orderCaptureHelper.selectedFixedLine}">
    <f:selectItems id="si" value="#{orderCapture.currentOrderItemCapture.orderCaptureHelper.fixedLineServicesSelectItems}" ></f:selectItems>
    <a4j:support event="onchange" reRender="fixedLineDetailsPanelGrid, transferTypePanelGrid_1 transferTypePanelGrid_2, certificate_provided, select_transfertype"/>
    </t:selectOneListbox>
    </a4j:region>
    <t:panelGrid rendered="#{orderCapture.currentOrderItemCapture.orderCaptureHelper.residential}" id="transferTypePanelGrid_1" .....
    </t:panelGrid>
    in this case when i update the listbox in the fixedLineSelectionRegion, all the components listed in the reRender tag are updated but the panelGrids transferTypePanelGrid_1 and transferTypePanelGrid_2 are not...
    is this some kind of limitation or am i doing something wrong ?

    Lakshmi,
    I'm working on that component right now, so I'll take a look at that. Could you file an issue on that so that we can track it?
    https://javaserverfaces.dev.java.net/issues/enter_bug.cgi?issue_type=ENHANCEMENT&subcomponent=sandbox
    Thanks! :)
    jason lee

  • JDeveloper 10.1.3.0.3 and Apache MyFaces 1.1.1 Integration, Aces help.

    First, I created a page that has both ADF Faces Core components and MyFaces components.
    Here are the configs:
    JSP Code:
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
    <html>
    <body>
    <f:view>
    <t:jscookMenu layout="hbr" theme="ThemeOffice">
    <t:navigationMenuItem id="nav_5" itemLabel="Tools"/>
    <t:navigationMenuItem id="nav_6" itemLabel="Help"/>
    </t:jscookMenu>
    <h:form>
    <af:commandButton text="ADF button"/>
    </h:form>
    </f:view>
    <body>
    <html>
    Included libs:
    adf-faces-impl.jar
    commons-beanutils.jar
    commons-codec.jar
    commons-collections.jar
    commons-digester.jar
    commons-el.jar
    commons-fileupload.jar
    commons-lang.jar
    commons-loggin.jar
    commons-validator.jar
    myfaces-api.jar
    myfaces-impl.jar
    tomahawk.jar
    Included Tag libs:
    af.tld
    afh.tld
    myfaces_core.tld
    myfaces_html.tld
    myfaces_ext.tld
    tomahawk.tld
    The Problem
    After I added a af:commandButton within the f:view, the html and body tags were automatically converted to afh:html and afh:body tags, this created a FacesException upon runtime so I had to change them back to plain old html and body tags and the page ran again. I am a bit hesitant about this step due to afh:body tags being required for PPR. Also, when I tried adding afh components to the page, they cause compile errors that would not normally if the page is enclosed by afh:html and afh:body tags.
    Some questions:
    Can afh tags play nicely with MyFaces components? If so, what am I doing wrong?
    If afh tags are needed by PPR then why is using afh tags a bad solution?
    What are possible workarounds?
    Thanks very much in advance.
    See posts by Adam Winer about afh tags
    Re: ADF FACES: Drag&drop of ADF Faces component set all prefixes to af: or :afh
    Re: ADF Faces panelForm
    Exception message caused by afh:html and afh:body tags:
    500 Internal Server Error
    javax.faces.FacesException: javax.faces.component.UIViewRoot     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421)     at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234)     at oracle.adfinternal.view.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:157)     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[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._invokeDoFilter(AdfFacesFilterImpl.java:363)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl._doFilterImpl(AdfFacesFilterImpl.java:332)     at oracle.adfinternal.view.faces.webapp.AdfFacesFilterImpl.doFilter(AdfFacesFilterImpl.java:192)     at oracle.adf.view.faces.webapp.AdfFacesFilter.doFilter(AdfFacesFilter.java:87)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)     at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:693)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)     at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:245)     at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:231)     at oracle.oc4j.network.ServerSocketAcceptHandler.access$1000(ServerSocketAcceptHandler.java:33)     at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:820)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)     at java.lang.Thread.run(Thread.java:595)Caused by: javax.servlet.ServletException: javax.faces.component.UIViewRoot     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindPageContext.handlePageThrowable(EvermindPageContext.java:760)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.EvermindPageContext.handlePageException(EvermindPageContext.java:707)     at crdbmyfacesmenu2e_jsp._jspService(_crdbmyfacesmenu_2e_jsp.java:205)     [crdbmyfacesmenu.jsp]     at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].http.OrionHttpJspPage.service(OrionHttpJspPage.java:60)     at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:410)     at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:473)     at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:404)     at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:846)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:397)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:319)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:48)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:226)     at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:274)     at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:230)     at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:415)     ... 25 more

    I had the same problem, poked around a bit on the Apache web site and came across the installation requirements:
    http://myfaces.apache.org/tomahawk/extensionsFilter.html
    The key in my case was installing the three extensionsFilter elements in my METAINF/web.xml file:
         <filter>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <filter-class>org.apache.myfaces.component.html.util.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>
              <!-- 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>
         <filter-mapping>
              <filter-name>MyFacesExtensionsFilter</filter-name>
              <url-pattern>*.faces</url-pattern>
         </filter-mapping>
    Once I redeployed, the menu came up just fine. I think the important one is the myFacesExtensionResource url-pattern value.

  • Problem using Tomahawk inputDate tag

    When I enter a blank value for any of the dropdowns in the inputDate component anerror is generated by the component and I can display the errorMessage using
    <t:message for="myDate" errorClass="validationMessage" infoClass="infoMessage"/>My question is is there any way to stop the validation happening or better still to remove the "blank" options from the dropdowns. I know there are emptyAmpmSelection/emptyMonthSelection where you can define what you want the blank to appear as but I just want the time dropdown to be AM or PM, nothing else. I can't even try to imagine why the blanks are there in the first place.
    Thansk ... J

    Just preselect the dropdown menu.
    E.g.<h:selectOneMenu value="#{myBean.selectedItem}">
    public MyBean() {
        this.selectedItem = "Use here the same value as one of the selectItem objects.";
    }

  • 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

  • Problem in using Tomahawk 1.1.3 jar with jsf-api.jar & jsf-impl.jar

    Hi All,
    i am facing the problem while using <t:panelTabbedPane> in jsp.APplication has jsf-api.jar and jsf-impl.jar and Tomahawk 1.1.3 jar files in lib folder. This is a Portal Application.While deplyoing on portal server, i am getting following exception
    Nested Exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException
    at org.apache.myfaces.shared_tomahawk.config.MyfacesConfig.<clinit>(MyfacesConfig.java:80).
    if any faces problem previously, please help me out in debugging this issue

    Please don't resurrect old topics. Start a new topic for each stand alone question. If necessary put links to the topics you found with search/google.
    Back to the actual problem:java.lang.NoClassDefFoundError: javax/servlet/jsp/el/ELException The given class is missing in the classpath during runtime. Add that class, or at least the JAR file with that class, to the classpath of the runtime environment, then you're fine.

  • 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)

  • Problem using Tomahawk tree2 with JSF RI 1.1

    Hello,
    When I try to run Tomahawk tree2 component on JSF RI 1.1 I am getting the following exception.
    java.lang.IllegalStateException: Duplicate component ID 'billsearch:billSearchForm:NewTabadvanceSearch:subTabOne:clientTree:t2c' found in view.
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:191)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:199)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.removeTransientChildrenAndFacets(StateManagerImpl.java:181)
         at com.sun.faces.application.StateManagerImpl.saveSerializedView(StateManagerImpl.java:85)
         at org.ajax4jsf.framework.ajax.AjaxStateManager.saveSerializedView(AjaxStateManager.java:90)
         at com.sun.faces.taglib.jsf_core.ViewTag.doAfterBody(ViewTag.java:169)
         at jsp_servlet._pages.__billsearchinit._jspService(__billsearchinit.java:156)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
         at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:229)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96)
         at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:501)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
         at weblogic.servlet.jsp.PageContextImpl.forward(PageContextImpl.java:148)
         at jsp_servlet.__index._jspService(__index.java:101)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)Any help would be highly appreciated. I have tried setting my own id's to each and every component. But this throws me a different error and it doesn't let me set the id's manually. The error message is:
    Error 500--Internal Server Error
    java.lang.IllegalArgumentException: 1
         at javax.faces.component.UIComponentBase.validateId(UIComponentBase.java:462)
         at javax.faces.component.UIComponentBase.setId(UIComponentBase.java:279)
         at javax.faces.webapp.UIComponentTag.createComponent(UIComponentTag.java:1016)
         at javax.faces.webapp.UIComponentTag.createFacet(UIComponentTag.java:1059)
         at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:740)
         at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:429)
    Any help or hint on solving this problem is highly appreciated.
    Thanks in adv.
    ~SirG

    Richfaces is compatible with JSF 1.1 and 1.2 and also with great ui part
    but it may conflict with the other tomahawk component and filters

  • InputDate Column Filter Date Format Problem

    Hi,
    I have an af:table with filterable columns and some of these columns are based on Timestamp VO attributes.
    When I enter a date filter - either manually or from the associated date picker, the filter is applied correctly using a date format of dd/MM/yyyy.
    However, when the table is subsequently refreshed, the filter value is still present but has been re-formatted to "yyyy-MM-dd hh:mi:ss" format (default format for a Timestamp datatype?). The an error appears in the column filter component - "Error: The date is not in the correct format".
    If I want to retain the filter value across queries, how can this be achieved?
    My table column is defined as follows:
    <af:column sortProperty="#{bindings.ViewDataVO1.hints.LastReadingDate.name}"
                                                   filterable="true" sortable="true"
                                                   headerText="#{bindings.ViewDataVO1.hints.LastReadingDate.label}"
                                                   id="c59"
                                                   rendered='#{bindings.ViewDataVO1.hints.LastReadingDate.displayHint != "Hide"}'
                                                   displayIndex="#{bindings.ViewDataVO1.hints.LastReadingDate.displayHeight}">
                                            <f:facet name="filter">
                                                <af:inputDate value="#{vs.filterCriteria.LastReadingDate}" id="id4">
                                                    <af:convertDateTime
                                                                        pattern="#{bindings.ViewDataVO1.hints.LastReadingDate.format}"/>
                                                </af:inputDate>
                                            </f:facet>
                                            <af:outputText value="#{row.LastReadingDate}" id="ot59">
                                                <af:convertDateTime pattern="#{bindings.ViewDataVO1.hints.LastReadingDate.format}"/>
                                            </af:outputText>
                                        </af:column>I've tried messing with the properties of the af:convertDateTime component, but I'm thinking the problem is in the population of the filter facet inputDate with the vs.filterCriteria.LastReadingDate value. This does not appear to be re-formatted for display - but I don't know how to manipulate this value...
    Or is there a better way? This seems more complicated than it should be...?
    By the way, I am using JDeveloper 11.1.2.1.0 for my development.
    Thanks.

    Does it work fine if you change the pattern for convertDateTime?
    I.e
    change
    <f:facet name="filter">
                                                <af:inputDate value="#{vs.filterCriteria.LastReadingDate}" id="id4">
                                                    <af:convertDateTime
                                                                        pattern="#{bindings.ViewDataVO1.hints.LastReadingDate.format}"/>
                                                </af:inputDate>
                                            </f:facet>to
    <f:facet name="filter">
                                                <af:inputDate value="#{vs.filterCriteria.LastReadingDate}" id="id4">
                                                    <af:convertDateTime
                                                                        pattern="dd/MM/yyyy"/>
                                                </af:inputDate>
                                            </f:facet>-Arun

  • Tomahawk , panelTabbedPane problem...

    Hi,
    i am working with tabbedpane control of tomahawk, when i am including a plain jsp page like ....
    <t:panelTabbedPane serverSideTabSwitch="false">
         <t:panelTab id="tab1" label="TabbedPanel1">
             <f:verbatim><jsp:include page="profile.jsp"/> </f:verbatim>
    </t:panelTab>it is working fine. but when i try to include a jsf page , which has taglib directives to include core and html components of jsf, it is giving error on server console as well on browser also...
    stack trace ...
    2007-07-27 16:15:50,421 ERROR [org.apache.myfaces.taglib.core.ViewTag] Error writing endDocument
    java.io.IOException: Illegal to flush within a custom tag
         at javax.servlet.jsp.tagext.BodyContent.flush(BodyContent.java:79)
         at javax.faces.webapp._PageContextOutWriter.flush(_PageContextOutWriter.java:45)Help me to solve this issue....
    Thanks in advance...

    Hi...Thanks for reply...
    i tried flush attribute...but no use...
    i tried removing verbatim , it is not even showing the plain jsp page also.... i think may be there is a problem with @taglib....
    i had to include those files in the main file as well in profile file as i am using some members of those taglibraries in both the files....
    any other suggestion....

  • Tomahawk datascroller problem

    Hi ,
    I am facing a problem with tomahawk datascroller. i am enabling datascroller if i get more than 5 records. ok it is working fine . I got 8 records and displayed in two pages.i have gone to second page and removed three records.isteda of showing first page it remains in the second page(empty).please any body suggest.
    Thanks&Regards
    K.Ramu

    kodandaramu wrote:
    please its very urgentThat's your own problem. Moving pressure to us, who have completely nothing to do with your jobs and are not paid to do your job, is only dumb and rude. Have patience man. Just ask questions the smart way.

Maybe you are looking for