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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T17:05:30+00:00 2026-05-21T17:05:30+00:00

I have a text field that I want to save periodically as users type

  • 0

I have a text field that I want to save periodically as users type in it. I’d like to hook it into my existing RequestFactoryEditorDriver framework, but I can’t think of a way to do so. The trouble is that I’d have to wait for all of my driver.flush().fire() calls to return before calling edit() again, so in the meantime the data would not be editable.

My best solution so far is to create an entire layer above the proxy. It would wait until it was just about to save, and then edit the proxy, copy in the changes, and persist the proxy, but at that point I’m losing most of the benefit of the Editor framework. Does anyone have any better ideas?

  • 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-21T17:05:31+00:00Added an answer on May 21, 2026 at 5:05 pm

    Another thing that I believe would work, and probably wouldn’t involve much more work (probably less actually) than Ray’s answer: do not edit the object you want to save but a copy of it (created with RequestContext.create()), make a copy before you edit, and then flush and copy back to your bean (in another RequestContext) before firing.
    This however presumes there won’t be concurrent edits, because of the asynchronous communication with the server (the user can continue editing, and you’d have to detect and resolve “conflicts” if someone else edited the same object at the same time).
    To make a copy, use AutoBeanUtils.getAutoBean to get the bean out of the RF proxy, then an AutoBeanVisitor to visit all properties and copy their values into another proxy/autobean.

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

Sidebar

Related Questions

I have a field that I'm outputting text into after doing an nl2br(). I've
General I have two kind of users, and one field (cluster) that I want
I'm have a TextViewCell with a text field that that I'm using in a
I have a jQuery jPicker colorpicker that is bound to an input text field
I have field X that contains text with spaces in the end of the
I have model Article it has field title with some text that may contain
I have a database full of text fields that look like this: (paragraph of
I have a Django Model with a text field. I would like to modify
I have multiple text fields that each have onChange=submit(); in order to save the
I have a UITextField that I want to set into editing mode (keyboard on

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.