bruno.amaro a écrit :
Hi
I`m trying to figure how to do this, i`m using the excel plugin and i want to have a select box to select the sheet to display:
<form id="form1" name="form1" method="post" action=""> <label> <select name="sheet" id="sheet"> <option value="03-20-2009">03-20-2009</option> <option value="03-27-09">03-27-09</option> <option value="04-03-2009">04-03-2009</option> <option value="4-10-2009" selected="selected">4-10-2009</option> </select> </label> </form> </label> <p> <label> <input type="submit" name="button" id="button" value="Submit" /> </label> </p>
$xwiki.ExcelPlugin.getTable("Status.xls", "4-10-2009", "A3-H20")
The "4-10-2009" should be the value from the select... Any ideas?
$xwiki.ExcelPlugin.getTable("Status.xls", $request.sheet, "A3-H20") Ludovic -- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost