net.sourceforge.stripes.tag
Interface ParameterizableTag
- All Known Implementing Classes:
- FormTag, LinkTag, LinkTagSupport, UrlTag
public interface ParameterizableTag
Interface to be implemented by tags which wish to be able to receive parameters from
nested <stripes:param> tags.
- Since:
- Stripes 1.4
- Author:
- Tim Fennell
- See Also:
ParamTag
addParameter
void addParameter(String name,
Object valueOrValues)
- Adds a parameter to the tag. It is up to the tag to determine whether the new value(s)
supplied supercede or add to previous values. The value can be of any type, and tags
should handle Arrays and Collections gracefully.
- Parameters:
name
- the name of the parametervalueOrValues
- either a scalar value, an array or a collection
? Copyright 2005-2006, Stripes Development Team.