I have created a new portal on the rail which can be reached by:
With: 1.) There are 2 tabs - Use of both "Shipments Information", "Aging Shipment Dashboard"
& lt; Li & gt; Tag and YUI Library's Tabs & Lt; Ul class = "yui-nav" & gt; & Lt; Li id = "tab1" class = "selected" & gt; & Lt; A href = "# tab1" & gt; Shipment information & lt; / A & gt; & Lt; / Li & gt; & Lt; Li id = "tab2" & gt; & Lt; A href = "# tab2" & gt; Aging shipment dashboard & lt; / A & gt; & Lt; / Li & gt; & Lt; / Ul & gt;
2.) When I click on the "Aging shipment dashboard" tab - URL should be - but you should only see that I guess it's due to the client-side implementation of the tab < / P>
3.) After clicking on the "Current Summary" button in that tab, I get the same result but instead of always setting the active tab to "Aging shipment dashboard" on "Shipment Infotation" Is set "tab
How do I set an activeTab when I get results from the related tab, where the request is placed? Use the GET method for all form requests.
Or there is a way In which I can clearly mention in the routes. RB is based on Paramate, that activeTab should be set to "Aging shipment dashboard"?
Thanks, King.
Yes you already have your routes These are the lines at the end.RB file:
map.connect ': Controller /: Action /: ID' map.connect ': Controller /: Action / ID: format'
Map.connect '>: controller' map.connect ': controller /: action /: id' map.connect ': controller /: verb /:id.:format'
in this way You can define two variables in the form of different controllers within the Rail Webb. You can probably do the same thing as two actions, but this is your call.
Comments
Post a Comment