在我使用 taskQuery 加载任务列表之后
taskService.createTaskQuery()
.processDefinitionKey(PROCESSKEY)
.taskCandidateGroupIn(list).initializeFormKeys().list()
Run Code Online (Sandbox Code Playgroud)
找出每项任务的候选组的最佳方法是什么?我想在 JSF 视图中显示它,但类 Task 没有相应的字段。
这是我的xhtml文件:
<html>
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=Cp1252"/>
</h:head>
<h:body>
<view>
<h:form>
<br/>
<br/>
<center>
<h:panelGrid columns="2">
<f:facet name="header">
<h:outputText value="Login"/>
</f:facet>
<h:outputText value="Benutzername:"/>
<h:inputText value="#{benutzer.benutzerName}" size="18"/>
<h:outputText value="Passwort: "/>
<h:inputSecret value="#{benutzer.passwort}" size="18"/>
<f:facet name="footer">
<h:commandButton value="Login" action ="#{benutzer.doLogin}"/>
</f:facet>
</h:panelGrid >
</center>
</h:form>
</view>
</h:body>
Run Code Online (Sandbox Code Playgroud)
每次尝试运行它时,都会出现错误“元素h:head的前缀h未绑定”。
这让我疯狂。为什么会出现此错误?
我通过此示例在JBoss EAP 7上安装了mssql驱动程序。启动将引发以下错误:
引起原因:java.lang.NoClassDefFoundError:com.microsoft.sqlserver.jdbc.SQLServerConnection.sendLogon(SQLServerConnection.java:4098)上的com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.javax / xml / bind / DatatypeConverter com.microsoft.sqlserver.jdbc.SQLServerConnection.access $ 100(SQLServerConnection.java:43)处com.microsoft.sqlserver.jdbc.SQLServerConnection $ LogonCommand.doExecute(SQLServerConnection.java:3123)处com.microsoft。 com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:2445)上的sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:7505),com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java: (1981年),网址为com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:1628)。microsoft.sqlserver.jdbc.SQLServerConnection.connectInternal(SQLServerConnection.java:1459)位于com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:773)位于com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver。 java:1168),位于org.jboss.jca.adapters.jdbc.local.LocalManagedConnectionFactory.createLocalManagedConnection(LocalManagedConnectionFactory.java:322)
business-process-management ×1
camunda ×1
html ×1
jboss ×1
jboss-eap-7 ×1
jsf ×1
persistence ×1
process ×1
sql-server ×1
xhtml ×1