Hi,
I think you need to develop the createUploadFile tag and package it as part of the
jbpm4jsf-14.jar
First you need the source code for org.jbpm.jsf.core.CoreLibrary.java and add the
following line in there addTagHandler("createUploadFile",
CreateUploadFileHandler.class);. Then create
org.jbpm.jsf.core.handler.CreateUploadFileHandler.java as which calls
org.jbpm.jsf.core.action.CreateUploadFileActionListener.java
You can base your implementation on the Jbpm team's code, they are pretty straight
forward.
Make sure you return a List<UploadFileDAO> - with only one object in it, where
UploadFileDAO.java is just a trivial Data Access Object that only contains the attributes
I mentioned, such as piID, fileVar and fileName, a constructor and a bunch of
getters/setters.
Hope that helps
David
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152840#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...