[ http://jira.andromda.org/browse/BPM-116?page=history ]
Wouter Zoons closed BPM-116:
----------------------------
Resolution: Fixed
just use the existing @andromda.struts.action.type=image tagged value on event
transitions working on a table, an entry for the image will be rendered but the
image itself will be missing since I currently can't copy/rename resources
within a cartridge
the url for the image is looked up in a resource bundle and will be resolved
against the contextPath
> Images and image-links
> ----------------------
>
> Key: BPM-116
> URL: http://jira.andromda.org/browse/BPM-116
> Project: Bpm4Struts Cartridge
> Type: Improvement
> Versions: 3.0 M3
> Reporter: Matthias KÃspert
> Assignee: Wouter Zoons
> Fix For: 3.0 RC2
>
> The problem:
> I have an incoming collection and want to show all entries
> with their names as link to a 'edit' action - no problem so far.
> Now I want to have the names as normal text and add an 'edit'-image
> to each row which links to the action.
> (Just as background info: the next step will be: having more of these
> images in each row which link to different actions for that row like:
> edit, delete, add-something, etc., but this is a separate problem to be
> solved ;-)
> Possible solution:
> I think this would be possible to model by re-setting the 'view.field.type'
> tagged value to 'text' for the name-parameter and add a new parameter
> 'picture' which has the type set to 'image' or 'image-link'.
> This new parameter does not really need the 'tablelink' tagged value.
> Bpm4struts just needs to detect that it is of type 'image' and then generate
> the HTML-tags for it.
> When the JSP is generated, the image-resources are loaded via entries in the
> application-resources, maybe with a key like:
> ....param.<name>.image=<file-name>
> Depending on the type just the plain image is rendered, or, in case of
> image-links, a link-tag is put around it.
> Would that work without breaking anything?
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Andromda-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-devel