All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nosi.core.gui.components.IGRPLogBar Maven / Gradle / Ivy

Go to download

IGRP Framework is a powerful and highly customizable platform developed by the Operational Nucleus for the Information Society (NOSi) to create web applications, it provides out of box, several modules to make easy to create stand-alone, production-grade web applications: authentication and access-control, business processes automation, reporting, page builder with automatic code generation and incorporation of the Once-Only-Principle, written in Java. IGRP Framework WAR - Contains some keys resources that give UI to IGRP Framework and others supports files.

There is a newer version: 2.0.0.240912-RCM
Show newest version
package nosi.core.gui.components;

import java.util.Iterator;
import java.util.List;

import nosi.core.webapp.FlashMessage;
import nosi.core.webapp.Igrp;
/**
 * Iekiny Marcel
 * Jan 11, 2018
 */
public class IGRPLogBar {
	
	private List logs;
	
	public IGRPLogBar() {
		logs = Igrp.getInstance().getLog().getMsgLog();
	}
	
	public void displayLogs() {
		Iterator i = logs.iterator();
		FlashMessage flashMessage = Igrp.getInstance().getFlashMessage();
		while(i.hasNext()) 
			flashMessage.addMessage("debug", i.next());
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy