Red Hat Bugzilla – Bug 491967
Change Listable getResult signature to take the action mapping
Last modified: 2011-08-05 08:28:08 EDT
This BZ is a tracker for enhancing the new list tag implementation. Passing in the action mapping to the getResult method would let us pass in properties to actions that use the tag that dictate the data returned (the action mapping is needed to get the property values).
One use case is the errata pages. I'd like to have one action that handled loading the data for both "all" and "relevant" errata. To determine which to display, a property could be set on the action in the struts-config.xml. Based on the value, the getResult method could decide which data to load for the tag.
Note that this is not needed for any particular release (there are workarounds), rather is just an enhancement to working with the tag.
Mass-moving to space13.
do you have a patch for this bugzilla, or some code to start with?
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.
Aligning under space16.
This is not a priority for Red Hat's Spacewalk developers and will likely not be completed by Red Hat in the next 2 years. We agree that this is a valid request and something that could be achieved. Since reporter by developer for improving this sub-system/component of Spacewalk code I am closing this out as DEFERRED. Feel free to re-open if you wish this re-reviewed.