ということで原因を探ってみました。
条件
・themed を使用。
/app/views/themed/s/layouts/flash.ctp
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title><?php echo $title_for_layout; ?> スマートフォン</title>
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">google.load("jquery","1.5.2");</script>
<link rel="stylesheet" href="/app/webroot/css/jquery.mobile-1.0a4.1.min.css" />
<script src="/app/webroot/js/jquery.mobile-1.0a4.1.min.js"></script>
</head>
<body>
<div data-role="page" data-theme="b" id="jqm-home">
<div data-role="header" data-theme="b">
<h1>処理完了</h1>
</div>
<div class="ui-body ui-body-c">
<p><a href="<?php echo $url; ?>" rel="external"><?php echo $message; ?></a></p>
</div>
</div>
</body>
</html>
というファイルを作れば正常にflashが動くようになる。
つまり、flash.ctpにも jquery.mobile が読み込まれてないと正常に動かないよってこと。
flash.ctp の
rel="external" はキャッシュをさせないってこと。
これがないとflash.ctpのキャッシュが残ってバグるので必須。



