[jboss-user] [JBoss jBPM] - How to use TomaHawk with JBPM?

gsccnu do-not-reply at jboss.com
Thu Jul 12 23:43:20 EDT 2007


I want use Tomahawk's compnents.
My .xhtml is :
<html xmlns="http://www.w3.org/1999/xhtml"
  |       xmlns:ui="http://java.sun.com/jsf/facelets"
  |       xmlns:c="http://java.sun.com/jstl/core"
  |       xmlns:h="http://java.sun.com/jsf/html"
  |       xmlns:f="http://java.sun.com/jsf/core"
  |       xmlns:tf="http://jbpm.org/jsf/tf"
  |       xmlns:jbpm="http://jbpm.org/jsf"
  |       xmlns:t="http://myfaces.apache.org/tomahawk">
  | 
  |   <ui:component>
  | 
  |     <jbpm:dataform>
  |   	
  |       <f:facet name="header">
  |         <h:outputText value="#{taskName}"/>
  |       </f:facet>
  |         
  |       <!-- TASKFORM ROWS -->
  |       <jbpm:datacell>
  |         <f:facet name="header">
  |             <h:outputText value="date"/>
  |         </f:facet>
  |       <t:inputCalendar id="secondOne" monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader" popupButtonStyleClass="standard_bold"
  |                 currentDayCellClass="currentDayCell" value="#{var['date']}" renderAsPopup="true"
  |                 popupTodayString="Today"
  |                 popupDateFormat="MM/dd/yyyy" popupWeekString="WK"
  |                 helpText="MM/DD/YYYY"
  |                 forceId="true"/>
  |       </jbpm:datacell>
  | .............................
But when i try to Examine ,i get a error as follow
com.sun.facelets.FaceletException: Error Parsing /2/task.xhtml: Error Traced[line: 28] Invalid byte 1 of 1-byte UTF-8 sequence.
  | 	com.sun.facelets.compiler.SAXCompiler.doCompile(SAXCompiler.java:234)
  | 	com.sun.facelets.compiler.Compiler.compile(Compiler.java:105)
  | 	com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:197)
  | 	com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:144)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:293)
  | 	com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:240)
  | 	org.jbpm.jsf.core.handler.IncludeProcessFileHandler.apply(IncludeProcessFileHandler.java:88)
  | 	com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 	com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 	com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 	com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 	com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58)
  | 	com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128)
  | 	com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306)
  | 	com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279)
  | 	com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68)
  | 	com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 	com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | 	com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 	com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | 	com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | 	com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
  | 	com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | 	com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294)
  | 	com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273)
  | 	com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143)
  | 	com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113)
  | 	com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | 	com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | 	com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | 	com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503)
  | 	com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546)
  | 	javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:178)
  | 	com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | 	com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:248)
  | 	com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | 	javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

How can i do?

THANKS a lot
GS

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4063781#4063781

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4063781



More information about the jboss-user mailing list