Hi all,
I have been using orbeon xforms for a while but have only just started looking at form builder/runner. I see that form builder seems good at developing simple forms but does not have ability to include repeating items. The bookshelf example has repeats. How is this done? Can forms developed within form builder be modified outside of form builder to include repeated data and then published to form runner? Is there any doco for this? Thanks, Franco -- 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 |
I experimented with source changes a little. Say you make a change in
the source and then go back to the Builder and change a label or add another control. The Builder is pretty intelligent about only changing what it needs to and not losing your source changes. However, I did notice that changing control names is a bit more destructive. So it's a good idea to have your control names picked before editing sections related to those controls. I haven't experimented with repeats. I imagine you won't see your controls within the repeat in the builder but will see them when you render the xform. A guide on best practices for editing xforms source while still using the builder would be nice. I haven't seen any documentation on how the Builder does xform updates and what dangers there are in editing the source and then using the Builder again. On 12/16/2010 04:32 PM, Frank wrote: > Hi all, > I have been using orbeon xforms for a while but have only just started looking at form builder/runner. > > I see that form builder seems good at developing simple forms but does not have ability to include repeating items. > The bookshelf example has repeats. How is this done? Can forms developed within form builder be modified outside of form builder > to include repeated data and then published to form runner? Is there any doco for this? > > Thanks, > Franco > > -- 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 |
Administrator
|
Frank, Arlo:
We really would like Form Builder to support repeats, but haven't gotten to it yet. There is an fr:repeat construct which you can place by hand, and Form Builder tries to keep that around (at least with nightly builds). For example: https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/bookshelf/form/form.xhtml https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/dmv-14/form/form.xhtml -Erik On Fri, Dec 17, 2010 at 11:12 AM, Arlo White <[hidden email]> wrote: > I experimented with source changes a little. Say you make a change in the > source and then go back to the Builder and change a label or add another > control. The Builder is pretty intelligent about only changing what it needs > to and not losing your source changes. However, I did notice that changing > control names is a bit more destructive. So it's a good idea to have your > control names picked before editing sections related to those controls. > > I haven't experimented with repeats. I imagine you won't see your controls > within the repeat in the builder but will see them when you render the > xform. > > A guide on best practices for editing xforms source while still using the > builder would be nice. I haven't seen any documentation on how the Builder > does xform updates and what dangers there are in editing the source and then > using the Builder again. > > On 12/16/2010 04:32 PM, Frank wrote: >> >> Hi all, >> I have been using orbeon xforms for a while but have only just started >> looking at form builder/runner. >> >> I see that form builder seems good at developing simple forms but does not >> have ability to include repeating items. >> The bookshelf example has repeats. How is this done? Can forms developed >> within form builder be modified outside of form builder >> to include repeated data and then published to form runner? Is there any >> doco for this? >> >> Thanks, >> Franco >> >> > > > > -- > 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 |
Erik, Arlo,
Thanks for the advice/update. Now this may be a stupid question, but how do you edit the form outside of form builder. Can I assume that you: 1) create the basic form using form builder 2 ) find the form definition within the internal exist db - eg: get http://localhost:8080/orbeon/exist/rest/orbeon/builder/data/ad635079800cec82339cc90d8b5cc208/data.xml 3) edit the form using any xml editor adding fr:repeat etc. 4) put the form back into exist (rest url as in step 1) 5) Continue to edit the form using form builder, publish and run as normal? Is this right? or am I missing something? Thanks again, Frank On 18/12/2010, at 12:38 PM, Erik Bruchez wrote: > Frank, Arlo: > > We really would like Form Builder to support repeats, but haven't > gotten to it yet. > > There is an fr:repeat construct which you can place by hand, and Form > Builder tries to keep that around (at least with nightly builds). For > example: > > https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/bookshelf/form/form.xhtml > https://github.com/orbeon/orbeon-forms/blob/master/src/resources/forms/orbeon/dmv-14/form/form.xhtml > > -Erik > > On Fri, Dec 17, 2010 at 11:12 AM, Arlo White <[hidden email]> wrote: >> I experimented with source changes a little. Say you make a change in the >> source and then go back to the Builder and change a label or add another >> control. The Builder is pretty intelligent about only changing what it needs >> to and not losing your source changes. However, I did notice that changing >> control names is a bit more destructive. So it's a good idea to have your >> control names picked before editing sections related to those controls. >> >> I haven't experimented with repeats. I imagine you won't see your controls >> within the repeat in the builder but will see them when you render the >> xform. >> >> A guide on best practices for editing xforms source while still using the >> builder would be nice. I haven't seen any documentation on how the Builder >> does xform updates and what dangers there are in editing the source and then >> using the Builder again. >> >> On 12/16/2010 04:32 PM, Frank wrote: >>> >>> Hi all, >>> I have been using orbeon xforms for a while but have only just started >>> looking at form builder/runner. >>> >>> I see that form builder seems good at developing simple forms but does not >>> have ability to include repeating items. >>> The bookshelf example has repeats. How is this done? Can forms developed >>> within form builder be modified outside of form builder >>> to include repeated data and then published to form runner? Is there any >>> doco for this? >>> >>> Thanks, >>> Franco >>> >>> >> >> >> >> -- >> 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 -- 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 |
Hi,
> Thanks for the advice/update. Now this may be a stupid question, but how do > you edit the form outside of form builder. in the menu to the left, there is an item to show and edit the form's source code. It's not the best editor, but you can easily copy the text to some editor with XML highlighting, do the change, and copy it back. Kind regards, Ralf Jung -- 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 |
Thanks Ralf,
'Edit source' - under the Advanced section. Don't know why I couldn't find it earlier - Thanks again. Regards, Frank On 21/12/2010, at 12:05 AM, Ralf Jung wrote: > Hi, > >> Thanks for the advice/update. Now this may be a stupid question, but how do >> you edit the form outside of form builder. > in the menu to the left, there is an item to show and edit the form's source > code. It's not the best editor, but you can easily copy the text to some > editor with XML highlighting, do the change, and copy it back. > > Kind regards, > Ralf Jung > > -- > 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 |
Administrator
|
Yup that's where it is!
Nothing prevents you to work with the document in eXist as well. You could even mount eXist as a WebDAV server to make changes there directly. -Erik On Mon, Dec 20, 2010 at 1:56 PM, Frank <[hidden email]> wrote: > Thanks Ralf, > > 'Edit source' - under the Advanced section. Don't know why I couldn't find it earlier - Thanks again. > > Regards, > Frank > > On 21/12/2010, at 12:05 AM, Ralf Jung wrote: > >> Hi, >> >>> Thanks for the advice/update. Now this may be a stupid question, but how do >>> you edit the form outside of form builder. >> in the menu to the left, there is an item to show and edit the form's source >> code. It's not the best editor, but you can easily copy the text to some >> editor with XML highlighting, do the change, and copy it back. >> >> Kind regards, >> Ralf Jung >> >> -- >> 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 > > -- 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 |
Free forum by Nabble | Edit this page |