- Timestamp:
- Apr 23, 2010, 11:28:35 AM (14 years ago)
- Location:
- trunk/grails-app
- Files:
-
- 3 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/TemplateEditorController.groovy
r374 r376 43 43 } 44 44 45 // go twith the flow!45 // go with the flow! 46 46 redirect(action: 'pages', params:["entity":entity]) 47 47 } … … 92 92 } 93 93 94 // error dynamically loading entity 94 // could not dynamically load entity, possible hack 95 // or invalid entity specified in template field 95 96 errorInvalidEntity { 96 render(view: " _errorInvalidEntity")97 render(view: "errorInvalidEntity") 97 98 } 98 99 99 100 // main template editor page 100 101 templates { 101 render(view: " /templateEditor/templates")102 render(view: "templates") 102 103 onRender { 103 104 println "render templates" -
trunk/grails-app/controllers/dbnp/studycapturing/TermEditorController.groovy
r372 r376 55 55 // main term editor page 56 56 terms { 57 render(view: " /termEditor/terms")57 render(view: "terms") 58 58 onRender { 59 59 println "renderderender!" -
trunk/grails-app/views/termEditor/pages/terms.gsp
r372 r376 17 17 <html> 18 18 <head> 19 <meta name="layout" content="dialog"/><g:if env="production"> </g:if>19 <meta name="layout" content="dialog"/><g:if env="production"> 20 20 <script type="text/javascript" src="${resource(dir: 'js', file: 'ontology-chooser.min.js')}"></script> 21 21 </g:if><g:else> … … 27 27 28 28 <ul> 29 <g:each in="${ontologies}"> 29 <g:if test="${ontologies}"> 30 <g:each in="${ontologies}"> 30 31 <li>${it}</li> 31 </g:each> 32 </g:each> 33 </g:if> 32 34 </ul> 33 35 -
trunk/grails-app/views/wizard/common/_navigation.gsp
r359 r376 26 26 27 27 <script type="text/javascript"> 28 // scriptable webflow action 28 29 function refreshWebFlow() { 29 30 <wizard:ajaxSubmitJs name="refresh" url="[controller:'wizard',action:'pages']" update="[success:'wizardPage',failure:'wizardError']" afterSuccess="onWizardPage()" class="prevnext" />
Note: See TracChangeset
for help on using the changeset viewer.