|
Fornax-Platform
Forum |
|
View:
New views
6 Messages
—
Rating Filter:
Alert me
|
|
|
Flow navigation problem when using gap for UpdateTaskHi,
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 |
|
|
Re: Flow navigation problem when using gap for UpdateTaskHi,
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.lizzi@...> wrote:
------------------------------------------------------------------------------ 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@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
|
|
Re: Flow navigation problem when using gap for UpdateTaskHi,
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.kallberg@...> Hi, ------------------------------------------------------------------------------ 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@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
|
|
Re: Flow navigation problem when using gap for UpdateTaskHi 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
|
|
|
Re: Flow navigation problem when using gap for UpdateTaskOk, great work.
Well, we have some thinking to do here to get the customization natural and smooth. I have it on my todo list. Meanwhile, keep up the work and let us know about your progress. If you feel like you have some work that could improve sculptor, let us know and you will be welcome as a commiter. .../Andreas On Mon, Aug 17, 2009 at 11:27 PM, ylizzi <yannick.lizzi@...> wrote:
------------------------------------------------------------------------------ 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@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
|
|
Re: Flow navigation problem when using gap for UpdateTaskHi again Yannick,
I finally got some time to work on this and I think I have solved it fairly good. First. I removed the parent repo approach in favour for just one. That solves the issue you had with a flow in a parent repo couldn't call a flow in a child repo. Now, all flows are registered explicit in the same repo, for example: <webflow:flow-location path="generated/flows/media/createLibrary/createLibrary-flow.xml" id="media/createLibrary"/> Second. If gap is specified on a task, two flows will be generated for that task, for example: <webflow:flow-location path="flows/media/listLibrary/listLibrary-flow.xml" id="media/listLibrary"/> <webflow:flow-location path="generated/flows/media/listLibrary/listLibrary-base.xml" id="media/listLibraryBase"/> And here, the first one will have the second as parent. That was the short story of it. I will update the documentation with example etc in a couple of days. This isn't published as a snapshot yet, if you need it you have to build it from trunk. regards.../Andreas 2009/8/18 Andreas Källberg <andreas.kallberg@...> Ok, great work. ------------------------------------------------------------------------------ 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@... https://lists.sourceforge.net/lists/listinfo/fornax-developer |
| Free embeddable forum powered by Nabble | Forum Help |