src/main/java/org/ednovo/gooru/client/mvp/shelf/collection/tab/info/CollectionInfoTabView.java
/**
	 * Adding new standard for the collection , will check it has more than
	 * fifteen standards
	 * 
	 * @param standard
	 *            which to be added for the collection
	 */
Adding new standard for the collection , will check it has more than
fifteen standards

@param standard
which to be added for the collection
Adding new standard for the collection will check it has more than fifteen standards @param standard which to be added for the collection
public void addStandard(String standard, String id) {
		if (standardsPanel.getWidgetCount() < 15) {
			if (standard != null && !standard.isEmpty()) {
				standardsPanel.add(createStandardLabel(standard, id, standardCodesMap.get(id)));
				this.resetStandardCount();
				getUiHandlers().updateStandard(collectionDo.getGooruOid(), id, "add");
			}
		} else {
			standardMaxShow();
			standardSgstBox.setText("");
			standardSgstBox.getElement().setAttribute("alt","");
			standardSgstBox.getElement().setAttribute("title","");
		}
	}
public void addStandard ( String standard , String id ) { if ( standardsPanel . getWidgetCount ( ) < 15 ) { if ( standard != null && ! standard . isEmpty ( ) ) { standardsPanel . add ( createStandardLabel ( standard , id , standardCodesMap . get ( id ) ) ) ; this . resetStandardCount ( ) ; getUiHandlers ( ) . updateStandard ( collectionDo . getGooruOid ( ) , id , "add" ) ; } } else { standardMaxShow ( ) ; standardSgstBox . setText ( "" ) ; standardSgstBox . getElement ( ) . setAttribute ( "alt" , "" ) ; standardSgstBox . getElement ( ) . setAttribute ( "title" , "" ) ; } }
Adding new standard for the collection , will check it has more than
 fifteen standards
Adding new standard for the collection will check it has more than fifteen standards