On Tue, 8 Oct 2002 19:45, you wrote:
> 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()
If you use VelocityOnlyLayout, no tags are added to the page.
VelocityECSLayout was designed for producing HTML output.
> 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).
You should never need 2 RunDatas. You can write your own subclass of
DefaultTurbineRunData if you need to add custom functionality to it.
However, the default RunData implementation is fine for most applications.
Just call $data.setContentType("text/vxml") at the top of your VXML
templates. I think that should work...
> 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.
I am pretty sure you only need one webapp, unless I am misunderstanding
something.
Regards,
-- Rodney
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>