[JBoss Seam] - Problem with @End(beforeRedirect=true)
by ccurban
I have got a facelet-page named cc_distribution.xhtml
And a SFSB with one action method triggered by a commandLink from this page.
| @End(beforeRedirect=true)
| public String updateDistributionList() {
| .
| .
| .
| return "cc_distribution";
| }
Using the following navigation rule in my faces-config.xml:
| <navigation-rule>
| <navigation-case>
| <from-outcome>cc_distribution</from-outcome>
| <to-view-id>/view/manage/cc_distribution.xhtml</to-view-id>
| <redirect/>
| </navigation-case>
| </navigation-rule>
I thought the result would be something like that:
1. I hit the Link.
2. updateDistributionList() is executed
3 the conversation is ended before the redirect
4. redirect to the same page
Unfortunately the redirect occurs without the conversation ending. Any suggestions?
Happy Christmas.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996186#3996186
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996186
19 years, 4 months
[JBoss jBPM] - Re: jBPM BPEL Beta2: invoke an external web service
by SergStone
Hi, Alex!
But there were some changes in the BPEL application descriptor (bpel-application.xml) as I can see. 1.1.Beta1 documentation introduces use of JMS in constructions like this:
<message-destination-ref-name>jms/atmRelation</message-destination-ref-name>
<message-destination-type>javax.jms.Queue</message-destination-type>
<message-destination-usage>ConsumesProduces</message-destination-usage>
along with a Relation servlet. org.jbpm.bpel.relation.jms.RelationServlet
1.1.Beta2 ATM example uses Integration servlet and no <resource-ref> or <message-destination-ref> elements.
Which one is correct? I specified for my external service, added to the bpel-application.xml but still couldn't get the example working. The error message has changed to
Caused by: java.lang.RuntimeException: service not found: service={ru:softech:HelloBook:warehouse}Warehouse
What's wrong?
Thank you in advance,
Serg
BTW, I'm wondering if BPEL extension supports clustering and if so what kind of clustering it supports and how?
Once again thanks a lot and Merry Christmas!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996181#3996181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996181
19 years, 4 months