[CUBBY-119] JSP中でクラスとメソッド名からリンクURLを作るタグかファンクション Created: 2008-04-06 Updated: 2009-07-05 Resolved: 2008-06-16 |
|
Status: | Closed |
Project: | Cubby |
Component/s: | Core |
Affects Version/s: | None |
Fix Version/s: | 1.1.0-rc1 |
Type: | New Feature | Priority: | Major |
Reporter: | baba | Assignee: | baba |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Comments |
Comment by baba [ 2008-05-29 ] |
了解。
|
Comment by agata [ 2008-05-28 ] |
> やっぱactionclassとactionmethodだと長いんですよね。 これは、actionclassとactionmethodのほうがわかりやすいかなと思いました。 ><t:tag type="a" attr="href"/> これこれで、役割がはっきりしていてわかりやすいのですが、 <t:link tag="a" attr="href" action="com.example.FooAction#bar" id="go-bar" style="background:red"> <t:param name="id" value="123"/> <t:param name="token" value="abc"/> </t:link> <t:link action="com.example.FooAction#bar" id="go-bar" style="background:red"> <t:tag type="a" attr="href"/> <t:param name="id" value="123"/> <t:param name="token" value="abc"/> </t:link> |
Comment by baba [ 2008-05-28 ] |
t:formの場合、属性がactionだとカブっちゃいますね。 <t:form action="com.example.FooAction#bar"> <t:param name="id" value="123"/> <t:param name="token" value="abc"/> </t:form> やっぱactionclassとactionmethodだと長いんですよね。 |
Comment by baba [ 2008-05-28 ] |
こんなのどうでしょうか? <t:link action="com.example.FooAction#bar"> <t:tag type="a" attr="href"/> <t:param name="id" value="123"/> <t:param name="token" value="abc"/> </t:link> t:tag で出力するタグを指定。 |
Comment by agata [ 2008-05-27 ] |
いい感じだと思います。 1.URLだけを作成したい場合の対応。 2.linkparam |
Comment by baba [ 2008-05-27 ] |
しました。 |