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

  • SEARCH
  • Home
  • 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 6663915
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T02:33:08+00:00 2026-05-26T02:33:08+00:00

I am working on Orbeon forms and i have a performance related issue as

  • 0

I am working on Orbeon forms and i have a performance related issue as explained below.

I have a form where I have five fields initially. On the fifth dropdown field, if I select “Yes”, because of xforms:group it shows a block of fields (the block has around 40 fields).
Since the block is in the repeated section, I can add/delete as many blocks as I can.

Now, if I add say 10 blocks and when I toggle the fifth dropdown field from any value to “Yes”, it takes more than 2 seconds to display all the blocks.

I am using Orbeon Forms 3.8 and Tomcat 6 on Windows XP desktop with 2GB RAM.

Please let me know what happens when “Yes” is selected (meaning conditional display when xforms:group is true) which is taking more time to display.

<xforms:group ref=".[instance('form-attributes')/flag='yes']" >
    //code for the controls here
</xforms:group>
  • 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-05-26T02:33:08+00:00Added an answer on May 26, 2026 at 2:33 am

    If you are using code that looks like:

    <xforms:group ref=".[condition]">
        <!-- Large number of fields -->
    </xforms:group>
    
    1. When condition is false, the fields inside the group are non-relevant. The XForms engine doesn’t compute their value, read-only status, validity, label, hint, help, alert, etc.
    2. When condition becomes true, the content of the group become relevant, and the XForms engine evaluates all the controls inside the group.
    3. The browser needs to apply all those changes to the DOM.

    Typically, step #2 is much faster than #3, especially with IE7. To avoid the numerous updates on step #3, another way to write this code is:

    <xhtml:div class="{if (condition) then '' else 'xforms-disabled'}">
        <!-- Large number of fields -->
    </xhtml:div>
    

    With this, the fields inside the div will always be relevant:

    • The upside is that when condition becomes true, all the browser might need to do is to flip that class on the div. It won’t necessarily need to update all the controls inside, unless of course their value has also changed.
    • The downside is that while condition is false, the XForms engine, on the server, needs to keep all the controls inside the div up-to-date.

    But more often than not, especially when you’re seeing IE7 slowness, the performance you gain on the client far outweighs the increased processing that might be needed on the server.

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

Sidebar

Related Questions

Working on a project at the moment and we have to implement soft deletion
Working with a Lucene index, I have a standard document format that looks something
Working in Java: I have a JFrame class, and separate classes for my two
Working on game. I have a movable basket and a - for now -
Working with SSRS and a SQL 2000 source, I have a stored procedure that
I followed http://wiki.orbeon.com/forms/doc/developer-guide/xforms-with-java-applications and successfully got separate deployments working. I would like to create
Working with some basic java apps on CentOS 5 linux and I have my
Working with jquery.ajax for first time... I have a class in C#: public class
working on an old translation sample code for windows phone 7. Recently, I have
Working with C and Win32, I have a problem where my program freezes instead

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.