[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-993) s:graphicImage should optionally expire images from the session
Pete Muir (JIRA)
jira-events at lists.jboss.org
Thu Mar 29 17:59:14 EDT 2007
[ http://jira.jboss.com/jira/browse/JBSEAM-993?page=all ]
Pete Muir updated JBSEAM-993:
-----------------------------
Fix Version/s: 1.3.0.BETA1
Priority: Major (was: Minor)
So, actually, we really want a way of *easily* serving up images restfully (without having to write a servlet)
My idea here is that you can do something like
<s:graphicImage template="/images/photo.xhtml" />
where photo.xhtml contains
<s:graphicImage xmlns:s="..." value="#{person.photo}">
<s:transformXXX />
</s:graphicImage>
and photo.page.xml contains
<page>
<param name="id" value="#{personHome.id}" />
</page>
which is rendered as
<img src="/images/photo.seam?id=123" />
Though, if through some magic, we can get that as
<img src="/images/photo/123.png" /> or something similar that would be even better
> s:graphicImage should optionally expire images from the session
> ---------------------------------------------------------------
>
> Key: JBSEAM-993
> URL: http://jira.jboss.com/jira/browse/JBSEAM-993
> Project: JBoss Seam
> Issue Type: Bug
> Components: JSF
> Affects Versions: 1.2.0.GA
> Reporter: Pete Muir
> Assigned To: Pete Muir
> Fix For: 1.3.0.BETA1
>
>
> Currently images are expired immediately. Look for s:cache tags to store them in the cache according to cache region settings.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the seam-issues
mailing list