Up vote 1 down vote favorite 2 share g+ share fb share tw.
I have this grails webflow def currencyDescriptionFlow = { start { action { flow. MessageCommand = new MessageCommand() flow. CurrencyId = params.
Id flow. LanguageList = Language. FindAll(sort: 'codeDescription', order: 'asc') } on('success').
To('description') } description{ action{ flow. DescriptionMessageList = Message. FindAllByKey(flow.
CurrencyId + '_Currency') } on('add'). To('addSubmit') on('finish'). To('currencyShow') } addSubmit{ action { MessageCommand cmd -> flow.
MessageCommand = cmd if (!flow.messageCommand.validate()){ error() } } on('error'). To('description') on('success'). To('description') } saveMessage{ action{ def str = flow.
CurrencyId + '_Currency' messageSevice. DescriptionMultiLanguage(str, params. Description, params.
Language) } on('error'). To('description') on('success'). To('description') } currencyShow{ redirect(controller:'currency', action: "show", id: flow.
CurrencyId) } } when I click the link to redirect to this page, ann error occurs Error 500: No transition was matched on the event(s) signaled by the 1 action(s) that executed in this action state 'description' of flow 'message/currencyDescription'; transitions must be defined to handle action result outcomes -- possible flow configuration error? Note: the eventIds signaled were: 'array 'success'', while the supported set of transitional criteria for this action state is 'arrayadd, finish' Servlet: grails URI: /adm-appserver-manager/grails/message/currencyDescription. Dispatch Exception Message: No transition was matched on the event(s) signaled by the 1 action(s) that executed in this action state 'description' of flow 'message/currencyDescription'; transitions must be defined to handle action result outcomes -- possible flow configuration error?
Note: the eventIds signaled were: 'array 'success'', while the supported set of transitional criteria for this action state is 'arrayadd, finish' Caused by: No transition was matched on the event(s) signaled by the 1 action(s) that executed in this action state 'description' of flow 'message/currencyDescription'; transitions must be defined to handle action result outcomes -- possible flow configuration error? Note: the eventIds signaled were: 'array'success'', while the supported set of transitional criteria for this action state is 'arrayadd, finish' Class: Unknown At Line: -1 Code Snippet: Note: where language is a table in the database MessageCommand is command object messageService is a service descriptionMultiLanguage method in message service for saving message I try this way of writing code in another action and controoler and it works without any error. By debugging this code I found the error on ( on('add').
To('addSubmit') on('finish'). To('currencyShow') ) when I remove these 2 lines , no problem found grails groovy spring-webflow link|improve this question edited Mar 1 at 10:55skaffman114k8136227 asked Oct 25 '11 at 10:08danny-london62739 86% accept rate.
Def currencyDescriptionFlow = { start { action { flow. MessageCommand = new MessageCommand() flow. CurrencyId = params.
Id flow. LanguageList = Language. FindAll(sort: 'codeDescription', order: 'asc') flow.
DescriptionMessageList = Message. FindAllByKey(flow. CurrencyId + '_Currency') } on('success').
To('description') } description{ on('add'). To('addSubmit') on('finish'). To('currencyShow') } addSubmit{ action { MessageCommand cmd -> flow.
MessageCommand = cmd if (!flow.messageCommand.validate()){ error() } flow. Message = null } on('error'). To('description') on('success').
To('saveMessage') } saveMessage{ action{ Message messageInstance = new Message(language:flow.messageCommand. Language,value:flow.messageCommand. Value,key:flow.
CurrencyId + '_Currency') if (!messageInstance. Save(flush:true)){ flow. Message = "${message(code: 'error.adding.
Description')}" error() } flow. DescriptionMessageList = Message. FindAllByKey(flow.
CurrencyId + '_Currency') } on('error'). To('description') on('success'). To('description') } currencyShow{ redirect(controller:'currency', action: "show", id: flow.
CurrencyId) } }.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.