This content has been marked as final.
Show 6 replies
-
1. Re: dataTable
triplex_1 Apr 11, 2007 11:49 AM (in response to konikoni)hi - sry but i don't know your problem but i see you use richfaces!!
rich:dataTable
could u tell me how u manage this?
i need this one:
<%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
- this doesn't works in my case...
thx
triplex -
2. Re: dataTable
konikoni Apr 11, 2007 11:52 AM (in response to konikoni)xmlns:rich="http://richfaces.ajax4jsf.org/rich"
The table works, but the action(session bean method) doesn't execute. -
3. Re: dataTable
triplex_1 Apr 11, 2007 11:59 AM (in response to konikoni)hmm - i have a .jsp file!! not xhtml..
<xmlns:rich="http://richfaces.ajax4jsf.org/rich"> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://www.exadel.com/vcp/components" prefix="vcp"%> <html> <title>Willkommen zum PIS-PatientenInformationsSystem</title> <body> <f:view> <h:form> <rich:dataTable border="1" value="#{searchBean.al}" var="patient" cellpadding="1" cellspacing="1"> <rich:column> <h:outputText value="#{patient.svnr}"/> </rich:column> </rich:dataTable> </h:form> </f:view> </body> </html>
i added your tip - but i think this is false how i did it - isn't it?
sry that i spamm your thread but i wanted my richfaces to work:/
thx:)
triplex -
4. Re: dataTable
konikoni Apr 11, 2007 12:07 PM (in response to konikoni)You need ajax4jsf, richfaces based on it:
xmlns:rich="http://richfaces.ajax4jsf.org/rich" xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
Configs in web.xml:
<filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <url-pattern>*.jsf</url-pattern> </filter-mapping> <context-param> <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name> <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.SKIN</param-name> <param-value>blueSky</param-value> </context-param>
You nedd libs from a4j and richfaces -
5. Re: dataTable
konikoni Apr 11, 2007 12:29 PM (in response to konikoni)<h:commandLink action="#(fedit.editKfz}" value="Bearbeiten" reRender="tbl" />
action="#(fedit.editKfz}" "(" instead of "{"
I see no different between, because my resolution is very high:) -
6. Re: dataTable
sergeysmirnov Apr 11, 2007 3:42 PM (in response to konikoni)"triplex_1" wrote:
<xmlns:rich="http://richfaces.ajax4jsf.org/rich"> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://www.exadel.com/vcp/components" prefix="vcp"%>
It should be:<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <%@ taglib uri="http://richfaces.ajax4jsf.org/rich" prefix="rich"%>
Be careful with the basic stuff.