Commit graph

64 commits

Author SHA1 Message Date
rjy7
b32686ec09 NIHVIVO-1923 Correction to previous commit. Fix had been temporarily commented out. 2011-01-27 20:14:46 +00:00
rjy7
24e4432076 NIHVIVO-1923 Modify orgType query so it only returns subclasses of foaf:Organization. Otherwise form breaks in edit mode. 2011-01-27 20:11:19 +00:00
rjy7
8b00b33c1b Restored setting of disabled values in edit mode that was inadvertently removed from a previous commit 2011-01-26 20:12:40 +00:00
rjy7
9243ee7c60 NIHVIVO-1871 Added repair mode to grant and educational training custom forms. 2011-01-25 22:41:20 +00:00
rjy7
c80ba7eaf3 NIHVIVO-1871 Added repair mode to personInPosition custom form. Consolidated common code to determine mode into a method in FrontEndEditingUtils and removed from individual forms. 2011-01-25 22:00:51 +00:00
bdc34
b2d569b110 Working on DateTimeWithPrecision handeling in personHasPositionHistory and organizationHasPositionHistory custom forms NIHVIVO-1653 2011-01-11 18:21:13 +00:00
bdc34
db7fc7d979 Removing some unused lines. 2011-01-11 15:11:58 +00:00
nac26
a637142ca9 NIHVIVO-631 Updated dateTimePrecision 2011-01-06 01:47:54 +00:00
bdc34
8843c034d7 Working on converting organizationHasPositionHistory to date time with precision NIHVIVO-631 2011-01-05 21:25:18 +00:00
bdc34
69c5986f7b core:titleOrRole removed from position form NIHVIVO-1488 2011-01-05 15:46:08 +00:00
bdc34
bfaa8887aa adding datetime with precision to persohHasPositionHistory.jsp NIHVIVO-631 2011-01-04 00:03:25 +00:00
nac26
c9fa835a9e NIHVIVO-1389 NIHVIVO-1407 NIHVIVO-1437 Significant refactoring of templates both in vitro core and vivo themes to ensure consistent markup with 3 different base templates at play (page.ftl, basicPage.jsp and formPrefix/formSuffix.jsp) Resulted in creating smaller component freemarker templates that could be included by all of the base templates, whether ftl or jsp. This is a temporary compromise while we continue our conversion to Freemarker. The goal was to keep jsp files outside of the theme and working behind the scenes. 2010-12-08 14:04:45 +00:00
rjy7
3d612872c8 NIHVIVO-1098 Make start year optional when adding a new position as well as when editing an existing position 2010-09-23 20:26:34 +00:00
rjy7
5484036ee9 Put focus on acSelector field after type is selected in custom forms. 2010-09-07 20:54:13 +00:00
rjy7
e4be7c255d NIHVIVO-1098 Make start year optional when editing a position history, but required when adding a new position history. 2010-09-07 20:04:19 +00:00
rjy7
61059399b4 NIHVIVO-1022 Made organization type and label required on position history form 2010-09-07 16:21:13 +00:00
rjy7
45b1545b3a NIHVIVO-1024 Modified the way placeholder text in labels is handled to make it more general and apply to any label or text in the form. 2010-09-03 15:51:32 +00:00
rjy7
4587642a81 NIHVIVO-1024 Implement educational training custom form as a single-step form. Merged two css files. 2010-09-02 19:54:05 +00:00
rjy7
4cd669ab0a NIHVIVO-1024 Reimplement educational training to use autocomplete rather than select list for related organization. This iteration has the form working like roles and position history forms, in two steps, with organization type selection in step 1. Next iteration will implement as single-step form. 2010-09-02 15:39:56 +00:00
rjy7
56856f0704 NIHVIVO-1023 Change position history custom form to use autocomplete rather than select list for related organization 2010-09-01 21:06:17 +00:00
nac26
5e07aff4db merging from rel-1.1-maint branch: removing "new" from form headings in attempt to minimize user confusion. Kept "new" for newIndividualForm.jsp but removed "individual" from tail end of heading. NIHVIVO-1012 2010-07-26 21:13:30 +00:00
rjy7
95380454af NIHVIVO-647 Add name attribute to vitro custom jsp input tag so that the name can differ from the id.
Removed flag1value1 stuff from all vivo custom forms, since no longer needed.
Initial setup for publication form javascript.
2010-07-08 15:08:42 +00:00
rjy7
13c57446dd NIHVIVO-646 Add cancelUrl parameter to submit tag in InputElementFormattingTags so that the cancel button can redirect to a different page from the form submission. Change cancel values in submit tags in vitro and vivo forms to "true" where previously they specified a uri, because the uri is misleading (it doesn't control the redirect location). Removed edit submission preprocessing due to problems with cloning. 2010-06-17 14:27:03 +00:00
rjy7
8570254efb NIHVIVO-646 More work on addAuthorsToInformationResource custom form. Create edit submission preprocessing mechanism to make automated modifications to the form submission (e.g., creating a label from first, last, and middle name entries). 2010-06-15 19:35:38 +00:00
rjy7
ab3e088cdf Add custom form utils mixin to forms for educational background and position history. 2010-06-14 20:06:53 +00:00
rjy7
cc480a3961 NIHVIVO-646 Move custom form utilities to a separate js file and add utility mixin methods to mix them in to specific custom forms. Make paths to css and js files in formPrefix.jsp and formSuffix.jsp absolute instead of relative. 2010-06-14 19:22:50 +00:00
rjy7
072512c220 Added validation to custom activity form to ensure that end date does not precede start date 2010-04-15 21:43:34 +00:00
rjy7
d255909f3b Added "cancel" link to add new organization box on edit version of position history custom form. Previously had only been present on educational background form. Removed the link in non-Javascript version. 2010-04-15 19:34:26 +00:00
rjy7
34e80cff4e Merging r447 through r448 (Brian Caruso's custom form validation code) from rel-1.0-maint 2010-04-14 18:48:12 +00:00
rjy7
010a143880 Merging revision 474 from rel-1.0-maint. 2010-04-13 23:24:35 +00:00
rjy7
83d1b564ef NIHVIVO-377 Initial work on getting custom form to retrieve its past state after a failed form submission. Not all cases working yet. 2010-04-13 23:05:28 +00:00
rjy7
b8ccb8d9ef Improvements to handling of required hints in customForm.js 2010-04-13 18:50:38 +00:00
rjy7
a8b39bf005 NIHVIVO-356, NIHVIVO-362 Merging custom form fixes from rel-1.0-maint branch. 2010-04-12 21:26:09 +00:00
rjy7
2fd8efcbca NIHVIVO-291 Added validator to position type to fix position-type related bugs 2010-04-05 17:51:17 +00:00
rjy7
138b1b4bd0 NIHVIVO-193, NIHVIVO-194 Comments 2010-04-05 02:34:27 +00:00
rjy7
1c3772a125 NIHVIVO-194. Added a close button with click event listener to the custom form addNew div. 2010-04-04 04:48:41 +00:00
rjy7
c0c802af96 NIHVIVO-193, NIHVIVO-194. Cleaned up n3 statements in position history and educational background forms. Restored degree to required status in educational background status; had temporarily been made optional due to bugs related to the degree which have now been fixed. 2010-04-03 20:16:53 +00:00
rjy7
1918aedc1d NIHVIVO-194 Bug fix in educational background form. Temporarily make academic degree optional until academic degree dropdown bug is fixed. Some Javascript improvements; remerged javascript for educational background and position history forms. 2010-04-02 23:21:42 +00:00
rjy7
e4a2e10c41 NIHVIVO-194 Change ids to classes to accomodate the possibility of additional related objects, and enclose the existing/addNew/new divs into a containing div 2010-04-02 22:30:09 +00:00
rjy7
0a850b4473 NIHVIVO-194 On positionHistory and educationalBackground custom forms, changed id "entry" to class "entry", to accomodate the fact that educationalBackground form has more than one persistent div. 2010-04-02 20:30:31 +00:00
rjy7
c37f96372c NIHVIVO-194 Changed Javascript customForm file and object name to customFormTwoStep, in preparation for creating the customFormOneStep required by educational background form. 2010-04-02 15:59:48 +00:00
rjy7
9fe61779f5 NIHVIVO-193 Javascript to handle reloading the edit form after a failed submission due to validation errors. 2010-04-01 22:23:07 +00:00
bdc34
14eef84a35 Using default new URI creation behavior in VIVO n3 custom forms. NIHVIVO-273 2010-04-01 21:35:39 +00:00
rjy7
378808b007 NIHVIVO-193 Changed right float on addNewLink div to left float, to accomodate different window sizes. 2010-04-01 05:16:34 +00:00
rjy7
7d26f8d322 NIHVIVO-193 Minor tweaks. 2010-04-01 04:52:08 +00:00
rjy7
490d9db068 NIHVIVO-193 Additions to support non-Javascript version of position history form. 2010-03-31 14:39:12 +00:00
rjy7
3891b1cf15 NIHVIVO-193 Modifications for editing an existing position history entry 2010-03-30 19:33:54 +00:00
rjy7
08544ebc33 NIHVIVO-193 Added cancel action to step 2 of personHasPositionHistory form. There's still a bug with removal of required hints from the #new div that needs to be fixed. 2010-03-30 18:16:40 +00:00
rjy7
a1c3065f8b NIHVIVO-193 Fix creation of new organization in the person has position history form. Fix typos in processRdfForm2.jsp. 2010-03-30 14:13:23 +00:00
rjy7
f7b7bd476c NIHVIVO-193 Style tweaks 2010-03-30 01:06:45 +00:00