We implement an address Component and in this component, we have a selectOneMenu to select a country from a list. We need to pre-select a specific country in the list if the country in the bean is unset (null). We tried to set the country into the bean in the components start() method, but this did not work.

How can this be done?

TIA

asked 03.06.2016 at 17:40

peters's gravatar image

peters
216610
accept rate: 0%

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×77
×7

Asked: 03.06.2016 at 17:40

Seen: 819 times

Last updated: 03.06.2016 at 17:40