Programmatically invoke a Popup to create a new row.
Programmatically invoke a Popup to create a new row. Create an Application . Create the model part with Employee Table. Create EmployeeEO, EmployeeVO and AppModule. Now in the View controller project create a page (Employee.jspx). From the Data control drag and drop EmployeeVO1 (EmployeeVO instance) in to the page as Read only table. Surround this table with Panel Box. In the tool bar facet of panel box, drop a command button from the component pallate. Drag and drop Popup on to the page. Inside popup drop a dialog box. Create a ActionListenerEvent for the button "New". And bind RichPopup to the bean. Code for button............. public void displayPopUp(ActionEvent actionEvent) { // Add event code here... BindingContext bctx=BindingContext.getCurrent(); BindingContainer bctr=bctx.getCurrentBindingsEntry(); Operatio...
Comments
Post a Comment