Changeset 942 for branches/features/purchaseOrders/grails-app/taglib
- Timestamp:
- May 22, 2011, 12:29:29 AM (13 years ago)
- Location:
- branches/features/purchaseOrders
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/purchaseOrders
- Property svn:ignore
-
old new 1 1 *.log* 2 2 *.war 3 *.iml 4 *.ipr 5 *.iws 3 6 target 7 out 4 8 .directory 5 6 *.iml
-
- Property svn:mergeinfo changed
/trunk merged: 921-923,932-936,939-941
- Property svn:ignore
-
branches/features/purchaseOrders/grails-app/taglib/CustomTagLib.groovy
r920 r942 174 174 // def messageSource = grailsAttributes.getApplicationContext().getBean("messageSource") 175 175 // def locale = RCU.getLocale(request) 176 // 176 // 177 177 // title = messageSource.getMessage(titleKey, null, title, locale) 178 178 // } … … 374 374 375 375 /** 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 /** 376 387 * Determine if a supplied string is considered a url or not. 377 388 * The scheme/protocol can be adjusted, file:// has been excluded here.
Note: See TracChangeset
for help on using the changeset viewer.