<?xml version="1.0" encoding="UTF-8"?>
<process xmlns:blue="http://www.e-marson.com/bluelemon">
<descriptor>
<name>com/emarson/lemonade/examples/mobank/AuthenticationFailed</name>
<version>1.0</version>
<description>
Go back to the authentication screen and show the
error alert 'Login failed'.
</description>
<vendor>E-MARSON</vendor>
</descriptor>
<path>
<action name="failure action">
<type>general/bluelemon/code</type>
<definition resultTo="result">
<blue:call node="com/emarson/lemonade/examples/mobank/AuthenticationScreen"
location="@com/emarson/lemonade/examples/mobank"/>
<blue:newInstance module="com/emarson/lemonade/bluelemon/midp1/Alert"
toVariable="alert"/>
<blue:call object="alert" method="initialize">
<blue:argument type="String" value="Login failed"/>
<blue:argument type="String" value="Login failed - please try again."/>
<blue:argument type="byte" value="AlertType.ERROR"/>
<blue:argument type="short" value="1500"/>
</blue:call>
<blue:call manager="GeneralManager" method="setCurrent">
<blue:argument type="variable" name="alert"/>
</blue:call>
</definition>
</action>
<finish name="done">
<return>result</return>
</finish>
</path>
</process>