How to auto-generate URLs for each record in a list?

How to auto-generate URLs for each record in a list?

Hello,

I'm using an HTML view to generate a bullet list of upcoming events. Here's what I have so far:

  1. <%displayevents = (Event[Date_is_final_confirmed].Event_Title sort by Event_Date).getall();%>
    <p><%if (!displayevents.isEmpty())
        {
            for each index var_index in displayevents
            {%>
                <li style="padding-left:30px;">               
                <%=(displayevents.get(var_index)).getPrefix(",")%>
            <%}
        }%>







So right now it displays all events whose dates are final, sorted by nearest date. The above code outputs something like:
 
  • Event1 May 10
  • Event2 May 16
  • Event3 May 23
  • Etc
However, I'd like each of those bullets to link the actual event so people can view the details rather than just seeing a static list of the events. Any help here?

Thanks.

P.S. -- I'm also trying to figure out how to ONLY show events that less than 2 weeks away (i.e. exclude past events and exclude events whose dates are 2+ weeks away), so if you have ideas on that, too, please let me know. I'm new to Creator and Deluge and can use all the help I can get. :)