Actual problem:
Unlike the Ofbiz default registration implementation, we have two different
types of user registration called SIMPLE and COMPLETE. If user not registered,
he/she has to forward to a particular registration page dynamically.
We thought to specify the registrationType as attribute in security tag
<security auth="true" registrationType="SIMPLE" />
If the above mechanism doesn't work, I thought to implement two request-map
called 'SimpleRegistration' and 'CompleteRegistration' which will redirect to
the caller request-map after registration is complete.
Regards,
Kishore
-----Original Message-----
From: Scott Gray [mailto:[email protected]]
Sent: Wednesday, August 12, 2009 11:37 AM
To: [email protected]
Subject: Re: Can we track the previous Request map
You can't. Keep in mind it is much better to talk about the actual
problem you are trying to solve rather than talking about the problem
your solution has created. It makes it much easier for others to
suggest alternative solutions.
Regards
Scott
HotWax Media
http://www.hotwaxmedia.com
On 12/08/2009, at 6:00 PM, Kishore Pagadala wrote:
> I have a common utility request-map which will be called by other
> request-maps based on response type. Once this request-map is
> complete, it has to redirect to the caller.
>
> <request-map uri="commonUtility">
> // After completion, redirect to calling request-map
> </request-map>
>
>
> How can we redirect to calling Request-Map ?
-----Original Message-----
From: BJ Freeman [mailto:]
Sent: Tuesday, August 11, 2009 4:29 PM
To: [email protected]
Subject: Re: Can we modify the <Security> tag to add extra attribute ?
look at how a Customer role is added to registration from the ecommerce
side. You can assign other roles to fit you registrationtypes.
Kishore Pagadala sent the following on 8/11/2009 3:27 AM:
> I have a requirement where I need to redirect the user to different page
> based on type of user's registration (SIMPLE registration with minimum fields
> or COMPLETE registration), for which I need to modify the Security tag.
>
> I want to add an extra attribute called "registrationType" which should
> forward to different page depending on registration type.
> EX:-
> <request-map uri="checkout">
> <security auth="true" registrationType="SIMPLE" https="true" />
>
> Can some tell us the flow and files I may need to modify for this requirment ?
>
> Regards,
> Kishore
>
> http://www.mindtree.com/email/disclaimer.html
>
--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.
http://www.mindtree.com/email/disclaimer.html