小编eri*_*eal的帖子

如何在WildFly上安装JSF(javax.faces.jar)的一个jar变体

我想在我的应用程序中使用JSF 2.3,但WildFly使用2.2 JAR变体.

甲骨文在这里说https://javaserverfaces.java.net/2.3/download.html,不会发布2.3 2 JAR变种.

jsf wildfly jsf-2.3

10
推荐指数
1
解决办法
3510
查看次数

用于重新加载部署的 WildFly CLI 命令

我可以重新启动运行以下 Java 代码的整个 WildFly 服务器。但我只想重新加载一个名为“test.war”的部署。怎么可能呢?

public void flushall() throws IOException {
    Runtime.getRuntime().exec(
        "cmd /c start C:\\wildfly\\bin\\jboss-cli.bat --connect /subsystem=datasources/data-source=FirebirdPool/:flush-all-connection-in-pool "
    );
}
Run Code Online (Sandbox Code Playgroud)

command-line-interface wildfly

5
推荐指数
1
解决办法
1万
查看次数

在 Ubuntu 18.04 上安装 Firebird 2.5.9

我正在尝试在 ubuntu 18.04 中安装 firebird 2.5.8,但没有成功\n手册第 6 条中说

\n\n
SuperServer only installs a /etc/rc.d/init.d/firebird server start script. \n\nClassic server installs a /etc/xinetd.d/firebird start script or, for older inetd systems, adds an entry to the /etc/inetd file \n
Run Code Online (Sandbox Code Playgroud)\n\n

但在我运行 install.sh 后并没有发生这种情况,它只创建 opt/firebird 文件,安装后也不启动服务。

\n\n

https://www.firebirdsql.org/file/documentation/release_notes/html/install210.html#rnfbtwo-install-psx

\n\n

同样在https://firebirdsql.org/manual/ubusetup.html中它说:\napt-get install firebird2.5-superclassic

\n\n

但它在终端上打印:

\n\n
E: Imposs\xc3\xadvel encontrar o pacote firebird2.5-superclassic \nE: Couldn\'t find any package by glob \'firebird2.5-superclassic\' \nE: N\xc3\xa3o foi poss\xc3\xadvel encontrar o pacote atrav\xc3\xa9s da express\xc3\xa3o regular \'firebird2.5-superclassic\' …
Run Code Online (Sandbox Code Playgroud)

firebird ubuntu-18.04

5
推荐指数
1
解决办法
2万
查看次数

使用动态ID选择Multiple SelectManyCheckBox中的所有项目

我想在JSF顶部使用PrimeFaces组件选中一些复选框中的所有复选框.

我的代码是这样的:

<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Confere:" style="font-weight:bold!important" />
    <p:selectManyCheckbox
        value="#{funcionarioBean.funcionario.permissaoConfere.stringArray}">
        <f:selectItem itemLabel="Consulta" itemValue="C" />
        <f:selectItem itemLabel="Edição" itemValue="E" />
        <f:selectItem itemLabel="Deleção" itemValue="D" />
        <f:selectItem itemLabel="Inclusão" itemValue="I" />
        <f:selectItem itemLabel="Relatório" itemValue="R" />
        <f:selectItem itemLabel="Check All"/>
    </p:selectManyCheckbox>
</h:panelGrid>
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Visitante:" style="font-weight:bold!important" />
    <p:selectManyCheckbox
        value="#{funcionarioBean.funcionario.permissaoVisitante.stringArray}">
        <f:selectItem itemLabel="Consulta" itemValue="C" />
        <f:selectItem itemLabel="Edição" itemValue="E" />
        <f:selectItem itemLabel="Deleção" itemValue="D" />
        <f:selectItem itemLabel="Inclusão" itemValue="I" />
        <f:selectItem itemLabel="Relatório" itemValue="R" />
        <f:selectItem itemLabel="Check All"/>
    </p:selectManyCheckbox>
</h:panelGrid>
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">
    <p:outputLabel value="Ocorrências:" style="font-weight:bold!important" /> …
Run Code Online (Sandbox Code Playgroud)

jquery jsf selectall primefaces selectmanycheckbox

2
推荐指数
1
解决办法
2941
查看次数