As of commit
http://git.fedorahosted.org/git/?p=spacewalk.git;a=commit;h=9df641befa3651c5394f05cbb6cf289a63c92e2e
a new 'radio' column tag has been added to the New List Tag. This tag will be
very useful if you want to use the new list tag with radio buttons.. Its
similar to the selectable column , but differs in the implementation.. I
thought about having one extend the other but felt selectable column tag was
just way too complicated to be worth extending..
Anyway here is the usage..
JSP Snippet
<rl:list width = "100%" .... >
<rl:radiocolumn value="${current.selectionKey}" styleclass="first-column"/>
</rl:list>
Action Side logic
ListTagHelper.getRadioSelection(request, listName);
will get you the key that was selected. You can also preselect a key if you
want when you are rendering the radio button.. You do that by calling
ListTagHelper.selectRadioValue(listName, selectionKey, request)..
I basically created this because I was frustrated with getting the old list tag
function properly with getting kickstart scheduled.. I'll soon have the
schedule KS page use the new list tag using this set of radio buttons so that
they would serve as a good template for future implementations using this tag..
Partha
_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel