Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8028509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:09:26+00:00 2026-06-05T00:09:26+00:00

I am currently implementing my own persistence layer for Orbeon Forms. As far as

  • 0

I am currently implementing my own persistence layer for Orbeon Forms. As far as I have understood the virtual hierachy of data, creating a form with Form Builder in the application “myapp” with the name “myform” should cause the form builder to call

/crud/myapp/myform/form/form.xhtml, passing the newly created form as HTTP-PUT data. Thus I created a spring method annotated with:

@RequestMapping(method = RequestMethod.PUT, value = "/crud/{applicationName}/{formName}/form/form.xhtml")
public void saveForm(@PathVariable String formName, @RequestBody String putData)

I expected this method to be called with my form. But this method does not get called. Instead the method

@RequestMapping(method = RequestMethod.PUT, value = "/crud/{applicationName}/{formName}/data/{uuid}/data.xml")
public void saveInstance(@PathVariable String uuid, @RequestBody String putData)

gets called. putData contains the full XHTML form. Why is this happening? I thought that the second URL would only be called for saving an instance, more specifically the <xforms:instance id="fr-form-instance"> part of a form, once I fill in values for a form.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T00:09:27+00:00Added an answer on June 5, 2026 at 12:09 am

    The answer is that the form definition can be in two places:

    1. When you edit it with Form Builder, the form definition is just form data as far as the builder is concerned. So it’s stored as data.xml for orbeon/builder.

    2. When you publish it, it is copied to (HTTP PUT) form.xhtml for myapp/myform. It is also read from there (HTTP GET) when the form definition is needed to view/edit/search data associated with that form.

    You can easily verify this by publishing the form.

    The good news is that you need 1 above anyway to handle form data for published forms.

    Note that form definitions and form data can both have attachments as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say I'm implementing my own version of Scrabble. I currently have a Board
I'm currently implementing a custom MultiPageEditorPart where I want to have multiple pages when
I am writing my own shell program. I am currently implementing the cd command
I'm currently working on implementing my own Trie in Scala (for learning/hobby purposes), and
I'm currently implementing a listbox in WPF that will have 2 alternative layouts for
We currently have a Java applet that generates a lot of data and uploads
I am currently (don't ask why :P) implementing my own versions of malloc() and
I'm currently making my own social network and I have a php problem which
I am currently playing around with writing my own HTTP proxy. I have the
I'm currently creating my own iterator for a b-tree, and I'm stuck on how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.