map Taglib documentation

Version 1.0
Description Mashup Map Helpers

Tag new map:new(...)

Create a new object of type Map.
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
vartruefalsejava.lang.String
Name of the exported variable for the new map.

Tag put map:put(...)

Puts a value to the given map.
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
maptruetruejava.util.Map
keytruetruejava.lang.Object
valuetruetruejava.lang.Object

Tag remove map:remove(...)

Removes a value from the given map.
Body Content: empty
Attribute nameRequiredRuntime Expression EvaluationType
maptruetruejava.util.Map
keytruetruejava.lang.Object

Function containsKey map:containsKey(...)

Returns whether the given key is contained or not in the given map.
Function Class: com.exalead.cv360.searchui.view.jspapi.map.Functions
Function Signature: boolean containsKey(java.util.Map, java.lang.Object)

Example

  1. < c:if test="${map:containsKey(map, key)}" >

Function containsValue map:containsValue(...)

Returns whether the given value is contained or not in the given map.
Function Class: com.exalead.cv360.searchui.view.jspapi.map.Functions
Function Signature: boolean containsValue(java.util.Map, java.lang.Object)

Example

  1. < c:if test="${map:containsValue(map, value)}" >