Hi, I think you should use <h:outputFormat> instead of <h:outputText>
regards, Marc AT >-----Original Message----- >From: news [mailto:[EMAIL PROTECTED] On Behalf Of Brummeline Braaten >Sent: 19 March 2007 10:00 >To: [email protected] >Subject: Re: commandlink and param > >Volker Weber <v.weber <at> inexso.de> writes: > >> >> Please post the related code where you get the error >> >> 2007/3/19, Brummeline Braaten <brummeline <at> gmail.com>: >> > I've got a strange problem. >> > >> > This is part of my code: >> > <t:commandLink action="#{tabnavigering.hentSide}" id="varsellink"> >> > <h:outputText value="#{noticetitles.title}" id="varseltittel"/> >> > <f:param value="#{noticetitles.noticeId}" name="varselid"/> >> > </t:commandLink> >> > >> > When I execute my code I get the error: varselid has no properties. >> > >> > If I change the <f:param> line to: <h:outputText >> > value="#{noticetitles.noticeId}" id="varselid"/>, >> > I get the values on the screen. >> > >> > Why cant i find this values with the param attribute? >> > >> > > >The code: ><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" >"http://www.w3.org/TR/html4/strict.dtd"> ><[EMAIL PROTECTED] uri="http://java.sun.com/jsf/core" prefix="f"%> ><[EMAIL PROTECTED] uri="http://java.sun.com/jsf/html" prefix="h"%> ><%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%> ><html> ><f:view> ><head> ><meta http-equiv="content-type" content="text/html; >charset=iso-8859-1"> ><title>Nytt i helse-ekstern-alle</title> ><link rel="stylesheet" href="../css/frontend.css" type="text/css" >media="screen"> ></head> ><body> ><h:form id="metoder"> ><h:dataTable var="noticetitles" >value="#{tabnavigering.localList}" rows="7" >id="varseltabell"> > <h:column id="varselkolonne"> ><h:outputText value="#{noticetitles.produceDate}" >styleClass="listdate"/> ><t:commandLink action="#{tabnavigering.hentSide}" id="varsellink"> ><h:outputText value="#{noticetitles.title}" id="varseltittel"/> ><f:param value="#{noticetitles.noticeId}" name="varselid"/> > </t:commandLink> ></h:column> ></h:dataTable> ></h:form> ></body> ></f:view> ></html> > > >

