Part 1 (regular usage)
<inp2:m_SetParam test_param=" \ value "/> [<inp2:m_Param name="test_param" js_escape="1"/>] [<inp2:m_Param name="test_param"/>]
- create template with above content
- in browser go to page, that would render that template
- confirm, that template output contains: [ \\ value ] and [ \ value ]
Plan 2 ("plus" parameter usage)
<inp2:m_SetParam test_param="5"/> [<inp2:m_Param name="test_param" plus="2"/>] [<inp2:m_Param name="test_param" plus="3"/>]
- create template with above content
- in browser go to page, that would render that template
- confirm, that template output contains: [7] and [8]
Plan 3 ("plus" and "result_to_var" parameter usage)
<inp2:m_SetParam test_param="5"/> <inp2:m_Param name="test_param" plus="2" result_to_var="xx1"/> <inp2:m_Param name="test_param" plus="3" result_to_var="xx2"/> [<inp2:m_Param name="xx1"/>] [<inp2:m_Param name="xx2"/>]
- create template with above content
- in browser go to page, that would render that template
- confirm, that template output contains: [7] and [8]
Plan 4 ("result_to_var" parameter usage)
<inp2:m_SetParam test_param=" \ value "/> <inp2:m_Param name="test_param" js_escape="1" result_to_var="xx1"/> <inp2:m_Param name="test_param" result_to_var="xx2"/> [<inp2:m_Param name="xx1"/>] [<inp2:m_Param name="xx2"/>]
- create template with above content
- in browser go to page, that would render that template
- confirm, that template output contains: [ \\ value ] and [ \ value ]