> -----Original Message-----
> From: Matthias K�spert [mailto:[EMAIL PROTECTED]
> Sent: Saturday, October 30, 2004 2:45 PM
> To: Wouter Zoons
> Subject: BPM4Struts modelling question
> 
> Problem 1:
> 
> While I'm perfectly able to pass around data between a FrontEndView and
> Action-States that connect back to the same FrontEndView (i.e.
> allArtists), I got a problem to pass values between two different
> FrontEndViews (i.e. from 'ArtistManagement' to 'edit artist').
> 
> I am able to retrieve the Artists data by Id in 'retrieve artist data',
> but I do not know how to initialize the 'artistFirstName' and
> 'artistFamilyName' fields in 'edit artist'/getArtistData(): the incoming
> parameters are only rendered to the screen instead of initializing the
> text-fields. Is there a way to connect the incoming parameters to these
> fields?
>

[WZ> ] are you saying you are connecting FrontEndViews directly ? Without
any regular action state in between ? This is unfortunately not supported,
the reason is that for every call you need to call an action (which will
eventually forward control to the page) .. this is for reasons of
performance/stability/proper-exception-handling/consistency/maintainability
etc.. 

 
> Problem 2:
> 
> I specified '*' as default value for the search-pattern parameters -
> this is ignored. Is this a feature, a bug, a flaw or a silly question?
> 
[WZ> ] the pattern needs to be a Perl regular expression, not a wildcard (in
your case the pattern matching facility would recognize this '*' as a
cardinality only (like '+', '?', etc..) and that's invalid because it does
not now on what to map it

If you want to support any input you should not specify the pattern anyway
:-)

If you go to the bottom of this page:
http://team.andromda.org/docs/andromda-bpm4struts-cartridge/modeling.html

You will notice the link to:
http://devedge.netscape.com/library/manuals/2000/javascript/1.5/guide/regexp
.html#1010689

That should get you started

Is this what you mean ?




> I tried to solve the problem by looking at the online-store sample, but
> I did not spot a similar scenario - what do yo think to add a 'beginners
> real world' example like this one to the bpm4struts samples?
> 
> 
[WZ> ] yeah we could, but we want also to show as much as possible what you
can do with the cartridge .. I will be updating the documentation in the
next weeks, I'll see what I can do


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_idU88&alloc_id065&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to