Hello, Well I tried to integrate Struts into the Jahia request processing as a workaround. Currently, I am able to process a simple Action with a ActionForm using a "NestedRequestProcessor". I am able to access the complete JahiaData in the request inside the Action and the processor is forwarding to the Jahia page containing the form (if the form does not validate). I will continue to work on that and hope this is something I can contribute (if it is working ;).
Greetings Robert Gacki -------------------------[Robert Gacki]------------------------ mail: [EMAIL PROTECTED] tel: +49 09131 97792-0 web : http://www.spiritlink.de fax: +49 09131 9779257 ---- SPIRIT LINK GMBH::PAUL-GORDAN-STR. 13::91052 ERLANGEN ---- -----Ursprüngliche Nachricht----- Von: Robert Gacki [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Januar 2006 10:59 An: [email protected] Betreff: Using Struts forms inside a Jahia request Hello, I have to use Struts actions to process forms. These forms must be defined within templates, surrounded by Jahia content. It is mandatory too, that I am able to pass values to the action defined within the CMS (e.g. e-mail addresses for a mail form). For testing, I defined an action mapping and created a form. But when I use the Strut's html:form tag within the template, the path to the action is not valid: <html:form action="/MyTest"></html:form> Will render: <form action="/jahia/Jahia/MyTest"></form> And not: <form action="/jahia/MyTest(.do)"></form> I searched the documentation and mailing list for this issue, but found nothing. Neither am I allowed to do the form handling using scriptlets, nor have time to build a workaround for the action handling (including form validation, returning to the Jahia content page after submitting (with errors)). Is it possible to use Jahia with Struts this way, at all? What is best practice if it is possible? Greetings Robert Gacki -------------------------[Robert Gacki]------------------------ mail: [EMAIL PROTECTED] tel: +49 09131 97792-0 web : http://www.spiritlink.de fax: +49 09131 9779257 ---- SPIRIT LINK GMBH::PAUL-GORDAN-STR. 13::91052 ERLANGEN ----
