Вы можете просто передать его в качестве параметра запроса в URL.
<h:outputLink value="#" onclick="window.open('popup.jsf?foo=#{bean.foo}');">
popup
</h:outputLink>
Вы можете сделать параметр foo
управляемым свойством bean-компонента, связанного со всплывающей страницей.
1007 * Е.Г. *
<managed-property>
<property-name>foo</property-name>
<value>#{param.foo}</value>
</managed-property>
с
public class PopupBean {
private String foo;
@PostConstruct
public void init() throws IOException {
doSomethingWith(foo);
youCouldLogHereAsWellThatPopupIsBeenOpened();
FacesContext.getCurrentInstance().getExternalContext().redirect("http://other.com/report");
}
// ...
}
(метод @PostConstruct
вызывается после построения бина и управляемой инъекции свойств)