Thanks fupeg,
so simple, so elegant...
Francesco
Type: Posts; User: eogenio; Keyword(s):
Thanks fupeg,
so simple, so elegant...
Francesco
Hi all,
I need to access an object returned by a Controller within a scriptlet. I can't use tag libraries as I need to process some data to build the interface.
Temporarily I simply put the...
Hi,
I need to escape a character in the message of a valang expression (field n.3):
{ accept : ? == true : 'E' necessario accettare le condizioni di prenotazione prima di procedere' :...
Hi,
the problem was solved after changing to the new configuration suggested on the 3rd post from the top. I was not seeing rollbacks working properly because I was catching the exception launched...
Erwin,
after you question I went back to the version of the application at the time of my post and I realized that the solution was not due to moving the transaction stuff being moved out of WebFlow...
Hi Erwin,
yes, the solution was to move my transaction proxy stuff out of SWF context.
Actually, what I was trying to achieve was to have a few actions run as an atomic set AND to grant exclusive...
Hi all,
I've been trying to use annotated transactions within my WebFlow app starting from the SellItem sample project but it seems that I'm missing something and I can't make the whole thing work....
The code invoking the transaction is the one listed above (makeTransactionalReservation()): the domain.logic.BookingServiceImpl models a service class invoked by an action-state of the flow.
...
Here is a more detailed snippet of my booking-flow-context.xml:
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
<property name="driverClassName"...
Hi all,
I followed the instructions from the manual but the result is still the same: the exception (now a RuntimeException) doesn't cause a rollback of the database insert. Here is my modified...
Hi all,
I'm trying to set up a transaction to work on a method that should make an hotel reservation after having performed a check on the availability.
The method and my context file (actually a...
Paul,
first of all, I wasn't using the <spring:nestedPath> tag until Erwin suggested me to do that and then, when I did, I used it twice: the first time for the paymentRequest object and the second...
Hi Erwin and Marten,
thanks very much for all your efforts. I found the problem: it was related to the way I was binding the whole lot within the JSP page. Here is the working solution:
...
Erwin,
you are right about the need of moving the getPaymentRequest out of the view-state but I believe the problem I'm experiencing is related to the binding process.
If I don't use the client...
Hi Erwin,
yes, I already noticed that statement didn't look good and I already tried to change it in the way you suggest. By doing it again now, I still got the same result.
One thing, though:...
Hi Erwin,
no, the paymentData field is not transient while I still don't get the expected result after using the spring:nestedPath and the spring:bind tags.
Do you think that my context...
Sure,
here is what's happening:
1. Context configuration snippet:
<bean id="paymentFormAction" class="org.springframework.webflow.action.FormAction">
<property name="formObjectName"...
Nothing to do. Here is my updated version:
<view-state id="payment" view="paymentView">
<entry-actions>
<bean-action bean="bookingService" method="getPaymentRequest">
...
Marten,
you are right. My actual flow definition defines the binding:
<view-state id="payment" view="paymentView">
<entry-actions>
<bean-action bean="bookingService"...
Hi Erwin,
thanks for your reply. What I think I'm still missing is the way to link the pre-existing paymentRequest object to the formAction. When the bind is invoked on the formAction object it...
Hi all,
I'm trying to make the method="setupForm" of a FormAction bean integrate data already coming from a previous state: how can I do that?
My jsp page includes an HTML form with...
BTW,
I just discovered I can hide the flow execution key as part of a specific parameter I send when invoking the external URL: the problem still remains on how to extract the key from the callback...
Hi all,
my flow models a payment procedure that needs to call an external page (that I do not control) at some point where the customer is asked to fill-in his payment details. In the following...
Hi all,
I'm trying to setup a flow with 3 states:
1. In the first one the user enters some search criteria;
2. In the second one I show the user some results coming from his search;
3. In the...