request-map "<Response>"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

request-map "<Response>"

Ismail Al Kouz

Hello Dears.

 

There are anyone can help me to explain the <response> elements on code below and what the “success” & “error” .

 

<request-map uri="createPartySkill">

        <security https="true" auth="true"/>

        <event type="service" invoke="createPartySkill"/>

        <response name="success" type="view" value="FindPartySkills"/>

        <response name="error" type="view" value="NewPartySkill"/>

    </request-map>

 

Thanks to all.

 

Best Regards,

 

Ismail Alkouz

Java Developer

 

 

 

P.O.Box 3516 Amman, 11821

The Hashemite Kingdom of Jordan

Tel.                     +962 (6) 556 2620

Mob (Jordan).   +962 79 282 2098

/biict

@biict

 

 

Reply | Threaded
Open this post in threaded view
|

Re: request-map "<Response>"

Deepak Dixit-3
Hi Ismail,

If Service return success then it will render view mentioned in response
name success, and if service fails and return error it will render view
mentioned in response name error.
Please refer ServiceUtil and ModelService java file for more reference.

Please use user mailing list for this kind of question.
https://ofbiz.apache.org/mailing-lists.html




Thanks & Regards
--
Deepak Dixit
www.hotwaxsystems.com

On Sun, Feb 12, 2017 at 1:20 PM, Ismail Al Kouz <[hidden email]> wrote:

> Hello Dears.
>
>
>
> There are anyone can help me to explain the <response> elements on code
> below and what the “success” & “error” .
>
>
>
> <request-map uri="createPartySkill">
>
>         <security https="true" auth="true"/>
>
>         <event type="service" invoke="createPartySkill"/>
>
>         <response name="success" type="view" value="FindPartySkills"/>
>
>         <response name="error" type="view" value="NewPartySkill"/>
>
>     </request-map>
>
>
>
> Thanks to all.
>
>
>
> *Best Regards,*
>
>
>
> *Ismail Alkouz*
>
> Java Developer
>
>
>
> [image: Description: Logo for Office-4]
>
>
>
> [image: Description: bi email-3-02]
>
>
>
> P.O.Box 3516 Amman, 11821
>
> The Hashemite Kingdom of Jordan
>
> *Tel.*                     +962 (6) 556 2620
>
> *Mob (Jordan).*   +962 79 282 2098
>
> [image: Description: bi email-3-04]
>
> [image: Description: bi email-3-05]
>
> /biict
>
> @biict
>
>
>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: request-map "<Response>"

Jacques Le Roux
Administrator
That's great thanks Deepak,

Ismail, please understand that this ML (dev ML) is used by developers to discuss developing new stuff or improving stuff.

As suggested by Deepak, for questions regarding the usage of OFBiz please ask them on the user ML

Thanks

Jacques


Le 12/02/2017 à 09:09, Deepak Dixit a écrit :

> Hi Ismail,
>
> If Service return success then it will render view mentioned in response
> name success, and if service fails and return error it will render view
> mentioned in response name error.
> Please refer ServiceUtil and ModelService java file for more reference.
>
> Please use user mailing list for this kind of question.
> https://ofbiz.apache.org/mailing-lists.html
>
>
>
>
> Thanks & Regards
> --
> Deepak Dixit
> www.hotwaxsystems.com
>
> On Sun, Feb 12, 2017 at 1:20 PM, Ismail Al Kouz <[hidden email]> wrote:
>
>> Hello Dears.
>>
>>
>>
>> There are anyone can help me to explain the <response> elements on code
>> below and what the “success” & “error” .
>>
>>
>>
>> <request-map uri="createPartySkill">
>>
>>          <security https="true" auth="true"/>
>>
>>          <event type="service" invoke="createPartySkill"/>
>>
>>          <response name="success" type="view" value="FindPartySkills"/>
>>
>>          <response name="error" type="view" value="NewPartySkill"/>
>>
>>      </request-map>
>>
>>
>>
>> Thanks to all.
>>
>>
>>
>> *Best Regards,*
>>
>>
>>
>> *Ismail Alkouz*
>>
>> Java Developer
>>
>>
>>
>> [image: Description: Logo for Office-4]
>>
>>
>>
>> [image: Description: bi email-3-02]
>>
>>
>>
>> P.O.Box 3516 Amman, 11821
>>
>> The Hashemite Kingdom of Jordan
>>
>> *Tel.*                     +962 (6) 556 2620
>>
>> *Mob (Jordan).*   +962 79 282 2098
>>
>> [image: Description: bi email-3-04]
>>
>> [image: Description: bi email-3-05]
>>
>> /biict
>>
>> @biict
>>
>>
>>
>>
>>
>