hi
 
I am using jenia4faces to enable the popup mechanism. Below is the code for it:
 

<

h:form >

<jp:popupFrame scrolling="no" height="150px" width= "350px" actionOpen="#{popupWindowController.editPortfolioPopupActionOpen} " actionClose="#{popupWindowController.editPortfolioPopupActionClose} " center="true" >

<h:commandButton value=" #{messages['edit_portfolios']}"/>

</jp:popupFrame>

</h:form>

But when I click on the button it doesnt work. All I see is a the url of the current page followed by a #. Below are the contents of popupWindowController.java

package com.prytania.model;

/**
 *
 * @author hbadami
 * @jsf.bean
 *  name="popupWindowController"
 *  scope="application"
 */

public class PopupWindowController
{
 private String editPortfolioPopupActionOpen="editportfolio";
 private String editPortfolioPopupActionClose="portfolio";
 
 public String getEditPortfolioPopupActionClose() {
  return editPortfolioPopupActionClose;
 }
 public String getEditPortfolioPopupActionOpen() {
  return editPortfolioPopupActionOpen;
 }
}

cheers

Hassnain

Reply via email to