Results 1 to 7 of 7

Thread: change from RC1 -> production

  1. #1

    Post change from RC1 -> production

    Hi,

    I have recently started to look at production after working with RC3.

    On RC3 I would call methods and pass attributes into the method like

    <action bean="getLoginCustomer" method="getLoginCustomerDetails(${flowScope.detail Object}, ${flowScope.details}, ${flowScope.subscription})"/>

    which I have now converted to

    <bean-action bean="getLoginCustomer" method="getLoginCustomerDetails">
    <method-arguments>
    <argument expression="flowScope.detailObject"/>
    <argument expression="flowScope.details"/>
    <argument expression="flowScope.subscription"/>
    </method-arguments>
    </bean-action>

    When I tried to load this flow I get the following error
    "Invalid content was found starting with element methods-argument"

    Am I doing something wrong?

    Thanks

  2. #2
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Are you correctly referencing the SWF 1.0 final XSD at the top of your flow XML file?

    Erwin

  3. #3

    Default problem

    Hi,

    i think i have got it working looks like my problem thanks...

    hey i read a post about contributing to this site how does it work ???

    do you need to be a super top coder??

  4. #4
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    The best way to get started is to just follow the forums and try to answer questions people have or help them with the problems they're experiencing using Spring or Spring Web Flow.

    And another way you can help is to try this:
    http://forum.springframework.org/showthread.php?t=33022



    Erwin

  5. #5

    Default One more problem

    Hi,

    I do have one more problem. In RC3 you could set the scope of the result-name what is the equivalent under Production 1 or does this no longer exists.

    Thank

    Chris

  6. #6
    Join Date
    Sep 2004
    Location
    Leuven, Belgium
    Posts
    1,853

    Default

    Use something like this:

    <method-result name="foo" scope="flow"/>

    Check the comments embedded in the XSD for lots of info on the XML format.

    Erwin

  7. #7

    Default thanks

    thanks for that

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •