Jose, at this time handlers need to be added in xslt. You can find the
template that generates checkbox from DRI to XHTML and create one that
refines to match @name and the @id of the div it is inside and add your
handlers there.
Mark
On Wednesday, December 14, 2011, Blanco, Jose <[email protected]> wrote:
> 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
>
------------------------------------------------------------------------------
10 Tips for Better Server Consolidation
Server virtualization is being driven by many needs.
But none more important than the need to reduce IT complexity
while improving strategic productivity. Learn More!
http://www.accelacomm.com/jaw/sdnl/114/51507609/
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech