| java.lang.Object uk.org.ponder.rsf.components.UIComponent uk.org.ponder.rsf.components.UILink uk.org.ponder.rsf.components.UIInternalLink
UIInternalLink | public class UIInternalLink extends UILink (Code) | | A specialisation of a
UILink which specifies a navigation target
which is part of the same RSF application. In this case, specification of the
target can be done in the abstract, by way of a ViewParameters object,
allowing "links to self" to be transparently resolved correctly in whatever
the hosting environment is for the current request (servlet, portlet, etc.).
The target field will be filled in by a fixup prior to
rendering.
Note that the ViewParameters object supplied as argument to the "make" methods
will be copied prior to being added.
author: Antranig Basman (amb26@ponder.org.uk) |
Method Summary | |
public static UIInternalLink | make(UIContainer parent, String ID, UIBoundString linktext, ViewParameters viewparams) | public static UIInternalLink | make(UIContainer parent, String ID, String text, ViewParameters viewparams) | public static UIInternalLink | make(UIContainer parent, String ID, ViewParameters viewparams) | public static UIInternalLink | makeURL(UIContainer parent, String ID, String target) Create a link which, while internal, does not participate in the
ViewParameters system. |
viewparams | public ViewParameters viewparams(Code) | | ViewParameters representing the navigation target of this link control
|
makeURL | public static UIInternalLink makeURL(UIContainer parent, String ID, String target)(Code) | | Create a link which, while internal, does not participate in the
ViewParameters system. This is largely useful for unmanaged environments
such as SpringMVC/Cocoon. Cannot be named "make" to avoid clashing with
UILink through ridiculous Java semantics on static methods.
|
|
|