From: Hungerburg <pc...@my...> - 2013-01-25 15:17:57
|
Am 2013-01-25 15:57, schrieb mountainbiker: > Secondly, for a more advance solution, I was having difficulties > daisy-chaining <forwards> in the MVC Framework (like in my original post), > e.g., I don't know how to do something like the following: > > <dispatch xmlns="http://exist.sourceforge.net/NS/exist"> > <forward url="a.xql"> > > </forward> > > > <forward url="b.xql"> > > </forward> > > > <forward url="c.xql"> > > </forward> > > > <view> > > <forward url="d.xql"> > > </forward> > </view> > </dispatch> Beware, I am not an expert, just another user; and also, I never built chaines that long. I may say though, that I do all the chains below the /view/ section, so most of the time, a /dispatch/ has single top-level forward (that points the controller to a resource in the db, <forward url=some.xml>) and then one view (that treats the data, that the first forward provides, <forward servlet=SomeThing>). Does that sound logical? -- peter |