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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T16:24:18+00:00 2026-05-30T16:24:18+00:00

I am working on a ExtGWT 3.0 (beta) application. I have a simple Java

  • 0

I am working on a ExtGWT 3.0 (beta) application.

I have a simple Java bean containing one property:

public class MyBean {
    private String content;

    // getter and setter here...
}

I want to bind the property to a TextField.

I have created an interface:

interface MyBeanProperties extends PropertyAccess<MyBean> {
    ValueProvider<MyBean, String> content();
}

But what’s next? How do I tell the TextField to bind to that particular property of a particular MyBean object?

  • 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-30T16:24:19+00:00Added an answer on May 30, 2026 at 4:24 pm

    PropertyAccess is used to generically refer to an objects properties, often for data widgets that use a Store like the grid or charts. For binding a form to a bean, check out GWT’s editor framework at http://code.google.com/webtoolkit/doc/latest/DevGuideUiEditors.html. There are some examples for this with GXT at http://www.sencha.com/examples/#ExamplePlace:basicbinding%28uibinder%29

    Roughly, you’ll build a form widget that wraps all the properties you need, and make an editor driver for that editor and its bean:

    public class MyBeanEditor implements Editor<MyBean> {
    
      // do any kind of widget setup you like, just make sure to have methods/fields
      // package protected or higher that extends Editor (Field extends Editor)
    
      TextField content;
    }
    
    //... declare the driver
    interface Driver extends SimpleBeanEditorDriver<MyBean, MyBeanEditor> {}
    
    //... use the driver to bind a form to a bean
    Driver driver = GWT.create(Driver.class);
    driver.initialize(myBeanEditorInstance);
    driver.edit(myBean);
    
    //... when save is clicked (or a timer, or whatever), get the value and do 
    //    something with it
    MyBean model = driver.flush();
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working in Java: I have a JFrame class, and separate classes for my two
Working with jquery.ajax for first time... I have a class in C#: public class
I am working on an Ext GWT 3 (beta) application. I am trying to
Working with some basic java apps on CentOS 5 linux and I have my
Working on a small web application, I have a user table in which user
Working on a project at the moment and we have to implement soft deletion
Working with an Oracle 9i database from an ASP.NET 2.0 (VB) application using OLEDB.
Working on writing a custom property Handler for our custom file type in windows
Working sample using one Table SELECT t.* FROM ( SELECT TITLE.name, (TITLE.value-TITLE.msp) AS Lower,
Working with a Lucene index, I have a standard document format that looks something

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.