This content has been marked as final.
Show 3 replies
-
1. Re: Seam Component as Richfaces Binding bean???
pmuir Nov 12, 2007 12:23 PM (in response to xinhua)Post the xhtml and java code.
-
2. Re: Seam Component as Richfaces Binding bean???
xinhua Nov 13, 2007 7:54 AM (in response to xinhua)hi,
xhtml:<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:s="http://jboss.com/products/seam/taglib" xmlns:f="http://java.sun.com/jsf/core" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax" xmlns:rich="http://richfaces.ajax4jsf.org/rich"> <ui:composition template="../#{theme.template}"> <ui:define name="body"> <rich:modalPanel id="Fenster" minHeight="600" minWidth="600" zindex="2000" binding="#{window.panel}"> <f:facet name="header"> <h:outputText value="Neu Fenster" /> </f:facet> <f:facet name="controls"> <h:graphicImage value="../images/default/modal/close.png" style="cursor:pointer" onclick="Richfaces.hideModalPanel('Fenster')" /> </f:facet> </rich:modalPanel> </ui:define> </ui:composition> </html>
binding bean:@Name("window") public class MsgMBean { @Logger Log log; private UIModalPanel panel; public UIModalPanel getPanel() { log.info("-----------> Panel kommt"); return panel; } public void setPanel(UIModalPanel panel) { this.panel = panel; } }
-
3. Re: Seam Component as Richfaces Binding bean???
pmuir Nov 13, 2007 8:19 AM (in response to xinhua)You'll have to use your debugger to find out what method it is trying to call, and what it is trying to pass in.