Hmm.. IIRC if you dont specify a pattern to a PatternRoute, all route nodes will be required, so you'll achieve exactly what your boss wants.
On Mon, Nov 9, 2009 at 2:50 PM, Jan Limpens <[email protected]> wrote: > Hello! > > for my FooController/BarAction(string val) I have this routing: > > "/foo/bard/<val>" > > Now my boss enters and tells me: "For the val 'xyz', I want this other > routing '/my-wonderful-routing-for-xyz' and for 'abc', I want > '/this-is-a-nice-abc', the rest is nice the way it is." > > And I have no good idea how to implement this easily. I miss a way in > PatternRoute to pass in a parameter and this makes sense - because it is a > PatternRoute it expects a pattern, not something concrete. Is there an easy > way to implement something like a ConcreteRule, or do I have to do this all > by myself? > > -- > Jan > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google Groups > "Castle Project Users" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<castle-project-users%[email protected]> > For more options, visit this group at > http://groups.google.com/group/castle-project-users?hl=en > -~----------~----~----~----~------~----~------~--~--- > > -- Cheers, hammett http://hammett.castleproject.org/ -- You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=.
