-
Jan 4th, 2007, 03:28 AM
#1
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
-
Jan 4th, 2007, 04:23 AM
#2
Are you correctly referencing the SWF 1.0 final XSD at the top of your flow XML file?
Erwin
-
Jan 4th, 2007, 04:32 AM
#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??
-
Jan 4th, 2007, 04:42 AM
#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
-
Jan 4th, 2007, 04:55 AM
#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
-
Jan 4th, 2007, 05:23 AM
#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
-
Jan 4th, 2007, 07:20 AM
#7
thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules