DynamicImageResource shouldn't be that lazy
-------------------------------------------
Key: WICKET-3935
URL: https://issues.apache.org/jira/browse/WICKET-3935
Project: Wicket
Issue Type: Improvement
Components: wicket-core
Affects Versions: 1.5-RC5.1
Reporter: Martin Grigorov
Assignee: Martin Grigorov
Fix For: 1.5-RC6
Currently DynamicImageResource asks for the image data in
WriteCallback#write(Attributes). This is a bit too late because there is no way
to say "there is no image".
I'm suggesting to move the call to getImageData() a bit earlier so if it
returns null then 404 is returned.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira