Commit graph

1908 commits

Author SHA1 Message Date
jeb228
8676ec5544 NIHVIVO-151 Get better control of redirection after logging in.
1) The login link goes to the controller, not directly to the form.
2) The process bean holds the URL where the form is located, and the URL we will go to on success.
3) Only the controller alters the state of the bean, not the widget.
4) The process bean is kept until the redirector can get information from it.
5) Finally, with more control in the redirector, change the behavior.
2010-12-08 22:14:39 +00:00
rjy7
ba3163da20 Fix redirect from /individual to /display in IndividualController 2010-12-08 22:00:09 +00:00
yuysun
3b1fe1eb45 2010-12-08 19:40:20 +00:00
yuysun
a32656cf21 2010-12-08 19:38:26 +00:00
yuysun
4512502e4f 2010-12-08 19:06:48 +00:00
yuysun
1ac4d34057 2010-12-08 19:06:20 +00:00
rjy7
38fef41a12 Moved utility methods for parsing query results back to PageDaoJena from JenaBaseDao, because they are not all-purpose at this point. 2010-12-08 17:10:37 +00:00
rjy7
cc9f132503 Removed request attribute freemarkerComponentsDone: no longer needed, since the call to the component generator has been centralized. 2010-12-08 14:22:02 +00:00
nac26
9892846244 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:05:16 +00:00
ass92
1126d6f75d reverting it back to original piece of code as Nick faced some problem. Will look into whats the problem. 2010-12-08 13:59:40 +00:00
ass92
c332d76577 NIHVIVO-1226 made a change so that the sparql query goes through Dataset. 2010-12-07 22:06:06 +00:00
rjy7
e4d301cf98 NIHVIVO-1333 Continued work on display of object properties on individual profile, including getting sparql query and template name from a config file and using it to generate and display statements. 2010-12-07 21:30:13 +00:00
jeb228
1bad0658cb NIHVIVO-1393 for the external login button, put the entire text in the deploy.properties value. 2010-12-07 18:41:02 +00:00
ass92
6e7afb976d Sparql query improvments. 2010-12-07 17:48:05 +00:00
ass92
297805e5bc NIHVIVO-1451 mechanism to toggle between VitroJenaModelMaker and VitroSDBModelMaker 2010-12-07 17:17:29 +00:00
ass92
c67ed3921c NIHVIVO-1451 mechanism to toggle between VitroJenaModelMaker and VitroSDBModelMaker in ingest tools. 2010-12-07 17:15:56 +00:00
ass92
6066180a6c NIHVIVO-1449 add methods to JenaDataSourceSetupBase and remove VitroJenaModelMakerSetup listener 2010-12-07 16:59:58 +00:00
rjy7
54395c6cb3 NIHVIVO-1333 Continued work on ontology property display 2010-12-07 14:29:17 +00:00
rjy7
cb230a10c3 NIHVIVO-1333 Make ObjectPropertyTemplateModel a non-abstract class to represent uncollated object properties, so UncollatedObjectPropertyTemplateModel is not needed. Some test code in the template to distinguish collated and uncollated object properties. 2010-12-06 22:55:17 +00:00
rjy7
96b10bed71 NIHVIVO-1333 Added some sample markup to the ontology property display template. 2010-12-06 22:18:26 +00:00
mb863
55eb8bece4 NIHVIVO-1238: Styled custom forms for wilma and cleaned up work 2010-12-06 22:04:30 +00:00
rjy7
0c8e1afe35 NIHVIVO-1333 Display the value of data property statements 2010-12-06 21:44:07 +00:00
rjy7
5b0a4eb03c NIHVIVO-1333 Output property names within each property group 2010-12-06 21:40:53 +00:00
rjy7
f9a02c5218 NIHVIVO-1394 Provide a currentPage variable to the page template. 2010-12-06 21:40:23 +00:00
bjl23
7149091c75 improvements to model listener registration 2010-12-06 20:47:38 +00:00
jeb228
53de388998 NIHVIVO-1232 Create InformationResourceEditingPolicySetup, add to web.xml, and modify EditProhibitionListener to keep it current. 2010-12-06 19:57:32 +00:00
jeb228
6a79bca59f NIHVIVO-1232 Create InformationResourceEditingPolicy, with tests. 2010-12-06 19:56:45 +00:00
jeb228
373538c868 NIHVIVO-1232 Create a base class so methods can be shared between SelfEditingPolicy and InformationResourceEditingPolicy 2010-12-06 19:53:16 +00:00
jeb228
19bc848fe7 remove noisy print statements in RevisionInfoBuilder 2010-12-06 19:44:31 +00:00
nac26
ec25d91391 NIHVIVO-1236 Updates to insufficientAuthorization.ftl (sounds like this file will most likely be going away) 2010-12-06 19:04:42 +00:00
bdc34
272d90343b NPE in tabAdmin. NIHVIVO-1325 2010-12-06 18:48:22 +00:00
bdc34
cae6670937 Adding tabMenu and menu to FreemarkerHttpServlet so tabs and the new menus can coexist. NIHVIVO-632 2010-12-06 17:56:45 +00:00
rjy7
bfd81d1327 NIHVIVO-1333 Continued work on ontology property display on individual profile page. 2010-12-06 16:47:41 +00:00
nac26
4f909b3a6e added link for index page 2010-12-04 23:08:27 +00:00
bdc34
7831351b94 Working on tomcat filter for menu page URL routing NIHVIVO-1383 2010-12-03 22:37:02 +00:00
rjy7
e398bdd79a NIHVIVO-1476 Made ResponseValues and implementing classes public, and moved to their own package, for use by classes not in the freemarker package and not subclassing FreemarkerHttpServlet. 2010-12-03 20:36:22 +00:00
rjy7
f6ff54120d NIHVIVO-1333 Handle property group for unassigned properties, and case where no property groups are defined 2010-12-03 17:30:18 +00:00
rjy7
61bc9486fb NIHVIVO-1333 Removed template model wrapper objects in construction of grouped property list 2010-12-02 23:05:53 +00:00
mb863
ed08113669 NIHVIVO-1238: Continue working on styles and making custom forms theme agnostic 2010-12-02 22:45:51 +00:00
bdc34
3180ed432b Adding menu controller, tomcat filter for menu page URL routing NIHVIVO-1073 NIHVIVO-597 2010-12-02 21:09:58 +00:00
mb863
73aea203ed NIHVIVO-556: Moved screen.css to theme level. 2010-12-02 20:55:47 +00:00
rjy7
90c710400b NIHVIVO-1333 Revert changes from r6573, and move namespace filtering on properties into the sparql query 2010-12-02 20:48:53 +00:00
jeb228
fb855abaf1 NIHVIVO-1232 Refactor to remove duplicated code and to avoid the Visitor pattern. 2010-12-02 19:50:02 +00:00
jeb228
d27c258ad5 NIHVIVO-1232 Pull the code that covers restricted Namespaces and URIs into its own class. 2010-12-02 19:11:13 +00:00
rjy7
5cc801ee2c NIHVIVO-1333 Moved dao methods for constructing lists of data properties and object properties for an individual into their own dao classes 2010-12-02 18:57:58 +00:00
jeb228
2fe2a52256 NIHVIVO-1232 Give the resource actions a common ancestor. Clean them up. Make them immutable objects. 2010-12-02 18:31:51 +00:00
jeb228
9279dd1b4c NIHVIVO-1232 Move the resource related actions into a new requestedAction.resource package 2010-12-02 18:13:34 +00:00
jeb228
043f2f1a3d NIHVIVO-1232 Give the data property statement actions a common ancestor. Clean them up. Make them immutable objects. 2010-12-02 18:05:02 +00:00
nac26
584a285465 moving <script> for jquery into the vitro core and out of the themes 2010-12-02 17:53:30 +00:00
jeb228
1e099fd488 NIHVIVO-1232 Give the object property statement actions a common ancestor. Make them immutable objects. 2010-12-02 17:35:56 +00:00