<?xml version="1.0" encoding="UTF-8"?>
<actions>

<meta>
  <description>Arena von Axiell (nur Kontoansicht, keine Suche)</description>
  <variable name="baseurl"><description>Adresse des Katalogs</description></variable>
</meta>

<action id="connect">
</action>

<action id="update-all"> 
  <page url="{$baseurl}/web/arena/protected/my-account/overview"/>
  <pattern href="login-form"/>

  <if test="exists($login-form)"> <!-- no if causes "No HTML tree error" -->
    <page url="{$login-form}"/>
  </if>
  <pattern href="overview"/>
  
</action>

<action id="renew-list">
  <s>renew-request := request-combine($renewForm, $renew-books?_internalId)</s>
  <loop var="ajax" list="$renew-books?_ajax">
    <page url="{$ajax}"/> 
  </loop>
  <page url="{$renew-request}"/>
  <pattern href="renewal"/>
  
  <call action="update-all"/>
</action>

<action id="cancel-list">
</action>

<action id="catalogue">
  <variable name="url" value="{$baseurl}"/>
</action>

</actions>
