Hi!
I'm working on a Java/JSF/JSP/Servlet-Web application using Orbeon as XForms Engine. It works so far (with plain xforms) and my JSPs in the xforms-jsp-folder are rendered by Orbeon. My plan is to build my xforms in the Orbeon form builder, copy the xforms source from there to eclipse and save the form to my application in eclipse. But unfortunately this doesn't work as the orbeon xforms engine always shows me error messages when it tries to render this form-builder-xform-files ("Orbeon Forms - An Error has Occurred"). What am I doing wrong? Isn't it possible to use the form builder forms from a jsp application?? Thanks for your help in advance and best regards! jsv |
ok, i just found out, that the form builder forms will not work because there are those fr:* elements. good, but do you maybe know another solution for building forms which will work from my jsp application?
I tried to build froms with the xfroms editor in intalio community edition, but those don't wore either with orbeon ;( please help! ;) thanks! |
Administrator
|
That's right: the fr:* elements are part of Form Runner, and forms
that you produce from a JSP are not going through Form Runner. But I am not sure what problem you are trying to solve by using separate deployment. I.e.: what would be the difference compared to letting Form Runner run the show, and having the forms stored in eXist or another persistence layer? Alex On Thu, Mar 11, 2010 at 1:43 PM, jsv <[hidden email]> wrote: > > ok, i just found out, that the form builder forms will not work because there > are those fr:* elements. good, but do you maybe know another solution for > building forms which will work from my jsp application? > I tried to build froms with the xfroms editor in intalio community edition, > but those don't wore either with orbeon ;( > > please help! ;) > > thanks! > -- > View this message in context: http://n4.nabble.com/Orbeon-Form-Builder-Forms-not-working-in-a-JSP-Application-tp1589775p1589791.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
I want to use xforms together with freemarker. thats a template solution and I would like to use this to fill my forms with data from previous forms.
because of this I use the separate deployment. I have no experience with eXist.... |
Administrator
|
Julian,
So if I understand what you are saying, you would like to mix XForms and FreeMarker markup; is that right? Or are you using FreeMarker to "decorate" the form and add things "around" the form? Alex On Fri, Mar 12, 2010 at 12:25 AM, jsv <[hidden email]> wrote: > > I want to use xforms together with freemarker. thats a template solution and > I would like to use this to fill my forms with data from previous forms. > because of this I use the separate deployment. > > I have no experience with eXist.... > -- > View this message in context: http://n4.nabble.com/Orbeon-Form-Builder-Forms-not-working-in-a-JSP-Application-tp1589775p1590250.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hey Alex,
I just use Freemarker to fill the instace data of my xforms. Here is an example (important is the line with the !!!!!): <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xf="http://www.w3.org/2002/xforms"> <head> <title>XForms inputs with labels</title> <xf:model> <xf:instance xmlns=""> <data> <name>${name}</name> !!!!!! </data> </xf:instance> </xf:model> </head> <body> <xf:input ref="name" incremental="true"> <xf:label>Input Name:</xf:label> </xf:input> </body> </html> The reason why I want to do it like that is, that the data come from jBPM (it's a Java workflow engine). There the process data is stored in a Java Map and Freemarker uses Maps aswell. So its very easy to get my jBPM data in a xform with freemarker. I hope my idea isn't crazy :D Julian |
Administrator
|
Julian,
I understand. If you want to do this with Form Runner, instead of generating the whole form in your separate app, you could just generate the instance. So you would have a "service" which just generate the instance written with FreeMarker, and you would be calling it from Form Runner as a service to load the initial instance. Would this make sense? Alex On Sat, Mar 13, 2010 at 9:35 AM, jsv <[hidden email]> wrote: > > Hey Alex, > > I just use Freemarker to fill the instace data of my xforms. > Here is an example (important is the line with the !!!!!): > > <html > xmlns="http://www.w3.org/1999/xhtml" > xmlns:xf="http://www.w3.org/2002/xforms"> > <head> > <title>XForms inputs with labels</title> > <xf:model> > <xf:instance xmlns=""> > <data> > <name>${name}</name> !!!!!! > </data> > </xf:instance> > </xf:model> > </head> > <body> > <xf:input ref="name" incremental="true"> > <xf:label>Input Name:</xf:label> > </xf:input> > > </body> > </html> > > > The reason why I want to do it like that is, that the data come from jBPM > (it's a Java workflow engine). There the process data is stored in a Java > Map and Freemarker uses Maps aswell. So its very easy to get my jBPM data in > a xform with freemarker. > > I hope my idea isn't crazy :D > > Julian > -- > View this message in context: http://n4.nabble.com/Orbeon-Form-Builder-Forms-not-working-in-a-JSP-Application-tp1589775p1591763.html > Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com. > > > -- > 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 > > -- Orbeon Forms - Web forms, open-source, for the Enterprise - http://www.orbeon.com/ My 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
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Free forum by Nabble | Edit this page |