Hi,
This is actually pretty simple.
In the conf where all the flows are defined there is an entry (the last one)
stating:
<webflow:flow-location-pattern value="/**/*-flow.xml"/>
This means that besides all flows that has explicit declarations you can add
your own where ever you want as long it is inside the web-inf directory. The
important thing is that you name them according to the pattern above
(bar-flow.xml).
As an example, add the flow:
/WEB-INF/flows/foo/bar/bar-flow.xml
And it should be accessible with the url:
.../spring/flows/foo/bar
That is, the directory structure where you place your custom flow will be
reflected in the url.
Hope it helps.
.../Andreas
On Wed, Feb 17, 2010 at 7:45 AM, greatfooty <greatfo...@gmail.com> wrote:
>
> I've created some extra (handcrafted) webflows that i need to use within a
> sculptor generated app - but I can't figure how to have them 'registered'
> as
> is done for all the generated ones inside
> generated/config/webflow-config.xml ?
>
> Obviously i can't include them directly into that file as it gets
> regenerated but i also can't see how to extend that <webflow:flow-registry
> id="flowRegistry" entry elsewhere? I've tried creating another config
> directory directly under WEB-INF and placing a custom version of
> webflow-config.xm in there but its ignored
>
> Also I'm a SpringWebFlow novice %-| so maybe there's some other simple
> technique for doing this?
>
> --
> View this message in context:
> http://old.nabble.com/-Sculptor--Including-custom-spring-webflow--tp27619685s17564p27619685.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
> Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
> http://p.sf.net/sfu/solaris-dev2dev
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer