Search:

Type: Posts; User: eogenio; Keyword(s):

Search: Search took 0.05 seconds.

  1. Thanks fupeg, so simple, so elegant... ...

    Thanks fupeg,
    so simple, so elegant...

    Francesco
  2. Model object within scriptlet: is it possible?

    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...
  3. Replies
    0
    Views
    879

    Escaping valang text messages

    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' :...
  4. Replies
    9
    Views
    1,384

    Hi, the problem was solved after changing to the...

    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...
  5. Replies
    5
    Views
    933

    Erwin, after you question I went back to the...

    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...
  6. Replies
    5
    Views
    933

    Hi Erwin, yes, the solution was to move my...

    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...
  7. Replies
    5
    Views
    933

    Annotated transaction and WebFlow

    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....
  8. Replies
    9
    Views
    1,384

    The code invoking the transaction is the one...

    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.
    ...
  9. Replies
    9
    Views
    1,384

    Here is a more detailed snippet of my...

    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"...
  10. Replies
    9
    Views
    1,384

    No way

    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...
  11. Replies
    9
    Views
    1,384

    Annotated transactions

    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...
  12. Replies
    23
    Views
    2,882

    Paul, first of all, I wasn't using the...

    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...
  13. Replies
    23
    Views
    2,882

    Solved!

    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:

    ...
  14. Replies
    23
    Views
    2,882

    Erwin, you are right about the need of moving...

    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...
  15. Replies
    23
    Views
    2,882

    Hi Erwin, yes, I already noticed that statement...

    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:...
  16. Replies
    23
    Views
    2,882

    Hi Erwin, no, the paymentData field is not...

    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...
  17. Replies
    23
    Views
    2,882

    Sure, here is what's happening: 1. Context...

    Sure,
    here is what's happening:

    1. Context configuration snippet:

    <bean id="paymentFormAction" class="org.springframework.webflow.action.FormAction">
    <property name="formObjectName"...
  18. Replies
    23
    Views
    2,882

    Nothing to do. Here is my updated version: ...

    Nothing to do. Here is my updated version:



    <view-state id="payment" view="paymentView">
    <entry-actions>
    <bean-action bean="bookingService" method="getPaymentRequest">
    ...
  19. Replies
    23
    Views
    2,882

    Marten, you are right. My actual flow...

    Marten,
    you are right. My actual flow definition defines the binding:

    <view-state id="payment" view="paymentView">
    <entry-actions>
    <bean-action bean="bookingService"...
  20. Replies
    23
    Views
    2,882

    Hi Erwin, thanks for your reply. What I think...

    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...
  21. Replies
    23
    Views
    2,882

    Initializing form object before setup

    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...
  22. Replies
    2
    Views
    734

    BTW, I just discovered I can hide the flow...

    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...
  23. Replies
    2
    Views
    734

    Strict external redirect

    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...
  24. Replies
    3
    Views
    958

    Passing method-result to following state

    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...
Results 1 to 24 of 24