If you're using ADF BC, you would write your application logic in AMImpl methods in model project. But, if you want to use/call these methods in UI project, you should generate client interface for these methods. Here, let me show how to do that.
For example let's take a DemoAMImpl has two methods 'getAllDepts' and 'getEmployeesInDept', to expose them in client's interface, follow the below steps:
1. Open application module DemoAM -> Click on 'Java' tab -> Click on 'Edit'(pencil) icon beside the 'Client Interface' section.
2. In the 'Edit Client Interface' section, shuffle the methods you want to expose th right side and click 'OK'.
3. Now, you can see the added methods under the 'Client Interface' Section.
4. Now, if you expand the 'Data Controls' palette, you can see the newly added methods there so that you can drag and drop them into your UI project task flows or you can add them as methodAction bindings in pagedef.
Sample method binding in task flow:
Wednesday, November 3, 2010
Subscribe to:
Post Comments (Atom)
I cant see any methods on applmodule part to shuffle to client interface.. can you please help me
ReplyDelete20170303shizhong
ReplyDeletepandora uk
red bottoms shoes
true religion jeans
adidas uk
beats headphones
louboutin uk
pandora charms
hermes handbags
christian louboutin
nike factory store
red bottoms
jimmy choo shoes
ReplyDeleteadidas nmd r1
coach factory outlet
cheap jerseys
coach outlet online
bulls jerseys
gucci bags
coach outlet
adidas sneakers
swarovski uk
170511yueqin
jordan 13
ReplyDeleteyeezy boost 350 v2
supreme clothing
yeezy 700
kyrie 5 shoes
supreme hoodie
yeezy
golden goose
giannis shoes
cheap jordans
n9a71d8y87 a6r82x9n23 d8o06y6d78 g7c29j6k77 g0e36t2p07 v7x05c5a78
ReplyDelete