Changeset 262
- Timestamp:
- Mar 12, 2010, 5:42:19 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 7 added
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/taglib/dbnp/studycapturing/WizardTagLib.groovy
r260 r262 631 631 case 'ONTOLOGYTERM': 632 632 // @see http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form 633 // @see table-editor.js633 // @see ontology-chooser.js, table-editor.js 634 634 //out << it.getClass() 635 635 out << textField( … … 638 638 rel: 'ontology-all-name', 639 639 size: 100 640 ) 641 out << hiddenField( 642 name: attrs.name + '_' + it.name + '-concept_id' 643 ) 644 out << hiddenField( 645 name: attrs.name + '_' + it.name + '-ontology_id' 646 ) 647 out << hiddenField( 648 name: attrs.name + '_' + it.name + '-full_id' 640 649 ) 641 650 break … … 682 691 } 683 692 break 693 case 'ONTOLOGYTERM': 694 // @see http://www.bioontology.org/wiki/index.php/NCBO_Widgets#Term-selection_field_on_a_form 695 // @see ontology-chooser.js 696 out << textFieldElement( 697 name: it.name, 698 value: fieldValue, 699 rel: 'ontology-all-name', 700 size: 100 701 ) 702 out << hiddenField( 703 name: it.name + '-concept_id' 704 ) 705 out << hiddenField( 706 name: it.name + '-ontology_id' 707 ) 708 out << hiddenField( 709 name: it.name + '-full_id' 710 ) 711 break 684 712 case 'DATE': 685 713 out << dateElement( -
trunk/grails-app/views/wizard/pages/_confirmation.gsp
r252 r262 70 70 </div> 71 71 72 73 <span class="info"> 74 <span class="todo">TODO</span> 75 <ul> 76 <li>this page is not complete yet, finish it to summerize the study you are about to store in the database</li> 77 </ul> 78 </span> 79 72 80 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_done.gsp
r247 r262 18 18 You are done! 19 19 20 TODO: store data in database.... 20 <span class="info"> 21 <span class="todo">TODO</span> 22 <ul> 23 <li>persist the data to the database :) nothing is currently being saved...</li> 24 </ul> 25 </span> 21 26 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_eventDescriptions.gsp
r247 r262 62 62 </div> 63 63 </g:if> 64 65 <span class="info"> 66 <span class="known">Known issues</span> 67 <ul> 68 <li>no protocol selection available yet</li> 69 </ul> 70 </span> 64 71 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_events.gsp
r247 r262 82 82 </div> 83 83 </g:if> 84 85 <span class="info"> 86 <span class="todo">TODO</span> 87 <ul> 88 <li>parameter values should still be asked and implemented</li> 89 </ul> 90 </span> 84 91 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_start.gsp
r247 r262 22 22 to continue 23 23 </span> 24 25 <span class="info"> 26 <span class="known">Known issues</span> 27 <ul> 28 <li>navigating away from the wizard will result in loss of work. While you are currently warned when 29 clicking links outside of the wizard, this problem still exists when clicking 'refresh' or the 30 back / forward buttons</li> 31 <li>no data is actually stored yet at the end of the wizard</li> 32 </ul> 33 </span> 34 35 <!-- g:render template="pages/demo" //--> 36 24 37 </wizard:pageContent> -
trunk/grails-app/views/wizard/pages/_study.gsp
r260 r262 41 41 </wizard:textFieldElement> 42 42 <wizard:dateElement name="startDate" description="Start date" error="startDate" value="${study?.startDate}"> 43 The start date of the study 43 The start date of the study 44 44 </wizard:dateElement> 45 45 46 46 <span class="info"> 47 <span class="t itle">TODO</span>47 <span class="todo">TODO</span> 48 48 Below you will see the template fields of the study template selected above. These fields are not yet 49 49 properly handled so you can ignore them for now... To be completed at a later stage … … 53 53 54 54 <span class="info"> 55 <span class=" title">Known issues</span>55 <span class="known">Known issues</span> 56 56 <ul> 57 57 <li>the templated fields appear in random order</li> -
trunk/grails-app/views/wizard/pages/_subjects.gsp
r260 r262 58 58 59 59 <span class="info"> 60 <span class=" title">Known issues</span>60 <span class="known">Known issues</span> 61 61 <ul> 62 62 <li>autocomplete fields (like ontologies) deselect the selected rows and hence don't replicate</li> … … 66 66 <li>ontology hidden fields should be processed by the back-end as well (not yet implemented)</li> 67 67 <li>ontology fields now show suggestions for <i>all</i> available ontologies. This has to be narrowed down in the future.</li> 68 <li>ontology hidden fields should be handled by the taglibrary / controller as well</li> 68 69 </ul> 69 70 </span> -
trunk/web-app/css/wizard.css
r261 r262 21 21 padding-left: 20px; 22 22 background: url(../images/icons/famfamfam/information.png) no-repeat center left; 23 } 24 25 .wizard .info .todo { 26 color:#006DBA; 27 font-size:14px; 28 font-weight:normal; 29 display: block; 30 margin-bottom: 5px; 31 padding-left: 20px; 32 background: url(../images/icons/famfamfam/wrench.png) no-repeat center left; 33 } 34 35 .wizard .info .known { 36 color:#006DBA; 37 font-size:14px; 38 font-weight:normal; 39 display: block; 40 margin-bottom: 5px; 41 padding-left: 20px; 42 background: url(../images/icons/famfamfam/eye.png) no-repeat center left; 23 43 } 24 44 -
trunk/web-app/js/ontology-chooser.js
r260 r262 139 139 if (searchElement.size() > 0) { 140 140 // yeah, set it 141 searchElement[0].value = value;141 $(searchElement[0]).val(value); 142 142 } else { 143 143 // no, dynamically insert it after the input elemtn 144 inputElement.after('<input type=" hidden" name="' + elementName + '" value="' + value + '"/>');144 inputElement.after('<input type="text" name="' + elementName + '" value="' + value + '"/>'); 145 145 } 146 146 }, -
trunk/web-app/js/table-editor.js
r260 r262 153 153 $(that.columnIdentifier + ':eq(' + columnNumber + ') ' + elementSelector, $(this)).each(function() { 154 154 var me = $(this) 155 var myVal = that.getValue(me); 156 if (myVal != v) { 157 that.setValue(me, v); 155 if (me.attr('type') != "hidden") { 156 var myVal = that.getValue(me); 157 if (myVal != v) { 158 that.setValue(me, v); 159 } 158 160 } 159 161 })
Note: See TracChangeset
for help on using the changeset viewer.