remind user about the "I am an author" checkbox (JSP)

Issue #1818 resolved
Robert Jäschke created an issue

Please add code to the JSP generating the "I am an author" checkbox which

1) Checks, if one of the publication's authors or editor's matches the user's realname - This is a bit tricky, since the real name is a string and the author names are person objects in a List. Since (hopefully) we have implemented a proper "equals" method for person objects (check!), you could create a new person object from the realname and do authors.contains(). All this is probably easier to do in Java code, so using a TagLib function or Functions.java could help.

2) If the check returns true, inserts an info message (with nice CSS :-) that informs the user that he/she c/should check the "I am an author" checkbox.

For questions: ask Robert

Comments (5)

  1. Log in to comment