Re: Static XForm in separate deployment not working with recent builds

Posted by Erik Bruchez on
URL: https://discuss.orbeon.com/Static-XForm-in-separate-deployment-not-working-with-recent-builds-tp932536p932712.html

Nicolas,

I am trying your example above as a simple JSP in separate deployment,
and it seems to work. I am not ruling out any issue of course.

Did you copy the new orbeon-xforms-filter.jar to your app?

-Erik

On Tue, Dec 1, 2009 at 12:56 PM, npujol73 <[hidden email]> wrote:

>
> hi,
>
>  I've tried the 11/25 and 12/01 builds and a simple xform (which works when
> dropped in orbeon.war/xforms-jsp) and is NOT working in a separate
> deployment. Note that it DOES work with an earlier build from back in
> september. There is no error in the console and it appears the request is
> being forwarded to orbeon as I am seeing the ProcessService spitting out
> some log entries. On the UI end, I can see a white page that at the top
> shows the "You may want to try one of the following" etc... message (though
> not in a popup as i have seen before), followed by my munbled form.
>
> I am running on JBOSS 4.0.2 on top lof linux ubuntu.
>
>  I am confident that my web.xml is correct (as I have not changed it). Here
> are  relevant snippets from web.xml file for reference. Any thoughts? Could
> it be related to the bug that was fixed by Eric in yesterday's build? That
> should have made in 12/01 build though....
>
> .....
>      <filter>
>                <filter-name>orbeon-xforms-filter</filter-name>
>                <filter-class>org.orbeon.oxf.servlet.OrbeonXFormsFilter</filter-class>
>                <init-param>
>                        <param-name>oxf.xforms.renderer.context</param-name>
>                        <param-value>/orbeon</param-value>
>                </init-param>
>        </filter>
>        <filter-mapping>
>                <filter-name>orbeon-xforms-filter</filter-name>
>                <url-pattern>/xforms/*</url-pattern>
>                <dispatcher>REQUEST</dispatcher>
>                <dispatcher>FORWARD</dispatcher>
>        </filter-mapping>
>        <!-- This is necessary so that XForms engine resources can be served
> appropriately -->
>        <filter-mapping>
>                <filter-name>orbeon-xforms-filter</filter-name>
>                <url-pattern>/orbeon/*</url-pattern>
>                <dispatcher>REQUEST</dispatcher>
>                <dispatcher>FORWARD</dispatcher>
>        </filter-mapping>
> ......
>
> Here is the xforms (which again runs fine within orbeon.war/xforms-jsp)
>
> <html
>    xmlns="http://www.w3.org/1999/xhtml"
>    xmlns:xforms="http://www.w3.org/2002/xforms"
>    xmlns:ev="http://www.w3.org/2001/xml-events"
>    xmlns:xs="http://www.w3.org/2001/XMLSchema"
>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
>
>    <head>
>      <xforms:model id="fr-form-model">
>            <xforms:instance id="data">
>                <root xmlns="" required="">
>                    <field10/>
>                </root>
>            </xforms:instance>
>        </xforms:model>
>    </head>
>    <body>
>         <xforms:input ref="instance('data')/field10">
>            <xforms:label>field10 buddy</xforms:label>
>            <xforms:alert>Required</xforms:alert>
>        </xforms:input>
>    </body>
> </html>
> --
> View this message in context: http://n4.nabble.com/Static-XForm-in-separate-deployment-not-working-with-recent-builds-tp932536p932536.html
> Sent from the ObjectWeb 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
>
>


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