以下の内容はhttps://blog.j5ik2o.me/entry/20080919/1221813127より取得しました。


SAStrutsとMayaa環境下で.mayaaにstrutsタグが使えないか

以前のエントリSAStrutsMayaaの組み合わせ方を書いたがもう少しすっきりmayaaファイルのタグを書けないものか試行錯誤してます.
MayaaではJSPカスタムタグが打てるので,そのままstrutsタグを書いてみた.
こんな感じ.
index.html

<html>
<body>
<form id="form" method="post">
<input type="text" id="eventDate" name="eventDate"/>
<input type="submit" value="submit"/>
</form>
</body>
</html>

index.mayaa

<m:mayaa xmlns:m="http://mayaa.seasar.org"
		xmlns:html="http://struts.apache.org/tags-html">
<html:form m:id="form" action="/event"/>
<html:text m:id="eventDate" property="eventDate" value="${eventForm.eventDate}"/>
</m:mayaa>

で,strutsタグは問題なく使えるのですが,レンダリング結果は悲しいかなSAStrutsのイカしたURLが素のURLになってしまった.
${f:url(event)}がmayaaファイル上で使えれば対策ができると思うのですが,どうすればいいんだろう...ってところです.

<form name="eventActionForm" method="post" action="/s2chronos-sastruts-example/event.do">



以上の内容はhttps://blog.j5ik2o.me/entry/20080919/1221813127より取得しました。
このページはhttp://font.textar.tv/のウェブフォントを使用してます

不具合報告/要望等はこちらへお願いします。
モバイルやる夫Viewer Ver0.14