struts2-jquery プラグインと dialog(remote) を使用しているため、以下に示すように、ダイアログ コードの前に remoteurl を指定しました。
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<html>
<head>
<sj:head jqueryui="true"/>
</head>
<body>
<s:url var="remoteurl" action="myremoteaction"/>
<sj:dialog id="mydialog3" href="%{remoteurl}" title="Remote Dialog open on Click" autoOpen="false"/>
<sj:a openDialog="mydialog3">Open Dialog</sj:a>
</body>
</html>
最初にダイアログを直接開く代わりにハイパーリンクをクリックすると、そのリモート URL を変更してから開きたいのですが、どうすればよいか教えてもらえますか?
前もって感謝します。