Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Nov 14th, 2012  |  syntax: None  |  size: 0.76 KB  |  views: 25  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <s:iterator value="destinations">
  2.          <li> <s:property value="name" /> </li>
  3.  </s:iterator>
  4.        
  5. Name: <s:property value="destination.name" />
  6.        
  7. <ul>
  8.          <s:iterator value="destinations">
  9.             <li>
  10.                 <s:url action="Destination" var="urlTag">
  11.                 <s:param name="id"> <s:property value="id" /> </s:param>
  12.                 </s:url>
  13.                 <a href="<s:property value="#urlTag" />" >
  14.                     <s:property value="name" />
  15.                 </a>
  16.             </li>
  17.          </s:iterator>  
  18. </ul>
  19.        
  20. <s:iterator value="destinations">
  21.      <li>
  22.           <a href='DestinationAction.action?destination.name=<s:property value="name" />' >
  23.              <s:property value="name" />
  24.          </a>
  25.      </li>
  26. </s:iterator>