I would vary the packaged resource rather than having a resource vary what it points to. That way, you can let browsers cache the image, and you could potentially move it out of a packaged resource to a static image some day if you'd want it e.g. to get maximum performance.
Eelco On Thu, Jul 9, 2009 at 11:56 PM, Steve Tarlton<starl...@gmail.com> wrote: > I know this is probably very simple to do, but I haven't been able to get my > head wrapped around it. I want to create a component within the column of a > table that has 6 different images associated to it. Each image is tied to a > number as the component is actually an integer representing a state. I > believe I would simply create a packaged resource vary the image it selects > based on the value of the component. I figured maybe someone here on the > list might give me a nudge in the right direction. > > BTW: The inmethod datagrid ROCKS! > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org