14 Replies Latest reply on Oct 6, 2006 3:20 AM by Gavin King

    <s:link... /> - how to generate links?

    slawek t Novice

      Hello,

      I'm wandering how to generate links using <s:link /> tag in loop. I've got object with method returning List of URLs. I had prepared s:link tag to achieve view="{$...}" parameter functionality, but it's uncomfortable for a long distans, so I decided to return to original library.
      Because of that I have to use action property insted of view one. But it's hard to me to generate in loop (c:forEach) set of links. It would be a bit simpler if action method could use parameters.

      In case of JIRA request (http://jira.jboss.org/jira/browse/JBSEAM-316) nothing changed and I don't see simple solution.

      Regards,
      Slawek