New user questions

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

New user questions

TonyM-2
Hi, I've been tinkering with XForms using FormFaces for a few weeks but Orbeon seems to have a more active user group so thought I would give it a go.  A few questions:

  1. I'm really struggling with the tutorial to figure out how to make my own project, something like www.myaddress.com/ops/myproject.
  2. With FormFaces, I can use the <table border="1" xf:repeat-nodeset="/.." id="idname"> structure and it seems to work, but the Sandbox at www.orbeon.com/ops appears to ignore the code.  See snippet below and attached file for full example.  What am I doing wrong?
  3. Is there a sandbox available for version 3.5M1 ?
Thanks
Tony

<!-- This works in FaceForms but can't make work in Orbeon  -->

        <table border="1" xf:repeat-nodeset="/person/houses/house" id="r2">
          <tr>
            <td>
              <xf:output ref="@street"/>
            </td>
            <td>
              <xf:output ref="@number"/>
            </td>
          </tr>
        </table>


--
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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws

fooquestions.html (8K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: New user questions

Erik Bruchez
Administrator
Tony,

 > Hi, I've been tinkering with XForms using FormFaces for a few weeks but
 > Orbeon seems to have a more active user group so thought I would give it
 > a go.  A few questions:
 >
 >    1. I'm really struggling with the tutorial to figure out how to make
 >       my own project, something like www.myaddress.com/ops/myproject
 >       <http://www.myaddress.com/ops/myproject>.

First, the tutorial you are looking at is outrageously out of date. We
are working on a new tutorial for Orbeon Forms 3.5. Coming real soon
now ;-)

First, we recommend you use a nightly build instead of 3.5 M1, as this
will give you that new and simpler directory structure. Nightly builds
are available from here:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

With the new directory structure:

o Each application is a its own directory under:

     WEB-INF/resources/apps/

o Each application has a its own page flow (page-flow.xml) under that
   directory. Acessing http://localhost:8080/ops/myproject/* will cause
   entries in that page flow to be automatically used.

 >    2. With FormFaces, I can use the <table border="1"
 >       xf:repeat-nodeset="/.." id="idname"> structure and it seems to
 >       work, but the Sandbox at www.orbeon.com/ops
 >       <http://www.orbeon.com/ops> appears to ignore the code.  See
 >       snippet below and attached file for full example.  What am I doing
 >       wrong?

Repeat attributes are not supported in Orbeon Forms. Use the
xforms:repeat element instead. Note that the repeat attributes are
fairly controversial and the XForms Working Group regularly discusses
whether to get rid of them or specify them better.

 >    3. Is there a sandbox available for version 3.5M1 ?

Yes. There is one in your local download:

   http://localhost:8080/ops/xforms-sandbox/

Or, you can try the online sandbox, which is slightly post-3.5 M1 but
not quite up to date:

   http://www.orbeon.com/ops/goto-example/xforms-sandbox

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: New user questions

TonyM-2
Thanks Erik

Great, the directory structure is easy to set up in the overnight download.

Looks like I have to learn a new syntax for repeat, but does not seem any harder.

Follow on question.  Happy to develop the project with the Orbeon navigation bar on the left and Orbeon logo etc, but how can I remove them and put my own navigation bar in?  My own application has a navigation bar but it does not display correctly.

Thanks
Tony



On 13/12/06, Erik Bruchez <[hidden email]> wrote:
Tony,

> Hi, I've been tinkering with XForms using FormFaces for a few weeks but
> Orbeon seems to have a more active user group so thought I would give it
> a go.  A few questions:
>
>    1. I'm really struggling with the tutorial to figure out how to make
>       my own project, something like www.myaddress.com/ops/myproject
>       <http://www.myaddress.com/ops/myproject >.

First, the tutorial you are looking at is outrageously out of date. We
are working on a new tutorial for Orbeon Forms 3.5. Coming real soon
now ;-)

First, we recommend you use a nightly build instead of 3.5 M1, as this
will give you that new and simpler directory structure. Nightly builds
are available from here:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

With the new directory structure:

o Each application is a its own directory under:

     WEB-INF/resources/apps/

o Each application has a its own page flow (page-flow.xml) under that
   directory. Acessing http://localhost:8080/ops/myproject/* will cause
   entries in that page flow to be automatically used.

>    2. With FormFaces, I can use the <table border="1"
>       xf:repeat-nodeset="/.." id="idname"> structure and it seems to
>       work, but the Sandbox at www.orbeon.com/ops
>       < http://www.orbeon.com/ops> appears to ignore the code.  See
>       snippet below and attached file for full example.  What am I doing
>       wrong?

Repeat attributes are not supported in Orbeon Forms. Use the
xforms:repeat element instead. Note that the repeat attributes are
fairly controversial and the XForms Working Group regularly discusses
whether to get rid of them or specify them better.

>    3. Is there a sandbox available for version 3.5M1 ?

Yes. There is one in your local download:

   http://localhost:8080/ops/xforms-sandbox/

Or, you can try the online sandbox, which is slightly post-3.5 M1 but
not quite up to date:

   http://www.orbeon.com/ops/goto-example/xforms-sandbox

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: New user questions

marc-62
Tony,

See Erik answear :
http://mail-archive.objectweb.org/ops-users/2006-12/msg00228.html

The epilogue-servlet.xpl is in the "config" directory.
 
--
Marc


Tony Mobbs a écrit :
Thanks Erik

Great, the directory structure is easy to set up in the overnight download.

Looks like I have to learn a new syntax for repeat, but does not seem any harder.

Follow on question.  Happy to develop the project with the Orbeon navigation bar on the left and Orbeon logo etc, but how can I remove them and put my own navigation bar in?  My own application has a navigation bar but it does not display correctly.

Thanks
Tony



On 13/12/06, Erik Bruchez <[hidden email]> wrote:
Tony,

> Hi, I've been tinkering with XForms using FormFaces for a few weeks but
> Orbeon seems to have a more active user group so thought I would give it
> a go.  A few questions:
>
>    1. I'm really struggling with the tutorial to figure out how to make
>       my own project, something like www.myaddress.com/ops/myproject
>       <http://www.myaddress.com/ops/myproject >.

First, the tutorial you are looking at is outrageously out of date. We
are working on a new tutorial for Orbeon Forms 3.5. Coming real soon
now ;-)

First, we recommend you use a nightly build instead of 3.5 M1, as this
will give you that new and simpler directory structure. Nightly builds
are available from here:

   http://forge.objectweb.org/nightlybuilds/ops/ops/

With the new directory structure:

o Each application is a its own directory under:

     WEB-INF/resources/apps/

o Each application has a its own page flow (page-flow.xml) under that
   directory. Acessing http://localhost:8080/ops/myproject/* will cause
   entries in that page flow to be automatically used.

>    2. With FormFaces, I can use the <table border="1"
>       xf:repeat-nodeset="/.." id="idname"> structure and it seems to
>       work, but the Sandbox at www.orbeon.com/ops
>       < http://www.orbeon.com/ops> appears to ignore the code.  See
>       snippet below and attached file for full example.  What am I doing
>       wrong?

Repeat attributes are not supported in Orbeon Forms. Use the
xforms:repeat element instead. Note that the repeat attributes are
fairly controversial and the XForms Working Group regularly discusses
whether to get rid of them or specify them better.

>    3. Is there a sandbox available for version 3.5M1 ?

Yes. There is one in your local download:

   http://localhost:8080/ops/xforms-sandbox/

Or, you can try the online sandbox, which is slightly post-3.5 M1 but
not quite up to date:

   http://www.orbeon.com/ops/goto-example/xforms-sandbox

-Erik

--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.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
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws