Regards Scott
On 2/05/2009, at 6:35 PM, tanzeem.mb wrote:
<service name="crmsfa.Test" engine="java"location="com.opensourcestrategies.crmsfa.test.TestServices" invoke="Test"><description>Testing</description> <attribute name="testSelect" type="String" mode="IN" optional="false"/> <attribute name="heading" type="String" mode="OUT" optional="false"/> </service> Scott Gray-2 wrote:How are you calling the service? Regards Scott HotWax Media http://www.hotwaxmedia.com On 2/05/2009, at 5:47 PM, tanzeem.mb wrote:Thank you for the tips. My code: context = ServiceUtil.returnSuccess("Success"); context.put("heading", new String("HELLO")); return context; After returning the context what should i do with my SuccessForm so that I get the heading displayedWhen i use the following success form i dont get the value of headingdisplayed. <form name="SuccessForm" type="single" title="SuccessFormTitle" default-title-style="tableheadtext" default-widget- style="inputBox" default-tooltip-style="tabletext"> <field name="heading" title="${heading}"><display/></field> </form> madppiper wrote:well thats rather simple: use the serviceUtil classes to return a success or Error like the following context = ServiceUtil.returnSuccess("Your Sucess message"); then return the context as appropriate... you may also want to add any other out parameter to the context as you wish context.put("out1",out1); whereas "out1" is the key and out1 is the object-- View this message in context: http://www.nabble.com/How-do-i-get-the-value-of-OUT-parameter-from-service-method-to-the-success-form-tp23310231p23343286.html Sent from the OFBiz - User mailing list archive at Nabble.com.-- View this message in context: http://www.nabble.com/How-do-i-get-the-value-of-OUT-parameter-from-service-method-to-the-success-form-tp23310231p23343499.html Sent from the OFBiz - User mailing list archive at Nabble.com.
smime.p7s
Description: S/MIME cryptographic signature
