XMLForms and Java (repost)
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 [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForms and Java (repost)
I'm sending this questions again because I'm still looking the answers. oops...looking FOR 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 [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForms and Java
good point. Would you like to submit a patch? - Original Message - From: Mauro Daniel Ardolino [EMAIL PROTECTED] To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: XMLForms and Java
[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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Ing.Mauro Daniel Ardolino Departamento de Desarrollo y Servicios Altersoft Billinghurst 1599 - Piso 9 C1425DTE - Capital Federal Tel/Fax: 4821-3376 / 4822-8759 mailto: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]