Monday, November 1, 2010

ADF UI - Beginner: Creating data control for java bean

Sometimes, it is necessary to create java bean as a data control so that we can directly drag and drop bean methods into task flows, or add the bean properties as attributes in jsf pages. So, for those who is looking out how to generate a data control for a java bean, it's quite simple. Steps below:

For a simple java bean with the content below,


1. Right click the Java bean and select 'Create Data Control..'


2. Now, it generates an xml data control in the same package. That's it. Data control is generated for the bean.

3. If you expand 'Data Controls' pallette, you would be able to see the bean data control that you just created and you can drag and drop the data control properties and methods into your jsff pages or task flows.

5 comments:

  1. Nice! Really cool stuff and very inspiring. Thanks for sharing!

    ReplyDelete
    Replies
    1. Amazing & Great informative blog,it gives very useful practical information to developer like me. Besides that Wisen has established as Best Java Online Training in India . or learn thru Online Training mode Hibernate Online Training . Nowadays Hibernate ORM has tons of job opportunities on various vertical industry. or learn thru JavaScript Online Training in India. Nowadays even JavaScript has tons of job opportunities on various vertical industry.

      Delete

Related Posts with Thumbnails