> Please have a look at the model attached to my previous > message - it is in: > > retrieve Artist Data (=standard action) - retrieves artistXXX values > by artist ID > -> > edit artist (=FrontEndView) - should display the actual artistXXX > values for editing > -> > store artists (=standard action) - should store the evtl. changed > artistXXX values > > where I get the problem to initialize the artisXXX fields in the FEView >
[WZ> ] after looking at your model and generating the code from it locally on my machine I don't really see the problem, but I have some questions which might lead you to the answer you are looking for 1. getArtistData() does not have 'artistFamilyName' as an argument, isn't that one missing ? 2. in the controller implementation class you don't need to cast the forms, you can use the interface directly .. if a field would be missing it means you forgot to model it as an argument to your controller operation 3. from 'retrieve artist data' to 'edit artist' you can omit the parameters on the transition, it is better UML that's true, but bpm4struts will generate jsp code that will display these parameter both as page variables as well as input form fields For the rest it seems to me you did a good job! So basically if you want to 'initialize' the artist values it means implementing 'getArtistData()' (and probably adding an argument in this operation) your JSP _will_ pick it up, don't worry > > If you want to support any input you should not specify the pattern > anyway > > :-) > Sorry, don't get you here? > [WZ> ] we use this tagged value to indicate we want to validate user input on that field, right ? So if you specify '*', presumably to match _any_ input, you can better not specify a tagged value in the first place because that _will_ match any input Bye -- 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_id=5588&alloc_id=12065&op=click _______________________________________________ Andromda-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-user
