Ignore:
Timestamp:
May 22, 2011, 12:29:29 AM (13 years ago)
Author:
gav
Message:

Svn merge -r920:r941 trunk/ into branches/features/purchaseOrders.
This brings the purchaseOrder branch fully up to date.

Location:
branches/features/purchaseOrders
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/features/purchaseOrders

    • Property svn:ignore
      •  

        old new  
        11*.log*
        22*.war
         3*.iml
         4*.ipr
         5*.iws
        36target
         7out
        48.directory
        5 
        6 *.iml
    • Property svn:mergeinfo changed
      /trunkmerged: 921-923,​932-936,​939-941
  • branches/features/purchaseOrders/grails-app/taglib/CustomTagLib.groovy

    r920 r942  
    174174//             def messageSource = grailsAttributes.getApplicationContext().getBean("messageSource")
    175175//             def locale = RCU.getLocale(request)
    176 // 
     176//
    177177//             title = messageSource.getMessage(titleKey, null, title, locale)
    178178//         }
     
    374374
    375375    /**
     376     * Returns the correct headerId for the main header div.
     377     */
     378    def headerId = { attrs, body ->
     379        def headerId = ''
     380        if(grails.util.Environment.isDevelopmentMode()) headerId = 'HeaderDev'
     381        else if(grailsApplication.config.demoMode.enabled) headerId = 'HeaderDemo'
     382        else headerId = 'Header'
     383        out << headerId
     384    }
     385
     386    /**
    376387    * Determine if a supplied string is considered a url or not.
    377388    * The scheme/protocol can be adjusted, file:// has been excluded here.
Note: See TracChangeset for help on using the changeset viewer.