Ignore:
Timestamp:
Apr 22, 2010, 3:45:22 PM (10 years ago)
Author:
duh
Message:
  • css changes
  • termEditor changes
  • templateEditor changes
  • etc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy

    r367 r372  
    563563        def templateSelect = {attrs ->
    564564                def entity = attrs.remove('entity')
     565
     566                // add the entity class name to the element as
     567                // a base64 encoded string.
     568                // TODO: encrypt this, instead of using base64!
     569                //       As this class is instantiated elsewhere
     570                //       this is a security hazard!
     571                //               @see TemplateEditorController
     572                attrs['entity'] = entity.toString().replaceAll(/^class /,'').bytes.encodeBase64()
    565573
    566574                // fetch templates
Note: See TracChangeset for help on using the changeset viewer.