Thanks for the quick response.

Here's what I did:


  | <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c"%>
  | <%@ taglib uri="http://java.sun.com/portlet"; prefix="portlet"%>
  | 
  | <c:set var="listLinkURL">
  |     <portlet:actionURL>
  |             <portlet:param name="action" value="PersonList" />
  |     </portlet:actionURL>
  | </c:set>
  | 
  | <script>
  |     function postPersonForm(id){
  |             document.viewPersonForm.value = id;
  |             document.viewPersonForm.submit();
  |     }
  | </script>
  | 
  | <form id="view-person" name="viewPersonForm" action="${listLinkURL}" 
method="POST">
  |     <input type="hidden" name="id" />
  | </form>
  | 
  | <table border="0" width="200">
  |     <tr>
  |             <td>
  |                     Lastname, Firstname
  |             </td>
  |     </tr>
  |     <c:forEach items="${PersonsList}" var="person">
  |             <tr>
  |                     <td>
  |                             <a 
href="javascript:postPersonForm(${person.id});">
  | 
  |                                     <c:out value="${person.lastName}" />
  |                                     ,
  |                                     <c:out value="${person.firstName}" />
  |                             </a>
  |                     </td>
  |             </tr>
  |     </c:forEach>
  | </table>
  | 
  | 
  | 

I got an error att he top of my JSP in regards to the portlet tag lib, the 
error doesn't say anything useful but it is related tothe taglib entry.  Also I 
have an erro next to the <portlet:actionURL> tag which indicates that it cannot 
find the actionURL tag in the portlet TLD.

Thanks, 
Michael

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915586#3915586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915586


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to