bruno.amaro wrote:
Tks! But, what should i put in action? My first try is with javascript, but it fails
If you remove the action attribute it will reload the page. Hope this helps, Marius
Ludovic Dubost-2 wrote:
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
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs