[ http://issues.apache.org/jira/browse/WICKET-5?page=all ]
Paul Russell updated WICKET-5: ------------------------------ Attachment: wicket-1.x-image-model-resource.diff > Support for Resources and ResourceReferences in Image models > ------------------------------------------------------------ > > Key: WICKET-5 > URL: http://issues.apache.org/jira/browse/WICKET-5 > Project: Wicket > Issue Type: Improvement > Components: wicket > Affects Versions: 1.2.2 > Reporter: Paul Russell > Priority: Minor > Attachments: wicket-1.x-image-model-resource.diff > > > Attached patch provides the ability to embed Resources and ResourceReferences > within the models supplied to Image components. If the model object does is > not an instance of Resource or ResourceReference, then the existing behaviour > is unchanged (i.e. the resource object is converted to a string, and used to > try and load the resource). > Modifications: > * Added support to LocalizedImageResource > * Added two additional images to the wicket-examples/images, using a > ResourceReference and a Resource embedded within a Model. > An mvn clean compile install succeeds, and the example images are rendered > successfully. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira