[
http://team.andromda.org:8080/jira/browse/BPM-113?page=comments#action_10451 ]
Carlos Cuenca commented on BPM-113:
-----------------------------------
here is a patch...
? cartridges/andromda-bpm4struts/src/templates/StrutsUseCaseJspHelp.vsl
Index: cartridges/andromda-bpm4struts/src/META-INF/andromda-cartridge.xml
===================================================================
RCS file:
/cvsroot/andromda/cartridges/andromda-bpm4struts/src/META-INF/andromda-cartridge.xml,v
retrieving revision 1.67
diff -u -r1.67 andromda-cartridge.xml
--- cartridges/andromda-bpm4struts/src/META-INF/andromda-cartridge.xml 19
Nov 2004 18:23:28 -0000 1.67
+++ cartridges/andromda-bpm4struts/src/META-INF/andromda-cartridge.xml 24
Nov 2004 15:07:32 -0000
@@ -405,7 +405,16 @@
<modelElement stereotype="FrontEndView"/>
</modelElements>
</template>
-
+ <template
+ path="templates/StrutsUseCaseJspHelp.vsl"
+ outputPattern="$generatedFile"
+ outlet="pages"
+ overwrite="true"
+ generateEmptyFiles="false">
+ <modelElements variable="useCase">
+ <modelElement stereotype="FrontEndUseCase"/>
+ </modelElements>
+ </template>
<template
path="templates/StrutsApplicationHelp.vsl"
outputPattern="application-help.jsp"
Index: cartridges/andromda-bpm4struts/src/templates/StrutsApplicationHelp.vsl
===================================================================
RCS file:
/cvsroot/andromda/cartridges/andromda-bpm4struts/src/templates/StrutsApplicationHelp.vsl,v
retrieving revision 1.1
diff -u -r1.1 StrutsApplicationHelp.vsl
--- cartridges/andromda-bpm4struts/src/templates/StrutsApplicationHelp.vsl
22 Aug 2004 14:04:56 -0000 1.1
+++ cartridges/andromda-bpm4struts/src/templates/StrutsApplicationHelp.vsl
24 Nov 2004 22:43:00 -0000
@@ -17,7 +17,11 @@
<bean:message key="$applicationUseCase.onlineHelpKey"/>
</p>
#foreach ($useCase in $applicationUseCase.allUseCases)
- <h2><bean:message key="$useCase.titleKey"/></h2>
+ <h2>
+${indent} <a href="${useCase.fullyQualifiedNamePath}_help.jsp">
+${indent} <bean:message key="$useCase.titleKey"/>
+${indent} </a>
+ </h2>
<p>
<bean:message key="$useCase.onlineHelpKey"/>
</p>
Index: cartridges/andromda-bpm4struts/src/templates/StrutsJspHelp.vsl
===================================================================
RCS file:
/cvsroot/andromda/cartridges/andromda-bpm4struts/src/templates/StrutsJspHelp.vsl,v
retrieving revision 1.3
diff -u -r1.3 StrutsJspHelp.vsl
--- cartridges/andromda-bpm4struts/src/templates/StrutsJspHelp.vsl 24 Aug
2004 01:40:15 -0000 1.3
+++ cartridges/andromda-bpm4struts/src/templates/StrutsJspHelp.vsl 25 Nov
2004 00:24:32 -0000
@@ -59,6 +59,9 @@
</logic:present>
#end
#end
+<a href="<html:rewrite
page="/${jsp.useCase.fullyQualifiedNamePath}_help.jsp"/>">
+Back
+</a>
</tiles:put>
</tiles:insert>
> Help improvement
> ----------------
>
> Key: BPM-113
> URL: http://team.andromda.org:8080/jira/browse/BPM-113
> Project: Bpm4Struts Cartridge
> Type: Improvement
> Reporter: Carlos Cuenca
> Assignee: Wouter Zoons
> Attachments: StrutsUseCaseJspHelp.vsl
>
>
> Hi,
> I had been reading the generated help menu of an application from the
> Bpm4Struts cartridge and I think it could be improved to a robust application
> help menu if we could navigate between diferent help pages:
> For example, now when the main menu help is opened, you can just access the
> use cases help. This could be improved if each use case could have a link to
> a "index help menu" of the use case in which you can access all the actions
> help screens of that use Case.
> Each action use case could also have a link to the index help menu so you can
> navigate over diferent actions of diferent use cases.
> Carlos
--
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