月: 2007年4月
JSR 286 spec draft 14
何だか、変更点を見ると、まだ、いろいろと変えているな・・・。javadoc を見ると、FilterやWrapperが入ったりしている。GenericPortletを見ると、processEventとserveResourceが違いかな。
- XSD: replaced expiration-cache with caching
- API: changed expiration time from long to int
- removed serveFragment
- allow cookies to be set in action and event response too
- changed shared render parameters into public render parameters
- moved nextPossiblePortletModes to the render response
- added container runtime option API
- added runtime options: javax.portlet.renderHeaders, javax.portlet.includedPortletSessionScope
- renamed ClientHttpRequest into ClientDataRequest
- added MimeResponse
- clearified PortletURL.setSecure
ポートレットでforEachでボタンを押されたときに値を渡す
teeda-html-exampleのsrc/main/webapp/view/foreach/forEachList.htmlにあることをポートレットでやると、idにネームスペースが挿入されるので、なやましい問題に遭遇することになるけど、同じようなことをやるためには以下のようにやれば良いかも。
<form id="forEachListForm"><input type="hidden" name="clickIndex"/> ... <td> <input type="button" id="doForEachResult" value="test" onclick="this.form.firstChild.value=this.nextSibling.value;"/><input type="hidden" id="aaaIndex-x"/> </td>
Firefoxでは、そんな感じでうまくいった。というわけで、一応、メモっとく。