You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by secam secam <se...@yahoo.fr> on 2004/09/27 14:54:19 UTC

Tapestry and xml

hi,
 
With tapestry, I create special forms (xml format) files that are understable by a special browser (browser+plugins)
 
My first question is :
Is it possible to change the mime type in tapestry?
 
And the second one: 
 
The submission with this browser is made in an xml stream.
 
If my client side returns the data of a form in a xml stream, is it possible to understand it in tapestry as an answer ? 
 
Thanks,
 
Pierre-Alexandre

		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !

Re: Tapestry and xml

Posted by secam secam <se...@yahoo.fr>.
Thanks, 
 
I have try to change my mime type,
 here is what i made :
 
public class XMLPage extends AbstractPage{
 
public ImarkupWriter getResponseWriter(OutputStream out){
     return new HTMLWriter("application/vnd.oracle.xhtml+xforms",getOuputEncoding(),out);
}
}

This does not work
 
When i try to access my page that extends XMLPage the browser always search
 
Thanks for help
 
Pierre-Alexandre

Howard Lewis Ship <hl...@gmail.com> wrote:
Yes, by creating your own base IPage class (a new subclass of AbstractPage).

Yes, by creating your own engine service.


On Mon, 27 Sep 2004 14:54:19 +0200 (CEST), secam secam
wrote:
> hi,
> 
> With tapestry, I create special forms (xml format) files that are understable by a special browser (browser+plugins)
> 
> My first question is :
> Is it possible to change the mime type in tapestry?
> 
> And the second one:
> 
> The submission with this browser is made in an xml stream.
> 
> If my client side returns the data of a form in a xml stream, is it possible to understand it in tapestry as an answer ?
> 
> Thanks,
> 
> Pierre-Alexandre
> 
> 
> ---------------------------------
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail
> 
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
> 



-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !

Re: Tapestry and xml

Posted by secam secam <se...@yahoo.fr>.
Thanks, 
 
I have try to change my mime type,
 here is what i made :
 
public class XMLPage extends AbstractPage{
 
public ImarkupWriter getResponseWriter(OutputStream out){
     return new HTMLWriter("application/vnd.oracle.xhtml+xforms",getOuputEncoding(),out);
}
}

This does not work
 
When i try to access my page that extends XMLPage the browser always search
 
Thanks for help
 
Pierre-Alexandre

Howard Lewis Ship <hl...@gmail.com> wrote:
Yes, by creating your own base IPage class (a new subclass of AbstractPage).

Yes, by creating your own engine service.


On Mon, 27 Sep 2004 14:54:19 +0200 (CEST), secam secam
wrote:
> hi,
> 
> With tapestry, I create special forms (xml format) files that are understable by a special browser (browser+plugins)
> 
> My first question is :
> Is it possible to change the mime type in tapestry?
> 
> And the second one:
> 
> The submission with this browser is made in an xml stream.
> 
> If my client side returns the data of a form in a xml stream, is it possible to understand it in tapestry as an answer ?
> 
> Thanks,
> 
> Pierre-Alexandre
> 
> 
> ---------------------------------
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail
> 
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
> 



-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org




		
---------------------------------
Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
Créez votre Yahoo! Mail

Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !

Re: Tapestry and xml

Posted by Howard Lewis Ship <hl...@gmail.com>.
Yes, by creating your own base IPage class (a new subclass of AbstractPage).

Yes, by creating your own engine service.


On Mon, 27 Sep 2004 14:54:19 +0200 (CEST), secam secam
<se...@yahoo.fr> wrote:
> hi,
> 
> With tapestry, I create special forms (xml format) files that are understable by a special browser (browser+plugins)
> 
> My first question is :
> Is it possible to change the mime type in tapestry?
> 
> And the second one:
> 
> The submission with this browser is made in an xml stream.
> 
> If my client side returns the data of a form in a xml stream, is it possible to understand it in tapestry as an answer ?
> 
> Thanks,
> 
> Pierre-Alexandre
> 
> 
> ---------------------------------
> Créez gratuitement votre Yahoo! Mail avec 100 Mo de stockage !
> Créez votre Yahoo! Mail
> 
> Le nouveau Yahoo! Messenger est arrivé ! Découvrez toutes les nouveautés pour dialoguer instantanément avec vos amis.Téléchargez GRATUITEMENT ici !
> 



-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org