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

be.personify.iam.frontend.wicket.util.ResourceLink Maven / Gradle / Ivy

There is a newer version: 1.5.2.RELEASE
Show newest version
package be.personify.iam.frontend.wicket.util;

import org.apache.wicket.markup.html.link.Link;
import org.springframework.hateoas.EntityModel;

public class ResourceLink {

	
	//NOT USED?
	private static final long serialVersionUID = 5707957386511513928L;
	
//	private EntityModel resource;
//	private Class> pageClass;
//
//	public ResourceLink(String id, EntityModel r, Class> p) {
//		super(id);
//		this.resource = r;
//		this.pageClass = p;
//	}
//
	//@Override
	//public void onClick() {
//		PageParameters pageParameters = new PageParameters();
//		pageParameters.add("href", resource.getId().getHref());
//		setResponsePage(pageClass, pageParameters);
//	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy