ok my first app produce html the second one produce vxml we have been forced to hack the VelocityECSLayout class because the method "doBuild" makes the enclosing tags "<html>" and "</html>" from the data.getPage()
as i have to answers some times with vxml, sometimes with html, i have to have 2 layouts (which i can only configure one in the TR.p) and also 2 rundatas (idem). the TR.p let only me to configure 1 of each then i 'm forced to have 2 webapps. but alas the two apps have to modify a shared disk space. --- Rodney Schneider <[EMAIL PROTECTED]> a �crit�: > On Mon, 7 Oct 2002 18:52, you wrote: > > > > the two servlets answers, one w/ html and the other w/ vxml > > > > > > if we can chose for each screen if it is html or vxml then we > could > > > have all run in one servlet. > > > > The Turbine servlet was designed to handle multiple output types, > so you > > will > > be able to do this with a single servlet. See some of the services > that > > come > > with Fulcrum: > > > > http://jakarta.apache.org/turbine/fulcrum/ > > > > In particular, see Template Service, Velocity Service, JSP Service > and > > XSLTService. They will give you a good idea of how to proceed. > > > > RPI> ican not use fulcrum as the choice to use the 2.1 version of > > turbine is made by some "choosers" upon me in the hierarchie. (as > 2.1 is > > "stable" and 2.2 not yet realeased.) > > In Turbine 2.1 you can still write your own Turbine Services; see the > > services in the org.apache.turbine.services package. Also see: > http://jakarta.apache.org/turbine/turbine-2/services.html > > > RPI> and 2.1 defines the rundata and we patched the rundata for it > to > > produce vxml with '<vxml>' tag instead of '<html>' tag. in > turbine2.1 > > the choice of the vxml or html page is in the rundata. > > I am not sure what you mean when you say that RunData produces the > tags. It > would be good if you could describe your architecture in more > detail... Are > you using Velocity templates to produce your html and vxml output? > Or do use > XML and then XSLT to produce the final vxml and html output? Or are > you > using Turbine Screen classes to directly produce the output? > > Regards, > > -- Rodney > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > ===== ------------------------------------ | Rapha�l Pi�roni | | 33+ 223 351 354 | | mailto:[EMAIL PROTECTED] | | http://www.dexem.com | | mailing:[EMAIL PROTECTED] | ------------------------------------ ___________________________________________________________ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran�ais ! Yahoo! Mail : http://fr.mail.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
