Beginner question about Form Builder and XForms Filter

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

Beginner question about Form Builder and XForms Filter

TÓTH Ferenc

We need input forms implemented in XForms in our J2EE application. Previously we’ve used Chiba, later we’ve found Orbeon.

I’ve integrated Orbeon into our application  using Orbeon XForms Filter (separated integration).

 

Our application based on RichFaces and it sometimes needs to get XML input using XForms forms. My solution is:

-          I have a component which can call XForms forms rendering in IFRAME.

-          Every form has only a single submission points to our  XML processor (it’s a simple servlet or XHTML page).

-          This processor pushes collected XML data into our data processing container and performs some RichFaces rendering

 

My prototype application works fine, but we would like to create forms using a form editor.

So my question is:

 

May I use Orbeon XForms Filter to render forms created by Orbeon Form Builder, or these forms can only be launched by Form Runner?

 

I tried it without success.

1.       I’ve created a simple form (1 input field) with Form Builder.

2.       I’ve taken source code under Advanced/Edit Source

3.       I’ve saved source of form into a JSP under xforms-jsp directory.

 

I noticed that forms generated by Orbeon Form Builder have many dependencies to Form Runner (fr tags, variables with $-expressions).

Is my problem because XForms filter communicates with an underlying layer - XForms engine?

 

We just need just a simple XForms form builder, and form rendering we don’t want to run forms in Form Runner runtime.

Is there any solution?

 

Tnx

Ferenc Tóth

 

 



--
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: Beginner question about Form Builder and XForms Filter

Erik Bruchez-3
Ferenc,

> May I use Orbeon XForms Filter to render forms created by Orbeon Form
> Builder, or these forms can only be launched by Form Runner?

The short answer is that no, you can't do this at the moment: forms
created by Form Builder require Form Runner to run.

Now that may sound scary, but Form Runner is "just" a bunch of XForms,
includes, XPL, and XSLT which wraps around such forms. In theory, you
could make them run without Form Runner, but then you would also be
losing a lot of what Form Runner provides.

What you could do is implement a micro-Form Runner: write your own
XSLT transformation to pre-process the fr:* tags into something that
works for you.

-Erik

>
>
>
> I tried it without success.
>
> 1.       I’ve created a simple form (1 input field) with Form Builder.
>
> 2.       I’ve taken source code under Advanced/Edit Source
>
> 3.       I’ve saved source of form into a JSP under xforms-jsp directory.
>
>
>
> I noticed that forms generated by Orbeon Form Builder have many dependencies
> to Form Runner (fr tags, variables with $-expressions).
>
> Is my problem because XForms filter communicates with an underlying layer -
> XForms engine?
>
>
>
> We just need just a simple XForms form builder, and form rendering we don’t
> want to run forms in Form Runner runtime.
>
> Is there any solution?
>
>
>
> Tnx
>
> Ferenc Tóth
>
>
>
>
>
> --
> 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
>
>


--
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: Beginner question about Form Builder and XForms Filter

Erik Bruchez-3
BTW speaking of a micro-Form Runner, we have something that might
inspire you here:

http://github.com/orbeon/orbeon-forms/blob/development/src/resources/apps/xforms-controls/view.xsl

This simple XSLT transformation takes a file produced by Form Runner
and runs it as a standalone file. It currently uses the new fr:tabview
component but you can change this too. Also, it doesn't have any
persistence, error summary, i18n, etc.

-Erik

On Thu, Oct 15, 2009 at 4:11 PM, Erik Bruchez <[hidden email]> wrote:

> Ferenc,
>
>> May I use Orbeon XForms Filter to render forms created by Orbeon Form
>> Builder, or these forms can only be launched by Form Runner?
>
> The short answer is that no, you can't do this at the moment: forms
> created by Form Builder require Form Runner to run.
>
> Now that may sound scary, but Form Runner is "just" a bunch of XForms,
> includes, XPL, and XSLT which wraps around such forms. In theory, you
> could make them run without Form Runner, but then you would also be
> losing a lot of what Form Runner provides.
>
> What you could do is implement a micro-Form Runner: write your own
> XSLT transformation to pre-process the fr:* tags into something that
> works for you.
>
> -Erik
>
>>
>>
>>
>> I tried it without success.
>>
>> 1.       I’ve created a simple form (1 input field) with Form Builder.
>>
>> 2.       I’ve taken source code under Advanced/Edit Source
>>
>> 3.       I’ve saved source of form into a JSP under xforms-jsp directory.
>>
>>
>>
>> I noticed that forms generated by Orbeon Form Builder have many dependencies
>> to Form Runner (fr tags, variables with $-expressions).
>>
>> Is my problem because XForms filter communicates with an underlying layer -
>> XForms engine?
>>
>>
>>
>> We just need just a simple XForms form builder, and form rendering we don’t
>> want to run forms in Form Runner runtime.
>>
>> Is there any solution?
>>
>>
>>
>> Tnx
>>
>> Ferenc Tóth
>>
>>
>>
>>
>>
>> --
>> 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
>>
>>
>


--
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