Announcement Announcement Module
Collapse
No announcement yet.
change from RC1 -> production Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Are you correctly referencing the SWF 1.0 final XSD at the top of your flow XML file?

    Erwin

    Comment


    • #3
      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??

      Comment


      • #4
        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

        Comment


        • #5
          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

          Comment


          • #6
            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

            Comment


            • #7
              thanks

              thanks for that

              Comment

              Working...
              X