From: Wouter Z. (JIRA) <ji...@an...> - 2005-02-05 03:41:00
|
[ http://team.andromda.org:8080/jira/browse/BPM-116?page=3Dhistory ] =20 Work on BPM-116 stopped by Wouter Zoons > Images and image-links > ---------------------- > > Key: BPM-116 > URL: http://team.andromda.org:8080/jira/browse/BPM-116 > Project: Bpm4Struts Cartridge > Type: Improvement > Reporter: Matthias K=C3=BCspert > Assignee: Wouter Zoons > > > The problem: > =20 > 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.typ= e' tagged value to 'text' for the name-parameter and add a new parameter 'p= icture' which has the type set to 'image' or 'image-link'. > This new parameter does not really need the 'tablelink' tagged value. Bpm= 4struts just needs to detect that it is of type 'image' and then generate t= he 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=3D<file-name> > Depending on the type just the plain image is rendered, or, in case of im= age-links, a link-tag is put around it. > Would that work without breaking anything? --=20 This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://team.andromda.org:8080/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |