[JBoss jBPM] - Re: next task/node name in processInstance
by vtysh
You can try to use jbpm logs. But i don't know which results will you get in case of the next node is the join node. Here how it is used in TaskBean.java of jbpm-3.1.3
| LoggingInstance loggingInstance = processInstance.getLoggingInstance();
| List assignmentLogs = loggingInstance.getLogs(TaskAssignLog.class);
|
| log.debug("assignmentlogs: " + assignmentLogs);
|
| if (assignmentLogs.size() == 1) {
| TaskAssignLog taskAssignLog = (TaskAssignLog) assignmentLogs.get(0);
| JsfHelper.addMessage("A new task has been assigned to '" + taskAssignLog.getTaskNewActorId() + "'");
|
| } else if (assignmentLogs.size() > 1) {
| String msg = "New tasks have been assigned to: ";
| Iterator iter = assignmentLogs.iterator();
| while (iter.hasNext()) {
| TaskAssignLog taskAssignLog = (TaskAssignLog) iter.next();
| msg += taskAssignLog.getActorId();
| if (iter.hasNext())
| msg += ", ";
| }
| msg += ".";
| JsfHelper.addMessage(msg);
| }
|
TaskAssignLog has reference to TaskInstance
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077157#4077157
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077157
18Â years, 8Â months
[JBoss Seam] - JBOSS Seam example application, registration, doesn't work
by bensonfungjava
Hi,
I followed the example application, registration in JBOSS Seam. Unfortunately, it doesn't work.
Environment :
JBOSS Seam : 1.2.1 GA
MyFaces 1.1.4
JBOSS AS : 4.0.5 GA
the URL : http://localhost:8080/seam-registration/register.seam can be accessed. After entering the 3 parameters and hit register button, 3 error message was displayed as follows :
* Conversion Error "_idJsp2": Error during model data update.
* Conversion Error "_idJsp3": Error during model data update.
* Conversion Error "_idJsp4": Error during model data update.
And I finally discovered that the Seam component, user, is not instantiated, that's why the property value of user cannot get set.
But the reason is why the user Seam component cannot get instantiated? If you guys have any idea, please let me know. This issue really makes piss me off.
thanks
Benson
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077152#4077152
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077152
18Â years, 8Â months
[Security & JAAS/JBoss] - SSL and shockwave fashj animation
by jc7442
I have an index.htm page that include a flash animation:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
| <html>
| <head>
| <meta http-equiv="refresh"
| content="3;URL=http://localhost:15080/demo/createSample.jsp" />
| <title>Demo application</title>
| </head>
| <body>
| <h1>Loading demo application ...</h1>
| <br/></br/>
| <table cellpadding=0 border=0 cellspacing=0 width="605" align="center">
| <tr>
| <td valign="top" align="center"><embed
| src="wile_roadrunner_main.swf" type="application/x-shockwave-flash"
| width="189" height="290" quality="low" menu="false"></embed></td>
| </tr>
| </table>
| </body>
| </html>
It works fine in http. I have change my jboss configuration to use https. With https, the flash demo is never loaded in the page (the progress bar of the browser progress very slowly).
How can I use a flash inside a secured page ?
Is it a configuration issue or a development inssue ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077148#4077148
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077148
18Â years, 8Â months