Hi Andreas, Have a look at this: http://jira.springframework.org/browse/SWF-1026 This is a SWF feature: in a parent registry you cannot reference (sub)flows in child registry.
This is what happens in our case: generated/flows/milkyway/listPlanet/listPlanet-flow.xml (parent registry) tries to reference flows/milkyway/updatePlanet/updatePlanet-flow.xml (child registry). So we are somehow constrained here by spring webflow. The simplest workaround I see is to set gap on ListTask as well and to copy the listPlanet-flow.xml in the WEB-INF/flows directory, making it available in the child registry. Yannick Andreas Källberg-2 wrote: > > Hi, > I have been able to reproduce your problem and I agree, it is very > strange. > I haven't done any 'deep debugging' (yet) so I can't say what's wrong, but > I > think you are on the right track with the your context idea. > I don't know how much time I will be able to put on it at the moment, but > as > soon as I have a slot in the schedule I'll pick it up again. > If you get any further, please notice so we don't solve the same problem. > > peace.../Andreas > > 2009/8/14 Andreas Källberg <andreas.kallb...@gmail.com> > >> Hi,To answer your question right away; No, not without trying it out my >> self. >> And I don't have the right tools to try it right now (out traveling), but >> as soon as possible I'll check it out. >> >> Further. With the upgrade to webflow2 there are much better possibilities >> to extend flows, i.e. much easier to have one generated part and one gap >> part. Though, these things still remains a little bit un-tested. The >> upgrade >> resulted in a lot of changes and we hade to remove some functionality as >> well. >> We have planded to have some examples and write some stuff about >> customization of flows but havn't hade the time yet. But it will be there >> soon. >> >> So, your work is realy interesting to us. Keep it up, we will help you as >> much as we can. >> >> peace.../Andreas >> >> >> On Thu, Aug 13, 2009 at 10:43 AM, ylizzi <yannick.li...@gmail.com> wrote: >> >>> >>> Hi, >>> >>> I would like to report a strange problem with flow definitions when >>> trying >>> to customize the web flown (xx-flow.xml file) for UpdateTask. >>> >>> Starting from helloworld example: if I set gap keyword on ListTask or on >>> CreateTask, I can customize the listPlanet-flow.xml and >>> createPlanet-flow.xml in webapp/flows, everything works fine. I can even >>> remove the generated ones so that I'm sure the customized ones are used. >>> If I set gap only for UpdateTask, the customized updatePlanet-flow.xml >>> is >>> not taken into account. If the genereated file is removed, I get the >>> error >>> : >>> "System error >>> >>> (org.springframework.webflow.definition.registry.NoSuchFlowDefinitionException), >>> caused by: No flow definition 'milkyway/updatePlanet' found" >>> >>> To make it works, I have to set gap on ListTask AND copy the generated >>> listPlanet-flow.xml in webapp/flows. >>> >>> I've created another web application, where the create funcationality is >>> accessible on the list page and I get the same problem with >>> gap/CreateTask. >>> So, it seems to be a matter of flow context, but I don't understand why. >>> The >>> webflow config seems to be OK. I've also traced the content of >>> flowRegistry >>> and flowRegistryGenerated: they contain the right keys. >>> >>> Any idea? >>> >>> Yannick >>> >>> >>> -- >>> View this message in context: >>> http://www.nabble.com/Flow-navigation-problem-when-using-gap-for-UpdateTask-tp24951159s17564p24951159.html >>> Sent from the Fornax-Platform mailing list archive at Nabble.com. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >>> 30-Day >>> trial. Simplify your report design, integration and deployment - and >>> focus >>> on >>> what you do best, core application coding. Discover what's new with >>> Crystal Reports now. http://p.sf.net/sfu/bobj-july >>> _______________________________________________ >>> Fornax-developer mailing list >>> Fornax-developer@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/fornax-developer >>> >> >> > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Fornax-developer mailing list > Fornax-developer@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/fornax-developer > > -- View this message in context: http://www.nabble.com/Flow-navigation-problem-when-using-gap-for-UpdateTask-tp24951159s17564p25014526.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer