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 6625175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:44:31+00:00 2026-05-25T21:44:31+00:00

In my Grails app, I’ve got a GSP that looks a bit like this:

  • 0

In my Grails app, I’ve got a GSP that looks a bit like this:

<div id="tabs">
    <ul>
        <li><a href="#tabs-1">Nunc tincidunt</a></li>
        <li><a href="#tabs-2">Proin dolor</a></li>
        <li><a href="#tabs-3">Aenean lacinia</a></li>
    </ul>
    <div id="tabs-1"><p>foo</p></div>
    <div id="tabs-2"><p>bar</p></div>
    <div id="tabs-3"><p>zip</p></div>
</div>

<script type="text/javascript">
    jQuery(document).ready(function() {
        jQuery("#tabs").tabs();
    });
</script>

If I’ve understood it right, the jQuery tabs() call should make my “tabs” div look like a tabbed panel. Is that correct? If so, it’s not working. It just renders as a normal ul.

Any ideas?

  • 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-05-25T21:44:32+00:00Added an answer on May 25, 2026 at 9:44 pm

    I’d suggest just not bothering with the plugins for jQuery or jQueryUI. Instead just download the JS into your web-app/js folder. Then reference them using a traditional tag but also using the grails “resource” taglib, ala….

    <script type="text/javascript" src="${resource(dir:'js',file:'jquery.js')}"></script>
    <script type="text/javascript" src="${resource(dir:'js',file:'jquery-ui.js')}"></script>
    <link rel="stylesheet" href="${resource(dir:'css',file:'jquery-ui.css')}" />
    

    I like using plugins for many things, but for something as simple as a few JS libs, I just don’t see enough value. There is a tiny bit of value in having the jQuery plugin as it provides a grails class that implements jQuery support for the ‘remote*’ taglibs (ala http://grails.org/doc/latest/ref/Tags/submitToRemote.html), but I never use this anyways since I favor using jQuery directly.

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

Sidebar

Related Questions

In my Grails app I'd like to make a custom request filter that looks
I have a Grails app that loads its data from xml files and delivers
This is my current scenario: I have checked in my grails app code +
Im building a Grails app that will have multiple similar websites (each it's own
I'm writing a Grails app which I'd like 3rd parties to augment at runtime.
I'm playing with a grails app that has a contextmenu (on right-click). The context
My grails app will not decode request parameters correctly. In config.groovy: grails.views.gsp.encoding = UTF-8
I have a grails app that uses functionality from a set of custom java
We are developing Grails-app that uses Stark Security for auth/authz. I recently added Jawr-plugin
Part I In a Grails app, I understand that you enable the 2nd level

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.