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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:28:24+00:00 2026-05-20T00:28:24+00:00

I am setting a pageProperty in my view with a content tag, however, Grails

  • 0

I am setting a pageProperty in my view with a content tag, however, Grails 1.3.6 ifPageProperty is not detecting my sidebar pageProperty. Any thoughts?

layout.gsp

<g:ifPageProperty name="page.sidebar">
  <aside id="sidebar">
    <g:pageProperty name="page.sidebar" />
  </aside>
</g:ifPageProperty>

view.gsp

<html>
<head>
<title>My Account Title</title>
</head>
<body>
  <content tag="sidebar">
    <h4>Sidebar</h4>
    <p>Hola. This is a sidebar test!</p>
  </content>
  <h1>Content Heading</h1>
</body>
</html>

PS. If you’re wondering where I am setting my layout, it’s being set in the controller.

  • 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-20T00:28:25+00:00Added an answer on May 20, 2026 at 12:28 am

    A coworker scoured the Grails buglist and found out that Sitemesh’s preprocess must be turned off.

    // enable Sitemesh preprocessing of GSP pages
    grails.views.gsp.sitemesh.preprocess = false
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

setting type to hashed seems to not allow enablePasswordRetrieval. what if a user forgot
Setting the style attribute to elements is not working in IE 6/7 . But
After setting up TemplaVoila like ever i end up in this view. I set
Setting the src attribute of an IFrame to data:application/pdf;base64, isn't working for me, any
Setting arbitrary attributes from outside works for normal classes, but not for internal objects
Setting width/height in CSS only corresponds to the content area. Is there a way
Setting two or more elements of a linear layout the same height seems to
Setting any of document.getElementById('PopupAutoCompleteRichResult').setAttribute('hidden', true) document.getElementById('PopupAutoCompleteRichResult').hidden = true document.getElementById('PopupAutoCompleteRichResult').setAttribute('style', 'display: none;');` hides the AutoComplete
Setting up a simple grails app with Dojo, i used the grails install-plugin dojo
Setting a page title I have the following MVC View Syntax <title> Category :

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.