Orbeon forms and jsp

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon forms and jsp

pglm
Hi everybody,

I've got a question. I have an x-forms based application with different forms:

I would like to integrate my xhtml forms in a jsp to handle dynamic properties
but as I am a newbie at webapp so i don't know:

1-How I sould integrate my xhtml code in a jsp?
2-Where should I put the jsp files (/apps or /xforms-jsp?)
3-How I should call this jsp from a client browser? directly: /.../myform.jsp

Moreover I would like my jsp files to communicate. Is it the solution?

form1.jsp : <xf:submission action="form2.jsp"/> etc.

I am aware there is something really fundamental I miss....

Thanks a lot for your help!

pglm


Bye


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon forms and jsp

Alessandro Vernet
Administrator
On Thu, May 22, 2008 at 8:47 AM,  <[hidden email]> wrote:
> 1-How I sould integrate my xhtml code in a jsp?
> 2-Where should I put the jsp files (/apps or /xforms-jsp?)
> 3-How I should call this jsp from a client browser? directly: /.../myform.jsp
>
> Moreover I would like my jsp files to communicate. Is it the solution?
>
> form1.jsp : <xf:submission action="form2.jsp"/> etc.

If you would like to produce XForms from a JSP, and implement services
(that you call from XForms submissions) with JSP as well, then you are
in luck: check the two examples in the xforms-jsp directory, inside
the Orbeon Forms war file.

The name of the directory can be whatever you choose but you must make
sure that it goes through the XForms filter. This is configured in
web.xml (look for <filter-mapping>), and with the web.xml that comes
by default with Orbeon Forms, everything under xforms-jsp will go
through the filter.

I hope this helps,

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws