[ http://team.andromda.org:8080/jira/browse/BPM-116?page=history ] Work on BPM-116 started 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Ãspert > Assignee: Wouter Zoons > > > 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://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 ------------------------------------------------------- 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://productguide.itmanagersjournal.com/ _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
