Actually that isn't entirely true, a response of type "request" is somewhat 
similar to a forward except that you can only forward to a URI within the 
current controller.

Regards
Scott

On 15/04/2010, at 1:11 PM, Scott Gray wrote:

> There isn't one!
> 
> Regards
> Scott
> 
> HotWax Media
> http://www.hotwaxmedia.com
> 
> On 15/04/2010, at 12:39 PM, Prashant Punekar wrote:
> 
>> Thanks Brajesh,
>> 
>> Please let me know the tags/attribute similar to jsp->RD.forward().
>> 
>> Regards,
>> Prashant
>> 
>> 
>> -----Original Message-----
>> From: Brajesh Patel [mailto:brajeshpate...@gmail.com] 
>> Sent: Tuesday, April 13, 2010 9:43 PM
>> To: user@ofbiz.apache.org
>> Subject: Re: request-redirect !
>> 
>> Hi Prashant,
>> It is similar to the response.sendRedirect().
>> 
>> -- 
>> Thanks
>> Brajesh Patel
>> 
>> HotWax Media
>> http://www.hotwaxmedia.com
>> 
>> On Wed, Apr 14, 2010 at 2:32 AM, Prashant Punekar <
>> prashant_pune...@mindtree.com> wrote:
>> 
>>> Hi  All,
>>> 
>>> Here is the request-map from the controller file:
>>> 
>>> <request-map uri="enterCardDetails">
>>>      <security https="false" auth="false"/>
>>>      <event type="groovy"
>>> path="component://pjweb/webapp/pjweb/WEB-INF/actions/"
>>> invoke="SellSettings.groovy"/>
>>>      <response name="success" type="request-redirect"
>>> value="enterCardDetailsInternal">
>>>      <redirect-parameter name="selectOffer"/>
>>>      <redirect-parameter name="productId"/>
>>>      <redirect-parameter name="forMiniSite"/>
>>>          <redirect-parameter name="minisitePartner"/>
>>>      </response>
>>>      <response name="error" type="view" value="errorScreen"/>
>>> </request-map>
>>> 
>>> I want to understand the attribute type="request-redirect"(highlighted in
>>> yellow color) in the response tag.
>>> 
>>> To my understanding this will create a new request and pass only the
>>> redirect-parameters as part of the new request.
>>> 
>>> In other words, it similar to response.sendRedirect() and not
>>> RequestDispatcher.forward() as in JSP.
>>> 
>>> Please confirm.
>>> 
>>> Regards,
>>> Prashant
>>> 
>>> 
>>> ________________________________
>>> http://www.mindtree.com/email/disclaimer.html
>>> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to