Class ResourceLink<T>

Type Parameters:
T - type of model object
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IGenericComponent<T,Link<T>>, IMetadataContext<Serializable,Component>, IRequestListener, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public class ResourceLink<T> extends Link<T> implements IRequestListener
A link to any ResourceReference.
Author:
Jonathan Locke
See Also:
  • Constructor Details

    • ResourceLink

      public ResourceLink(String id, ResourceReference resourceReference)
      Constructs an ResourceLink from an resourcereference. That resource reference will bind its resource to the current SharedResources.
      Parameters:
      id - See Component
      resourceReference - The shared resource to link to
    • ResourceLink

      public ResourceLink(String id, ResourceReference resourceReference, PageParameters resourceParameters)
      Constructs an ResourceLink from an resourcereference. That resource reference will bind its resource to the current SharedResources.
      Parameters:
      id - See Component
      resourceReference - The shared resource to link to
      resourceParameters - The resource parameters
    • ResourceLink

      public ResourceLink(String id, IResource resource)
      Constructs a link directly to the provided resource.
      Parameters:
      id - See Component
      resource - The resource
  • Method Details