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 7923437
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T17:19:36+00:00 2026-06-03T17:19:36+00:00

i have a strange problem. I have a XPage with a repeat control where

  • 0

i have a strange problem.

I have a XPage with a repeat control where the data source is a view.
This view has a filter by category name.
In the XPage is a button with the following script:

doc = session.getCurrentDatabase().createDocument();            
doc.replaceItemValue("form", "myForm");
doc.replaceItemValue("docId", "myID");
doc.save();

The button makes a partial refresh on the repeat control, but always on the first time clicking on the button (after opening the XPage) does not refresh the repeater. After a second click on the button, i can see two new documents.

I have the same problem when i delete a document from the view, but in this case i get the following error message:

javax.faces.el.PropertyNotFoundException: Error testing property 'label' in bean of type null
Error testing property 'label' in bean of type null

Any ideas how to reload the repeat control will be better (without errors)?

  • 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-03T17:19:37+00:00Added an answer on June 3, 2026 at 5:19 pm

    The problem is that you are creating the document on the backend, so the runtime isn’t aware a new document is created, and is therefore dependent upon the indexer adding the document to the view before it will be added to the refresh, which usually happens after a slight delay, which is why after the next refresh, you see two documents. The way I have solved it in the past, which is a bit hacktastic to be sure, is to perform the refresh using a setTimeout() with a bout a 300-500 ms delay.

    Hope this helps.

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

Sidebar

Related Questions

I have strange problem with receiving data from socket. On client im using air
I have a strange problem with some documents on my webpage. My data is
I have this strange problem. I have this script: echo $comment_content = $_POST['comment_content']; echo
I have strange problem. I have class which behaves similar dropdown list. package test.view;
I have strange problem... My file strings.xml contains: <?xml version=1.0 encoding=utf-8?> <resources> <string name=building_name>My
I have a strange problem with a method is called each time a button
I have a strange problem: I have a site which has an administration system.
I have this strange problem on my web page where if you click below
I have this strange problem when I execute this piece of code: cdrFiles =
I have this strange problem parsing XML document in PHP loaded via cURL. I

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.