redirect user to specific tab or sub-menu

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

redirect user to specific tab or sub-menu

Kushal Darji
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
Reply | Threaded
Open this post in threaded view
|

Re: redirect user to specific tab or sub-menu

SAURABH SINGH
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 <[hidden email]> 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*
Reply | Threaded
Open this post in threaded view
|

Re: redirect user to specific tab or sub-menu

Atul Vani
In reply to this post by Kushal Darji
See how it is done for party and content apps.


On Mon, 24 Jun 2013 11:45:46 +0530, Kushal Darji <[hidden email]>  
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.
>


--
Using Opera's revolutionary email client: http://www.opera.com/mail/
Reply | Threaded
Open this post in threaded view
|

Re: redirect user to specific tab or sub-menu

Pierre Smits
In reply to this post by Kushal Darji
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
Reply | Threaded
Open this post in threaded view
|

Re: redirect user to specific tab or sub-menu

Kushal Darji
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 <[hidden email]>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