- Timestamp:
- Nov 7, 2011, 11:50:13 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy
r1825 r2086 370 370 attrs.description = ''; 371 371 } 372 372 373 def userList = [] 374 SecUser.findAll().each { 375 userList[ userList.size() ] = ['name':(it.shibbolethUser) ? it.displayName : it.username, 'id':it.id] 376 } 377 373 378 out << '<form id="' + attrs.name + '_form" onSubmit="return false;">'; 374 379 out << select( 375 380 name: attrs.get("name"), 376 381 value: '', 377 from: SecUser.list(),378 optionValue: ' username',382 from: userList, 383 optionValue: 'name', 379 384 optionKey: 'id', 380 385 style: 'width: 400px;'
Note: See TracChangeset
for help on using the changeset viewer.