I want to create a checkbox that will eventually be rendered as:
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);" />
I have tried this:
CheckBox select1 =
actions.addCheckBox("checkall").setValue("Select");
select1.setLabel("Select");
select1.addOption("onclick=checkUncheckAll(this);");
But this gives me:
<input name="checkall" type="checkbox" value="onclick=checkUncheckAll(this);" />
So how do I get the,
onclick="checkUncheckAll(this);"
?
Thank you,
Jose
------------------------------------------------------------------------------
Cloud Computing - Latest Buzzword or a Glimpse of the Future?
This paper surveys cloud computing today: What are the benefits?
Why are businesses embracing it? What are its payoffs and pitfalls?
http://www.accelacomm.com/jaw/sdnl/114/51425149/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech