[
https://issues.jboss.org/browse/FORGE-447?page=com.atlassian.jira.plugin....
]
Pete Muir commented on FORGE-447:
---------------------------------
People often have a domain model that includes some "rich media" representation
(e.g. sound, image, video). These aren't delivered "inline" with the html,
but instead served up separately, using a separate source to provide access, e.g. a
servlet or rest resource. It's quite a lot of work to code up a solution for this, and
Forge could easily generate the infra for doing this. I was imagining annotating an entity
field of type URL, File, String or Object @MediaType(IMAGE) and then Forge being able to
generate the servlet to serve up the image, and embedding the relevant code in the JSF
view.
Support for media types
-----------------------
Key: FORGE-447
URL:
https://issues.jboss.org/browse/FORGE-447
Project: Forge
Issue Type: Feature Request
Components: Scaffold
Reporter: Pete Muir
Assignee: Richard Kennard
Often a data model will include a reference to a media type, such as a photo. It would be
good for Forge to scaffold at least the output of this based on the media type. Common
types would include images (most important), video and sound.
Considerations include that often the media object is actually referred to by a URL, and
not stored in the database, however this is not always true.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira