[ http://jira.andromda.org/browse/BPM-62?page=comments#action_12199 ]
     
Jordi Torné commented on BPM-62:
--------------------------------

As Wouter comments in BPM-148, JSP files are not XML, and therefore they can't 
be used in XSLT transformation.

I think this issue (an important one) should be rethinked again.

One of these possible solutions needs to be implemented:
1) Instead of generating JSP files, BPM4Struts to generate XML files and then 
to generate JSP from them using XSLT.
2) Using Sunondo's approach.
3) Using a external configuration file (for instance, a XML-based description 
file in the same directory as the resulting JSP page.)


> Patch for new feature to display fields in multiple display areas
> -----------------------------------------------------------------
>
>          Key: BPM-62
>          URL: http://jira.andromda.org/browse/BPM-62
>      Project: Bpm4Struts Cartridge
>         Type: Improvement
>     Reporter: Sunondo Ghosh
>     Assignee: Wouter Zoons
>  Attachments: Screenshot of using multiple display areas feature.jpg, 
> displayareasfeature.zip, example.JPG
>
> I am submitting a new feature for BPM4Struts which will allow fields to be 
> displayed in multiple display areas. Only two changes are needed in the model 
> to use this feature:
> 1. Use the tag @andromda.struts.action.displayareascount
> on the transition to specify the number of display areas on the screen.
> e.g. @andromda.struts.action.displayareascount = 2
> 2. Use the tag @andromda.struts.view.field.displayareaindex
> on the parameter to specify the index of the display area to be used for that 
> parameter.
> e.g. @andromda.struts.view.field.displayareaindex = 1
> The implementation is to use multiple tables based on the the 
> displayareascount within an outer table. Each of the inner tables displays 
> the fields which match its index count.
> I am including the files that were modified for this patch.




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl

Reply via email to