Public Member Functions | |
ListIteratorTag (const string &name) | |
virtual void | doStartTag (const attribs_t &attribs) |
virtual void | doEndTag () |
Public Attributes | |
string | m_list |
string | m_var |
string | m_type |
list | List name. Must be existing variable of type (or reference to type) | |
var | Iterator variable name. It can be referenced only inside the block | |
type | Collection type (e.g. std::vector<std::string>) |
Definition at line 120 of file IteratorTags.cpp.
csp::tags::ListIteratorTag::ListIteratorTag | ( | const string & | name | ) | [inline] |
Definition at line 125 of file IteratorTags.cpp.
void csp::tags::ListIteratorTag::doEndTag | ( | ) | [virtual] |
Called when closing tag is encountered
Implements servlet::taglib::Generator.
Definition at line 149 of file IteratorTags.cpp.
References servlet::taglib::Generator::body.
virtual void csp::tags::ListIteratorTag::doStartTag | ( | const attribs_t & | attribs | ) | [virtual] |
doStartTag is called when opening tag is encountered
attribs | key-value map of the tag attributes Override this function in your tag handler to generate pre-amble code for your tag |
Implements servlet::taglib::Generator.
Definition at line 123 of file IteratorTags.cpp.
Definition at line 123 of file IteratorTags.cpp.
Definition at line 123 of file IteratorTags.cpp.