Created
April 16, 2018 15:08
-
-
Save noriyukitakei/a39f814f1ac6cdf9acc6cdde7152aef4 to your computer and use it in GitHub Desktop.
Spring Web Flowによる今どきでないWebアプリケーション開発
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml" | |
xmlns:th="http://www.thymeleaf.org" | |
xmlns:tiles="http://www.thymeleaf.org" | |
xmlns:sec="http://www.thymeleaf.org" lang="jp"> | |
<head> | |
<meta charset="UTF-8" /> | |
<title>検索画面</title> | |
</head> | |
<body> | |
<!-- ${flowExecutionUrl}は、次のViewに遷移するためのURLを自動生成します。Spring Web Flowでは | |
必ず遷移先のURLに必ずこれを指定して下さい。 --> | |
<form th:action="${flowExecutionUrl}" method="POST"> | |
タイトル:<input type="text" name="title" /><br /> | |
<!-- ここで定義した_eventId_searchのsearchの部分は、 | |
Flow定義ファイル(flow-bbs.xml)の<view-state id="top"・・・>・・・</view-state>要素内にある | |
<transition on="search" to="searchAction"/>要素のon属性であるsearchに対応しています。 --> | |
<input type="submit" name="_eventId_search" value="検索" /> | |
</form> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment