Previous item in <dtml-in>
I am trying to build a dtml method that will allow me to graphically change the sort order of some objects. The objects I want to sort are Content objects, with an integer property of SortOrder. This is what I have so far: <dtml-var standard_html_header> <form> <table> <tr> <td rowspan=2> <select size="10" height="100" multiple name="order"> <dtml-in sort> <option value=<dtml-var id>><dtml-var id></option> </dtml-in> </select> </td> <td> <input type="button" value="Up" /> </td> <tr> <td> <input type="button" value="down"> </td> </tr> </table> </form> <dtml-var standard_html_footer> The sort python script returns a list of all the Content objects sorted by SortOrder. What I need to know is if there is a way to send the previous or next item from a list rendered by <dtml-in> to a python script, can anyone help me with this? Thanks, Jamie White Jamie@brobus.net
participants (1)
-
Jamie