<s:property value="%{text}" escapeHtml="false"/>
</div>
<br/>
- <s:property value="%{user.displayName}"/>
+ <s:text name="%{user.displayName}"/>
</td>
</tr>
<tr height="1" bgcolor="#AAAAAA"><td colspan="2"></td></tr>
import java.util.Date;
import java.util.List;
-import java.util.ResourceBundle;
import org.splat.exception.InvalidParameterException;
import org.splat.service.StepService;
_comments = getStepService().getStepComments(getOpenStudy().getSelectedStep());
_commentPopup = getApplicationSettings().getPopupMenu("comment");
- //necessary for sysadmin user (with label.sysadmin displayName)
- ResourceBundle label = ResourceBundle.getBundle("labels",
- getApplicationSettings().getCurrentLocale());
for(StepCommentDTO comment : _comments) {
- comment.getUser().setDisplayName(label.getString(
- comment.getUser().getDisplayName()));
+ comment.getUser().setDisplayName(
+ comment.getUser().getDisplayName());
}
} catch(InvalidParameterException exception) {
_comments = null;
* Get the commentPopup. Should have this exact name since it is used in menupopup.jsp.
* @return the commentPopup
*/
+ @Override
public PopupMenu getPopup() {
return _commentPopup;
}