--- Rodney Schneider <[EMAIL PROTECTED]> a �crit�: > 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.

no misenderstanding, i need only one app, i though using two as i used
the ecslayout.

what kind of difference are between the ecs and the only layouts ?
> 
> 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]>

Reply via email to