You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Mauro Daniel Ardolino <ma...@altersoft.com.ar> on 2002/11/01 16:42:40 UTC

XMLForms and Java

Hi! I've never used XMLForms, but now I'm writting an application that can
have or not a web interface.  I mean that I need to contemplate at least 2
types of clients: e.g. swing guis and web browsers.

So I wrote all the application in Java.  When I need to create a html page
I only ask the objects to show themselves as xml and then in a servlet
apply a TRAX transformation against a xsl file.

Now I want to give some flow logic to the application and I think that
struts or cocoon are a good way to do it.  I red that XMLForms is Struts
based.

Following the idea of having not web clients, I still need to create some
classes to represent the screens or pages and their buttons, fields, and
so on.

So the instances of this classes have to answer to messages like
"asXMLForm".  The difference between the XMLForm example and my
application is that the XMLForm is not a static xml, it must be created on
the fly.

I don't know if this approach will take me much time or not (what do you
think?).

On the other hand: to use XMLForm I have to use cocoon (true or
false?).  If so: how can I tell cocoon to generate a "xmlform" asking
it to a class.  Is there a stream generator?  If so, please tell me how to
use it.

Well, sorry for so many questions.  I'm trying to decide what would be the
best choice.

Thanks in advance.

-- Mauro



-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: XMLForms and Java

Posted by Ivelin Ivanov <iv...@apache.org>.
good point.
Would you like to submit a patch?


----- Original Message -----
From: "Mauro Daniel Ardolino" <ma...@altersoft.com.ar>
To: <co...@xml.apache.org>
Sent: Friday, November 01, 2002 11:40 AM
Subject: Re: XMLForms and Java


> All right! Now I'm up to date with the "XMLForms vs Struts" thread.
> But I still have the same questions (of the previous mail).
>
>
> About XMLForm and Struts:
> May be I had to say "inspired", not "based".
> "The XMLForm framework is inspired by Apache Jakarta Struts and W3C
> XForms."
> This is from: http://xml.apache.org/cocoon/userdocs/concepts/xmlform.html
>
> Thanks.
>
> -- Mauro
>
> On Fri, 1 Nov 2002, Jacob L E Blain Christen wrote:
>
> > [pre-snip]
> > > Now I want to give some flow logic to the application and I think that
> > > struts or cocoon are a good way to do it.  I red that XMLForms is
Struts
> > > based.
> > [post-snip]
> >
> > From what I've read XMLForms IS NOT based on Struts.
> > Take a look at the thread:  XMLForms vs Struts in the archive for this
> > mailing
> > list (the discussion is ongoing).
> >
> > --
> > Jacob
> >
> >
> > ---------------------------------------------------------------------
> > Please check that your question  has not already been answered in the
> > FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> >
> > To unsubscribe, e-mail:     <co...@xml.apache.org>
> > For additional commands, e-mail:   <co...@xml.apache.org>
> >
> >
>
> --
> Ing.Mauro Daniel Ardolino
> Departamento de Desarrollo y Servicios
> Altersoft
> Billinghurst 1599 - Piso 9
> C1425DTE - Capital Federal
> Tel/Fax: 4821-3376 / 4822-8759
> mailto: mauro@altersoft.com.ar
> website: http://www.altersoft.com.ar
>
>
>
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
>
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: XMLForms and Java

Posted by Mauro Daniel Ardolino <ma...@altersoft.com.ar>.
All right! Now I'm up to date with the "XMLForms vs Struts" thread.
But I still have the same questions (of the previous mail).


About XMLForm and Struts:
May be I had to say "inspired", not "based".
"The XMLForm framework is inspired by Apache Jakarta Struts and W3C
XForms."
This is from: http://xml.apache.org/cocoon/userdocs/concepts/xmlform.html

Thanks.

-- Mauro

On Fri, 1 Nov 2002, Jacob L E Blain Christen wrote:

> [pre-snip]
> > Now I want to give some flow logic to the application and I think that
> > struts or cocoon are a good way to do it.  I red that XMLForms is Struts
> > based.
> [post-snip]
> 
> From what I've read XMLForms IS NOT based on Struts.
> Take a look at the thread:  XMLForms vs Struts in the archive for this
> mailing
> list (the discussion is ongoing).
> 
> --
> Jacob
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>
> 
> 

-- 
Ing.Mauro Daniel Ardolino
Departamento de Desarrollo y Servicios
Altersoft
Billinghurst 1599 - Piso 9
C1425DTE - Capital Federal
Tel/Fax: 4821-3376 / 4822-8759
mailto: mauro@altersoft.com.ar
website: http://www.altersoft.com.ar



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: XMLForms and Java

Posted by Jacob L E Blain Christen <ja...@entheal.com>.
[pre-snip]
> Now I want to give some flow logic to the application and I think that
> struts or cocoon are a good way to do it.  I red that XMLForms is Struts
> based.
[post-snip]

>From what I've read XMLForms IS NOT based on Struts.
Take a look at the thread:  XMLForms vs Struts in the archive for this
mailing
list (the discussion is ongoing).

--
Jacob


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>