UI Plugin

Removing javax.rmi.UID to allow grails-ui to work in Google AppEngine

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Google AppEngine 1.2.1/Grails UI 1.0.4

Description

The current grails-ui uses the javax.rmi.UID class which has been blacklisted by the Google AppEngine environment, however I believe you can use the UUID class to similar effect by changing the following:

def getUniqueId = { 'gui_' + DigestUtils.md5Hex(UUID.randomUUID().toString()) }

In the GrailsUITagLibService.groovy.

Activity

Hide
Matthew Taylor added a comment -

Thanks, worked like a charm.

Show
Matthew Taylor added a comment - Thanks, worked like a charm.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: