org.apache.beehive.netui.tags.html
Interface IUrlParams

All Known Implementing Classes:
Anchor, AnchorBase, AnchorCell, Area, Button, Form, Image, ImageAnchor, ImageAnchorCell, RewriteURL, TreeElement, TreeItem, TreeRootElement

public interface IUrlParams

This interfaces defines the contract allowing tags to add parameters which will be added to URLs which they generate. The Parameter and ParameterMap tags both use this method to add parameters to ancestor tags.


Method Summary
 void addParameter(String name, Object value, String facet)
          This method will allow a tag that produces one or more Urls to have parameters set on the tag.
 

Method Detail

addParameter

void addParameter(String name,
                  Object value,
                  String facet)
                  throws JspException
This method will allow a tag that produces one or more Urls to have parameters set on the tag. The name and value should be required. The facet is optional, and allows tags producing more than one URL to have parameters set on different URLs.

Parameters:
name - The name of the parameter to be added to the URL.
value - The value of the parameter.
facet - The name of a facet for which the parameter should be added.
Throws:
JspException