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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:06:56+00:00 2026-06-17T18:06:56+00:00

In Vaadin 7, I am creating a simple form to edit a JavaBean following

  • 0

In Vaadin 7, I am creating a simple form to edit a JavaBean following this example https://vaadin.com/wiki/-/wiki/Main/Creating%20a%20form%20using%20an%20existing%20layout

However, using the “@PropertyId” annotation, how can I access a property of my bean which is not a primitive ? Something like

public class MyBean {
  private MyStatus status;

  //getters/setters
}

public class MyStatus{
    private String statusName;

    //getters/setters
}

I would like to be able to access the property using something like @PropertyId(“status.statusName”) but this does not work…

Thanks for the help!

  • 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-17T18:06:57+00:00Added an answer on June 17, 2026 at 6:06 pm

    Possibly a bit late, however, you may be best using BeanFieldGroup rather than just FieldGroup:

    public MyForm() {
       FormLayout layout = new FormLayout();
       binder = new BeanFieldGroup(MyBean.class);
       layout.addComponent(binder.buildAndBind("Status Name", "status.statusName"));
       setCompositionRoot(layout);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using this tutorial https://vaadin.com/springroo , i was able to get a Spring Roo project
The GWT page on the Vaadin website is a bit sparse: https://vaadin.com/gwt Only benefits,
com.vaadin.data.Property$ConversionException: java.lang.NoSuchMethodException: java.sql.Date.(java.lang.String) What is the fix for this... here is my POJO class
I am implementing a vaadin application following this thread local pattern . The state
Certain Vaadin addons, such as Invient Charts (https://vaadin.com/directory#addon/invient-charts), require the inclusion of javascript libraries
I have a simple Vaadin portlet which displays an Embedded page e.g www.stackoverflow..com. In
I am creating a file manager application using vaadin as ui and alfresco as
I have a vaadin form with huge number of fields in it(textbox, select box
I need help in a simple application based on Vaadin. I need to have
My choice is between Tapestry 5 Vaadin JSF2 --- start EDIT 2010-05-13 18:04 --

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.