User Tools

Site Tools


en:public:developer:template_system:tags:error:error_btn_back_url

This is an old revision of the document!


Table of Contents

<#error_message>

When an error is encountered, this variable will contain the url of the “back” button and it's will be available from the /error/ page

Parameters

Name Mandatory Default Description
xmlencode No true Xml encode the result. see more on xmlencode

Example

<#if condition="'<#error_btn_back_url>' <> ''">
  <br />
  <#if condition="'<#error_btn_back_method>' = 'POST'">
    <form action="<#error_btn_back_url>" method="post" name="ak_back_form" class="form1">
      <#for var="i" from="0" to="<#error_btn_back_post_params.count> - 1">
        <input type="hidden" name="<#error_btn_back_post_params.Names[<#i>]>" value="<#error_btn_back_post_params.ValueFromIndex[<#i>]>" />
      <#endfor>
    </form>
    <#htmlbutton template="button_4_1_2.html"
                 href="javascript:void(0);"
                 onclick="document.forms['ak_back_form'].submit(); return false;"
                 caption="<#resource_string id='16'>">
  <#else>
    <#htmlbutton template="button_4_1_2.html"
                 href="<#error_btn_back_url>"
                 caption="<#resource_string id='16'>">
  <#endif>  
<#endif>
en/public/developer/template_system/tags/error/error_btn_back_url.1354174975.txt.gz · Last modified: 2012/11/29 11:42 by admin