Hi all,

 

I have an existing small project. It's getting larger so I'm attempting
to make use of Facelets. 

 

I would like to make a reusable component based on the tr:treetable.
But, as yet, I cannot get it working when using it as the content of a
predefined template.  The tree table has several columns but only one
input field - rendered based on the type of the required data (see
attached extract).

 

 

I have implemented this without Facelets and it works fine. Using
Facelets, it seems to ignore the pattern specified in the
convertDataTime. I'm also getting a PPR error when clicking on the icon
to display the calendar. This doesn't occur all the time and I haven't
yet determined how to regularly recreate this. The exception is
attached.

 

These errors are particular to use in a tr:treeTable component - I've
used input dates in a standard tr:form and have no issues.

 

I've using Trinidad 1.2.8, myfaces 1.2.4 and Facelets 1.1.14 on SAP
Netweaver

 

Any tips would be greatly appreciated.

 

Regards,

Gerry Donnelly


P Please consider the environment before printing this email
_________________________________________________________ 
 
1. The information contained in this E-mail, including any files transmitted 
with it, is confidential and may be legally privileged. This E-mail is intended 
only for the personal attention of the stated addressee(s). Any access to this 
E-mail, including any files transmitted with it, by any other person is 
unauthorised. If you are not an addressee, you must not disclose, copy, 
circulate or in any other way use or rely on the information contained in this 
E-mail or any files transmitted with it. Such unauthorised use may be unlawful. 
If you have received this E-mail in error, please inform the sender immediately 
and delete it and all copies from your system. You may not forward this E-mail 
without the permission of the sender.
 
2. The views expressed in this E-mail are those of the author, and do not 
necessarily represent the views of AMT-SYBEX. Internet communications are not 
secure and AMT-SYBEX cannot, therefore, accept legal responsibility for the 
contents of this message nor for any damage caused by viruses.
 
AMT-SYBEX Limited is a UK company, registration number GB03036807 at address 
The Spirella Building, Bridge Road, Letchworth, SG6 4ET. 
AMT-SYBEX (NI) Limited is a UK company, registration number NI024104 at address 
Edgewater Office Park, Edgewater Rd, Belfast, BT3 9JQ.
For more information on the AMT-SYBEX Group visit http://www.amt-sybex.com
_________________________________________________________

Attachment: tree.xhtml
Description: tree.xhtml

org.apache.myfaces.trinidadinternal.config.xmlHttp.XmlHttpConfigurator 
handleError
SEVERE: Server Exception during PPR, #1
javax.servlet.ServletException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.runServlet(FilterChainImpl.java:163)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:82)
at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:238)
at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:195)
at 
org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
at 
org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at 
com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java:74)
at 
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:425)
at 
com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:289)
at 
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at 
com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:376)
at 
com.sap.engine.services.servlets_jsp.filters.ServletSelector.process(ServletSelector.java:85)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.servlets_jsp.filters.ApplicationSelector.process(ApplicationSelector.java:160)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.httpserver.filters.WebContainerInvoker.process(WebContainerInvoker.java:67)
at 
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.httpserver.filters.ResponseLogWriter.process(ResponseLogWriter.java:60)
at 
com.sap.engine.services.httpserver.chain.HostFilter.process(HostFilter.java:9)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.httpserver.filters.DefineHostFilter.process(DefineHostFilter.java:27)
at 
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.httpserver.filters.MonitoringFilter.process(MonitoringFilter.java:29)
at 
com.sap.engine.services.httpserver.chain.ServerFilter.process(ServerFilter.java:12)
at 
com.sap.engine.services.httpserver.chain.AbstractChain.process(AbstractChain.java:71)
at 
com.sap.engine.services.httpserver.server.Processor.chainedRequest(Processor.java:309)
at 
com.sap.engine.services.httpserver.server.Processor$FCAProcessorThread.run(Processor.java:222)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:152)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:247)
Caused by: java.lang.IllegalArgumentException
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.findComponent(UIXComponentBase.java:491)
at 
org.apache.myfaces.trinidad.util.ComponentUtils.findRelativeComponent(ComponentUtils.java:385)
at 
org.apache.myfaces.trinidadinternal.context.RequestContextImpl.addPartialTriggerListeners(RequestContextImpl.java:550)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decode(UIXComponentBase.java:710)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:814)
at 
org.apache.myfaces.trinidad.component.ChildLoop$Decode.process(ChildLoop.java:94)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
at 
org.apache.myfaces.trinidad.component.UIXColumn.processDecodes(UIXColumn.java:80)
at 
org.apache.myfaces.trinidad.component.UIXCollection.processComponent(UIXCollection.java:950)
at 
org.apache.myfaces.trinidad.component.TableUtils$3.process(TableUtils.java:283)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:55)
at org.apache.myfaces.trinidad.component.ChildLoop.runAlways(ChildLoop.java:48)
at 
org.apache.myfaces.trinidad.component.TableUtils.__processStampedChildren(TableUtils.java:278)
at 
org.apache.myfaces.trinidad.component.UIXTreeTable.processFacetsAndChildren(UIXTreeTable.java:395)
at 
org.apache.myfaces.trinidad.component.UIXCollection.decodeChildrenImpl(UIXCollection.java:196)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:955)
at 
org.apache.myfaces.trinidad.component.UIXCollection.processDecodes(UIXCollection.java:190)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:969)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:955)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:811)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:969)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:955)
at org.apache.myfaces.trinidad.component.UIXForm.processDecodes(UIXForm.java:75)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:969)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:955)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:811)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildrenImpl(UIXComponentBase.java:969)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.decodeChildren(UIXComponentBase.java:955)
at 
org.apache.myfaces.trinidad.component.UIXComponentBase.processDecodes(UIXComponentBase.java:811)
at 
javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:998)
at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493)
at 
com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
... 33 more 

Reply via email to