You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Paul Russell (JIRA)" <ji...@apache.org> on 2006/10/16 20:23:35 UTC
[jira] Created: (WICKET-5) Support for Resources and
ResourceReferences in Image models
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
[jira] Closed: (WICKET-5) Support for Resources and
ResourceReferences in Image models
Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WICKET-5?page=all ]
Eelco Hillenius closed WICKET-5.
--------------------------------
> 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
[jira] Updated: (WICKET-5) Support for Resources and
ResourceReferences in Image models
Posted by "Paul Russell (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (WICKET-5) Support for Resources and
ResourceReferences in Image models
Posted by "Eelco Hillenius (JIRA)" <ji...@apache.org>.
[ http://issues.apache.org/jira/browse/WICKET-5?page=all ]
Eelco Hillenius resolved WICKET-5.
----------------------------------
Resolution: Fixed
> 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