| Jim Barnes 2007-11-27, 7:36 am |
| well when creating a struts action url, you can either use the built in tags<br />
or you can use the url generation spi <br />
<br />
if you want to use the url generation spi you will need to use the helper classes(<a class="jive-link-external" href="http://www-1.ibm.com/support/docview.wss?rs=688&ca=portall2&uid=swg21265900">http://www-1.ibm.com/support/docview.wss?rs=688&
ca=portall2&uid=swg21265900</a> ) use the method to target an action . When creating the map you will need to do the following<br />
<br />
HashMap map = new HashMap(); <br />
String[] value1 = {""}; <br />
String[] value2 = {"spf_ActionListener"}; <br />
String[] value3 = {"!2fSearchResult.do"}; this must be your action name <br />
map.put("passedinvalue", value1); <br />
map.put("spf_ActionName", value2); <br />
map.put("spf_strutsAction", value3); <br />
<br />
IBM Certified System Administrator -- WebSphere Portal V6.0, V5.1, V5.0<br />
IBM Certified Solution Developer -- WebSphere Portal V5.1, v6.0<br />
<br />
The postings on this site are my own and do not necessarily represent the positions, strategies, or opinions of IBM
|