Prev | Current Page 639 | Next

Frank Zammetti

"Practical DWR 2 Projects"

split("~~");
return ""style='cursor:pointer;'" +
"onClick=\"RePortal.removeReportFromFavorites('" +
vals[0] + "');\"" +
"> "onClick=\"RePortal.runReport('" + vals[0] + "');\">" +
vals[0] + "
- " + vals[1];
};
for (var i = 0; i < inList.length; i++) {
dwr.util.addOptions("favorites_favoritesList",
[ inList[i] ], formatter, { escapeHtml : false }
);
}
}
}
This time, the usage of the dwr.util.removeAllOptions() function is working on a

    element, not a element. With each iteration of the loop and each call to
    dwr.util.


    Pages:
    627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651