Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7922299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T16:54:12+00:00 2026-06-03T16:54:12+00:00

I have the following navigation setup on a grails controller is it possible for

  • 0

I have the following navigation setup on a grails controller is it possible for List_X and List_Y to go to different actions but then be mapped to the same gsp file?

subItems: [ 
    [ action: 'list_X',title: 'Something', order:1 ],                                                           
    [ action: 'error_X',title: 'Something',order:2 ],
    [ action: 'list_Y', title: 'Something', order:3 ],
    [ action: 'error_Y',title: 'Something', order:4 ],
] 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T16:54:13+00:00Added an answer on June 3, 2026 at 4:54 pm

    You can specify manually which gsp file should be rendered. In action in your controller do this:

    def list_X() {
        // ... some code
        render(view : "listView", model : [name : "bob", items : []])
    }
    
    def list_Y() {
        //... some code
        render(view : "listView", model : [name : "bob", items : []])
    }
    

    That way, same gsp template will be used to render result of both actions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have made a navigation horizontal bar, but I seem to have a following
I have the following set up in a navigation controller. The root is a
I have the following tabbed navigation setup in my master page. <nav class=grid_12> <ul>
I have setup in storyboard a navigation controller and a tableview controller. There is
So I have the following CSS in place to display a horizontal navigation bar
In order to implement a navigation bar ala Facebook I have the following layout
I am new to typo3 and I have to setup a navigation. I have
HI Everyone, I have a navigation bar with a navigation controller. In one of
Description I have a Tab Bar Controller with a navigation controller tab. The first
I have setup some tabbed navigation on my ASP.NET Masterpage. It is pretty basic:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.