Hi Wouter,

I'm still working  with the CRUD templates, and now I think the things are
going better.

I created a new action state's tagged value "@andromda.struts.form.name",
and all the action states with the same value (in that use case) will be
created in the same jsp, merging the fields, enabling/disabling the fields
as needed and so on. This way the modeler can model the activity
"normally" and the CRUD nature can be added later. What do you think ?

One question: does the StrutsUseCase.getPages() method returns just the
pages of that use case ? 
I created a new template and the following code:

#foreach($page in $class.pages)

returns all the pages of all use cases !

andromda-cartridge.xml
...
    <template
        sheet="templates/StrutsUseCaseJsp.vsl"
        outputPattern="$generatedFile"
        outlet="pages"
        overWrite="true">
        <modelElements variable="class">
            <modelElement stereotype="FrontEndUseCase"/>
        </modelElements>
    </template>
...

Any clues ?

Thanks,

Walter

---------------------------------------------------------------------------
Walter Itamar Mour�o - Diretor de Tecnologia e Projetos - Arcadian S/A
www.arcadian.com.br



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Andromda-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-devel

Reply via email to