Enhance ByteArrayResource for dynamic byte arrays
-------------------------------------------------

                 Key: WICKET-3693
                 URL: https://issues.apache.org/jira/browse/WICKET-3693
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-core
    Affects Versions: 1.5-RC4
            Reporter: Georg Hendlmeier
            Priority: Trivial


As the dynamic resources where removed from wicket 1.5 maybe it would be better 
that ByteArrayResource does not use its array directly.

I think it would be nicer if it was like DynamicImageResource

attributes.getResponse().write(getImageData(attributes));

for example with getData which defaults to the byte array but can be easily 
overriden

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to