Grails

base="" and absolute= "true" in g.link dont produce the expected links

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.0.3
  • Fix Version/s: 1.0.5, 1.1.1
  • Component/s: View technologies
  • Labels:
    None

Description

According to the discussion at http://www.nabble.com/grails.serverURL-change-td19308151.html

it should be possible to produce links without the http:// and hostname part and without the application name. Eg, just "/myController/action", not /myApp/myController/action.

However using base="" as suggested does not work. This makes my setup impossible to handle, which is problematic.

Refer to the mentionned discussion for more info

Issue Links

Activity

Hide
Peter Ledbrook added a comment -

Fixed in r7570.

Show
Peter Ledbrook added a comment - Fixed in r7570.
Hide
Peter Ledbrook added a comment -

Bah, the webapp context is still included.

Show
Peter Ledbrook added a comment - Bah, the webapp context is still included.
Hide
Peter Ledbrook added a comment -

They're almost duplicates in fact.

Show
Peter Ledbrook added a comment - They're almost duplicates in fact.
Hide
Graeme Rocher added a comment -

Bulk closing bunch of resolved issues

Show
Graeme Rocher added a comment - Bulk closing bunch of resolved issues

People

Vote (1)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: