hi Gavinju,
Your service may be called by mapping form's action to the URI in
controller.xml file(request-map), and then you declare it.
for example: your form with action is 'createPartyRelationship'
<request-map uri="createPartyRelationship">
<security https="true" auth="true"/>
<event type="service" path="" invoke="createPartyRelationship"/>
<response name="success" type="view-last"
value="EditPartyRelationships"/>
<response name="error" type="view" value="EditPartyRelationships"/>
</request-map>
*RONG NGUYEN (Mr)*
*OLBIUS FOUNDER**Email:* [email protected] | *Mobile:* (+84) 902
2468 45
*OLBIUS., JSC*
*Tel:* (+84) 9 88 99 3333
*Address: *6th Fl., No 195, Kham Thien St., Ha Noi City, VietNam
*Website:* http://olbius.com
On Tue, Apr 1, 2014 at 8:21 AM, gavinju [via OFBiz] <
[email protected]> wrote:
> Hello,
> I have defined a service in the servicedef/services.xml, So how can I call
> the service in my freemarker?
> Who can help me, Please give me some ideas ?
>
>
> Thank you.
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039.html
> To start a new topic under OFBiz - User, email
> [email protected]
> To unsubscribe from OFBiz - User, click
> here<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=135036&code=cm9uZy5uZ3V5ZW5raGFjQG9sYml1cy5jb218MTM1MDM2fC0xMzMyNzc3NDY4>
> .
> NAML<http://ofbiz.135035.n4.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
-----
Rong Nguyen
Olbius JSC
Deliver highest business value
http://www.olbius.com/
--
View this message in context:
http://ofbiz.135035.n4.nabble.com/How-can-I-call-the-servicedef-service-xml-in-the-freemarker-tp4650039p4650040.html
Sent from the OFBiz - User mailing list archive at Nabble.com.