[jBPM] - simple tutorial Jbpm 5 in Webapplication ( servlet/Jsp )
by hicham hicham
hicham hicham [http://community.jboss.org/people/hicham1980] created the discussion
"simple tutorial Jbpm 5 in Webapplication ( servlet/Jsp )"
To view the discussion, visit: http://community.jboss.org/message/644166#644166
--------------------------------------------------------------
Hello,
i need your help, please, for how to *implement jbpm into a simple webapplication (just with simple servlet/Jsp)*.
if you have tutorial which go *step by step*, that will be very good for me.
i look for that for a long time but nothing in the web, or i found dificult things.
just show me which *libraries* i will need, where i *put* them, and which *methods* i will use in order to go from task to task.
excuse me for my english, i speak little, but french i speak very good
Thanks you
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644166#644166]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months
[JBoss Tools] - Re: How to set BIRT parameters from Seam page?
by Carlos Celis Osorio
Carlos Celis Osorio [http://community.jboss.org/people/cacelis] created the discussion
"Re: How to set BIRT parameters from Seam page?"
To view the discussion, visit: http://community.jboss.org/message/644187#644187
--------------------------------------------------------------
Hi.
I have other problem when I try to send the parameters from JSF page to a BIRT report.
The problem is, the parameter values aren't arriving to the report.
If I print the values selected in the list, I can see them in the display but, they don't arrive to the report. Otherwise, If I try to send constant values in the attribute "value" of the tag "b:param" (for example, <b:param name="OficinaVentas" value="OFICINA1" />), the parameters arrive to the report.
Code is here:
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:birt="http://www.eclipse.org/birt/taglibs/birt.tld"
xmlns:b="http://jboss.com/products/seam/birt">
<ui:composition template="/layout/template.xhtml">
<ui:define name="body">
<h:form id="homeForm">
<rich:panel id="panel_config_report">
<f:facet name="header">
<h:outputText value="Reporte - Ventas y Devoluciones" />
</f:facet>
<table align="center">
<tr>
<td><h:outputText value="Fecha Inicio:" /></td>
<td><rich:calendar id="fecha_inicio" datePattern="dd/MM/yyyy"
popup="true" locale="CO" enableManualInput="false"
value="#{report.report.fechaInicio}">
</rich:calendar></td>
<td><h:outputText value="Fecha Fin:" /></td>
<td><rich:calendar id="fecha_fin" datePattern="dd/MM/yyyy"
popup="true" locale="CO" enableManualInput="true"
value="#{report.report.fechaFin}">
</rich:calendar></td>
<td><h:outputText value="Organización de Ventas" /></td>
<td><h:selectManyListbox id="organizacion"
value="#{report.report.organizacionVentas}" size="5">
<s:selectItems value="#{listaOrganizaciones}"
var="_organizacion"
itemValue="#{_organizacion.idOrganizacionVentas}"
label="#{_organizacion.organizacionVentas}" size="10">
</s:selectItems>
</h:selectManyListbox></td>
<td><h:outputText value="Oficina de Ventas" /></td>
<td><h:selectManyListbox id="oficina"
value="#{report.report.oficinaVentas}" size="5">
<s:selectItems value="#{listaOficinaVentas}" var="_oficina"
itemValue="#{_oficina.idOficinaVentas}"
label="#{_oficina.oficinaVentas}">
</s:selectItems>
</h:selectManyListbox></td>
<td><h:outputText value="Canal de Distribución" /></td>
<td><h:selectManyListbox id="canal"
value="#{report.report.canalDistribucion}" size="5">
<s:selectItems value="#{listaCanalDistribucion}" var="_canal"
itemValue="#{_canal.idCanalDistribucion}"
label="#{_canal.canalDistribucion}">
</s:selectItems>
</h:selectManyListbox></td>
<td><h:outputText value="Grupo de Ventas" /></td>
<td><h:selectManyListbox id="grupo"
value="#{report.report.grupoVentas}" size="5">
<s:selectItems value="#{listaGrupoVentas}" var="_grupo"
itemValue="#{_grupo.idGrupoVendedor}"
label="#{_grupo.grupoVendedor}">
</s:selectItems>
</h:selectManyListbox></td>
<td><h:outputText value="Responsable de Pago" /></td>
<td><h:inputText value="#{report.report.responsablePago}" />
</td>
</tr>
<tr>
<td colspan="14" align="center"><h:commandButton id="generar"
action="#{report.generateReport()}" value="Visualizar reporte" />
</td>
</tr>
</table>
</rich:panel>
<rich:panel id="report1"
rendered="#{report.report.fechaFin != null and report.report.fechaInicio != null
and report.report.organizacionVentas != null and report.report.oficinaVentas != null
and report.report.canalDistribucion != null and report.report.grupoVentas != null
and report.report.responsablePago != null}">
<f:facet name="header">
<h:outputText value="Reporte consolidado" />
</f:facet>
<table align="center">
<tr align="center">
<td align="center"><b:birt
designName="/report/design/reporteVentasDevolucionesConsolidado.rptdesign"
designType="frameset" format="html">
<b:param name="OrganizacionVentas"
value="#{report.report.organizacionVentas != null ? report.report.organizacionVentaString : ''}" />
<b:param name="OficinaVentas"
value="#{report.report.oficinaVentas != null ? report.report.oficinaVentaString : ''}" />
<b:param name="CanalDistribucion"
value="#{report.report.canalDistribucion != null ? report.report.canalDistribucionString : ''}" />
<b:param name="GrupoVentas"
value="#{report.report.grupoVentas != null ? report.report.grupoVentaString : ''}" />
<b:param name="ResponsablePago"
value="#{report.report.responsablePago != null ? report.report.responsablePago : ''}" />
</b:birt></td>
</tr>
<tr align="center">
<td align="center"><h:commandButton id="ver_detalles"
action="#{report.viewDetails()}" value="Ver detalles" /> <s:button
view="/export.xhtml" id="exportar" value="Exportar" /></td>
</tr>
</table>
</rich:panel>
</h:form>
</ui:define>
</ui:composition>
</html>
Hope you can help me.
Thanks, in advance.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644187#644187]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months
[JBoss Cache] - Nodes gone on startup ..?
by merzedes
merzedes [http://community.jboss.org/people/merzedes] created the discussion
"Nodes gone on startup ..?"
To view the discussion, visit: http://community.jboss.org/message/644167#644167
--------------------------------------------------------------
Dear,
I'm trying to setup a really simple "eviction" policy (side-issue: I believe that the terms "eviction" and "passivation" are not particular well choosen. My initial understanding was that "passivate" would remove a node from in-memory and "eviction" would make the node gone forever).
Back to the main issue: The behaviour I'm looking for is a cache with at most three nodes. If a fourth node is created, the oldest node must be removed from the cache. Surely, removing from the cache means that the node is gone forever and nothing will bring the node back. So I went along with this simle configuration:
However it does not work as expected:
1. The max number of nodes appears is "1".
2. All nodes are "gone" on starting up the cache (or they nodes are removed on cache shutdown).
Truly and honestly a rather bizzar behaviour. Can someone exaplain or better, come up with the correct eviction setup?
JBoss Cache version: JBossCache 'Malagueta' 3.2.7.GA
// Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644167#644167]
Start a new discussion in JBoss Cache at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months
[Beginner's Corner] - Message Driven Bean instance not created in JBoss EAP 4.3
by Devisri C
Devisri C [http://community.jboss.org/people/devisri] created the discussion
"Message Driven Bean instance not created in JBoss EAP 4.3"
To view the discussion, visit: http://community.jboss.org/message/644130#644130
--------------------------------------------------------------
Hi Friends,
I have deployed an EJB application which containts only Message Driven Bean.
The deployment was successful as seen by the server messages.
But the Message Driven Bean instance is not created.
I have the no-arg constructor , onMessage method, ejbcreate method, ejbTimeout method, setMessageDrivenContext method, and ejbRemove methods defined in my MDB.
And the MDB is implementing MessageDrivenBean, MessageListener, and TimedObject.
I was expecting S.O.Ps to be printed , which i have given in my constructor and setmessagedrivencontext methods.
But the S.O.Ps are not printed, because the MDB instance is not created , i think so.
Can you please help me out, why MDB instance is not created..
Thanks,
Devisri.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/644130#644130]
Start a new discussion in Beginner's Corner at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
12 years, 12 months