I saw the stereotype <<FrontEndException>> in 
http://team.andromda.org/docs/andromda-bpm4struts-cartridge/howto2.html#Transitions
 and I try to apply it. The case is pretty simple : I'd like to display a more 
friendly message than the default "Batch entry 0 delete from PROFILE where ID= 
was aborted. Call getNextException() to see the cause. (java.lang.Exception)" 
when i could not delete a row in a table.



Of course, I have a few problems ...



1) the validation tells me i have to direct this exception transition to a 
<<FrontEndView>>, but I'd like to reload the table data at the same time. How 
is that possible ?

2) I try to display my message using the 
"andromda.struts.action.warning.message" tagged value, but it is not displayed.



Am I going on the right path, or should I catch the exception in my service ? 
In this case, how should I display the warning message ? And most important, 
how should I translate it. I dont have the ApplicationResources.properties in 
the core module. Is there a pattern for this kind of exception ?



Thanks a lot for your help !
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=989#989
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to