> -----Original Message-----
> From: Matthias K�spert [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 01, 2004 5:22 PM
> To: [EMAIL PROTECTED]
> Cc: andromda-user
> Subject: RE: [Andromda-user] RE: BPM4Struts modelling question
> 
> Hi Wouter,
> 
> 
> thank you for the fix - the initialization now works fine :-)
> 
> I already have two new problems:
> 
> 1. readonly
> 
>  I tried to make a form-field (artistId of store data()) readonly
>  by setting
> 
> @andromda.struts.view.field.readonly
> 
> to the field-parameter on the outgoing FrontEndEvent-transition. Since
> this didn't work I also tried it on the controller-method-parameter, but
> that didn't work either.
> 
> So where do I have to set this tagged-value?
> 
>
[WZ> ] if you put this tagged value on the action parameter it should be
fine, I tried it with your model and it worked just fine .. 

You should know that JSPs are not overwritten by default (because sometimes
they need a change that can only be done by the user himself) - so it might
be interesting to delete them first before you regenerate
 

> 2. FormFields
> 
>    When I added an additional parameter 'artistSearchPattern' to the
>    transition from 'retrieveArtists' to 'Artist Management' there
>    is no form-field generated in the GetArtistsForm.java. All deriving
>    forms do have that field, but IMO it should be defined in the
>    abstract class to have access in the getArtists() controller method.
> 
>    Am I wrong?.
>
[WZ> ] the GetArtistsForm.java is a form-interface, it is generated from a
controller operation, the fact that there are accessors depends on the
arguments in that operation, so in effect you are required to model that
argument also in the controller operation (named 'getArtists')

That should do the trick, let me know if it does not work because I tried it
here and it all seems to be fine

-- Wouter



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_idU88&alloc_id065&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to