Project

General

Profile

« Previous | Next » 

Revision 558d5bd1

Added by Patrick Plitzner over 7 years ago

ref #5458 extract constants for session attributes

View differences:

src/main/java/eu/etaxonomy/cdm/vaadin/view/dbstatus/DistributionTableView.java
183 183
			private static final long serialVersionUID = 1L;
184 184
			@Override
185 185
			public void buttonClick(ClickEvent event) {
186
				ConversationHolder conversationHolder = (ConversationHolder) VaadinSession.getCurrent().getAttribute("conversation");
186
				ConversationHolder conversationHolder = (ConversationHolder) VaadinSession.getCurrent().getAttribute(DistributionEditorUtil.SATTR_CONVERSATION);
187 187
				try{
188 188
					conversationHolder.commit();
189 189
				}catch(Exception stateException){
......
217 217
				String itemCaption = null;
218 218
				Representation representation = presenceAbsenceTerm.getRepresentation(Language.DEFAULT());
219 219
				if(representation!=null){
220
					if((Boolean)VaadinSession.getCurrent().getAttribute(DistributionEditorUtil.SESSION_ABBREVIATED_LABELS)){
220
					if((Boolean)VaadinSession.getCurrent().getAttribute(DistributionEditorUtil.SATTR_ABBREVIATED_LABELS)){
221 221
						itemCaption = representation.getAbbreviatedLabel();
222 222
					}
223 223
					else{

Also available in: Unified diff