cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mauro Daniel Ardolino <ma...@altersoft.com.ar>
Subject XMLForms and Java (repost)
Date Mon, 04 Nov 2002 17:37:56 GMT
Hi all!
I'm sending this questions again because I'm still looking the answers.

Thanks a lot and sorry for the repost.

Mauro

---------- Forwarded message ----------
Date: Fri, 1 Nov 2002 12:42:40 -0300 (ARST)
From: Mauro Daniel Ardolino <mauro@altersoft.com.ar>
Reply-To: cocoon-users@xml.apache.org
To: cocoon-users@xml.apache.org
Subject: 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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message