[JBoss jBPM] - Re: transitionButton
by FabianW
I have exactly the same problem, but changing "to" to "transition" didn't change anything for me. The first transition is always taken no matter what i click, unless i signal the right transition directly at the jbpm console.
Task-Node looks like this:
<task-node name="Ueberpruefe Rechnung">
| <task name="ueberpruefeRechnung">
| <assignment actor-id="user"></assignment>
| </task>
| <transition name="ueberweisen" to="Berechne Skonto"></transition>
| <transition name="reklamieren" to="Reklamiere Rechnung"></transition>
| </task-node>
and the buttons:
<tf:transitionButton transition="ueberweisen" value="Ueberweisen"/>
| <tf:transitionButton transition="reklamieren" value="Reklamieren"/>
I'm really sure I had this working once...
What could be the problem?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105395#4105395
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105395
18 years, 8 months
[EJB 3.0] - Problem retrieving dates from database
by chawax
Hi,
I have a EJB3 entity with a java.util.Date attribute defined as following :
private java.util.Date dateDebut;
|
| @javax.persistence.Column(name = "DATE_DEBUT", nullable = false, insertable = true, updatable = true)
| @javax.persistence.Temporal(javax.persistence.TemporalType.DATE)
| public java.util.Date getDateDebut()
| {
| return dateDebut;
| }
|
| public void setDateDebut(java.util.Date value)
| {
| this.dateDebut = value;
| }
But when I run SQL queries, the dateDebut attribute contains java.sql.Date data instead of java.util.Date ! So then I encounter problems when formatting this date ... What should I do so that SQL dates are converted to java.util.Date in my EJB3 entities ?
Thanks in advance,
P.S. : I run on JBoss 4.2.0.GA with MySQL database (same problem with HSQLDB anyway).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105392#4105392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105392
18 years, 8 months
[JBoss Seam] - Complex PDF generation and architecture question
by bolke
Hello,
I am wondering who is using Seam's PDF generating features to generate complex PDFs? The background to this question is that the current tag support seems a little simple and not sufficient for the more complex layouts and the current architecture also seems difficult to extend.
For example I have been looking into rewriting UIHeaderFooter (and siblings) to support for example images. However iText using an event model in case of more complex pages (eg. onEndPage event). The current architecture does not allow this (afaik).
Now, I understand that this is a feature request and I even like to do some work on it (eg. small patches if I can, my coding skills are not that good), but I would like the rationale behind the architecture so I am able to continue in the same direction.
So please take no offence, I am pretty new to Seam. I like it a lot and I am looking forward to help extending it.
regards
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105386#4105386
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105386
18 years, 8 months
[JBoss Seam] - Re: Getting JBPM to use the seam managed persistence context
by jcruise
Ok. Do you have any interest in a patch to allow us to do something like this in components.xml:
| <bpm:jbpm name="config1" jbpm-configuration-name="jbpm-1.cfg.xml" />
| <bpm:jbpm name="config2" jbpm-configuration-name="jbpm-2.cfg.xml"/>
| <bpm:managed-jbpm-context name="jbpmContext" auto-create="true" jbpm-session-factory="#{jbpmConfiguration}" />
|
where jbpmConfiguration would a reference to either config1 or config2
Note that the current managed JbpmContext has a hard dependency on the default jbpm implementation because of code like this:
| jbpmContext = Jbpm.instance().getJbpmConfiguration().createJbpmContext();
|
You can't just set the session context manually after getting the ManagedJbpmContext, nor can you replace the default implementation of ManagedJbpmContext without patching Seam because of code like this:
| ProcessInstance process = ManagedJbpmContext.instance().newProcessInstanceForUpdate(processDefinitionName);
|
in the classes in org.jboss.seam.bpm.
Thoughts appreciated.
Cheers
J
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4105382#4105382
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4105382
18 years, 8 months