You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Kushal Darji <ku...@gmail.com> on 2013/06/24 08:15:46 UTC
redirect user to specific tab or sub-menu
Hello,
What i need is, for e.g. when user select manufacturing tab from
applications, user will directly redirect to MRP tab.
So anyone can help me, how can i redirect user to directly any specific
sub-menu.
Thanx in Advance.
--
Regards,
Kushal Darji
Re: redirect user to specific tab or sub-menu
Posted by Kushal Darji <ku...@gmail.com>.
Hi All,
Thanx for the reply, I get the point & solved it out. In case if any one
wants to do it, I changed "View Mappings"
<view-map name="main"
page="component://manufacturing/widget/manufacturing/JobshopScreens.xml#FindProductionRun"
type="screen"/>
to
<view-map name="main"
page="component://manufacturing/widget/manufacturing/MrpScreens.xml#FindMrpPlannedEvents"
type="screen"/> (it will redirect me to MRP log)
in controller.xml from manufacturing component as suggested by Suarabh &
Pierre.
Thanx
On Sun, Jun 23, 2013 at 6:35 PM, Pierre Smits <pi...@gmail.com>wrote:
> Look for the view-request for 'main' in controller.xml in the manufacturing
> component. You'll see that it points to 'FindProductionRun' in
> JobshopScreens.xml.
>
> Change that to fit your needs.
>
> Regards,
>
> Pierre
>
--
Regards,
Kushal Darji
Re: redirect user to specific tab or sub-menu
Posted by Pierre Smits <pi...@gmail.com>.
Look for the view-request for 'main' in controller.xml in the manufacturing
component. You'll see that it points to 'FindProductionRun' in
JobshopScreens.xml.
Change that to fit your needs.
Regards,
Pierre
Re: redirect user to specific tab or sub-menu
Posted by SAURABH SINGH <sa...@gmail.com>.
Hi
It depends what is your exact need if you want to redirect directly
after login the application you need to give the main controller in view
map in controller.xml file , or you can make a new controller for sub menu.
Can you elaborate with your real example so i cant help you out.....
On Mon, Jun 24, 2013 at 2:15 AM, Kushal Darji <ku...@gmail.com> wrote:
> Hello,
>
> What i need is, for e.g. when user select manufacturing tab from
> applications, user will directly redirect to MRP tab.
>
> So anyone can help me, how can i redirect user to directly any specific
> sub-menu.
>
> Thanx in Advance.
>
> --
> Regards,
> Kushal Darji
>
--
*Thanks & Regards
SAURABH SINGH
**Software Engineer*