Creation of Poplist.
1- Create a Workspace, Project, AM (Application Module) as usual as shown in my other pages.
2- Create a VO (Query Based) named poplistdemoVO. Paste the query as written below:
select application_short_name , product_code from fnd_application
3- Attach VO with AM as usual.
4- Create a page and set its basic properties.
ID -- PageLayoutRN
AM Definition -- test.oracle.apps.fnd.poplistdemo.server.poplistdemoAM
Window Title -- PopList Demo Window
Title – PopList Demo Header
5- Create a new region by right click on above created region (PageLayoutRN) and set its basic properties.
ID -- MainRN
Region Style – messageComponentLayout
6- Verify Your VO attribute name
Select poplistdemoVO right click > Edit poplistdemoVO > Attributes >
Verify the Name it should be the same as defined in the query, otherwise poplist will not be populated.
7- Create the first Item (Empty Field)
MainRN > New > messageChoice
Set following properties for new item
ID – MyPopList
Required -- Yes
Picklist View Definition -- test.oracle.apps.fnd.poplistdemo.server.poplistdemoVO
Picklist Display Attribute – application_short_name
Picklist Value Attribute -- product_code
CSS Class – OraFieldText
Prompt – My PopList
Cheers the poplist is ready. Run and test it.
This comment has been removed by the author.
ReplyDelete