That sounds like the problem I have with
tiles...looking at the page source I noticed the
action generate for the link leads to the same page
where I'm already. Is it the same for you?may be there
is a bug...

Rosalba

--- "CONNER, BRENDAN (SBCSI)" <[EMAIL PROTECTED]> wrote:

> #{maintainSkillBean.skillList} returns at least one
> row, because that provides the link that we click. 
> The problem is, when we click the link, the next
> page does not get displayed.
> 
> - Brendan
> 
> -----Original Message-----
> From: Mathias Brökelmann
> [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, October 26, 2005 3:05 AM
> To: MyFaces Discussion
> Subject: Re: DataTable Problem
> 
> 
> The value for #{maintainSkillBean.skillList} must
> not return null or
> an empty list during the decode phase. Place a
> debug-breakpoint into
> the getter method to see when it is called. You can
> also use
> t:datatable and preserveDataModel="true".
> 
> 2005/10/26, CONNER, BRENDAN (SBCSI)
> <[EMAIL PROTECTED]>:
> > We're experiencing a problem using a commandLink
> (or commandButton)
> > inside a dataTable.  We're hoping that it's just
> something we're doing
> > wrong.
> >
> > If we copy the commandLink outside the dataTable
> (just as a test), and
> > then click on the commandLink outside the
> dataTable, then control goes
> > to the desired page.
> >
> > However, if we click on the commandLink that is
> inside the table, the
> > same page gets displayed (with an empty table).
> >
> > Here is the JSP code:
> >
> > <t:commandLink action="displayHome" title="Skill
> Id"
> > styleClass="commandLinkHomePage">
> >         <h:outputText value="test"
> styleClass="link"/>
> > </t:commandLink>
> >
> > <t:dataTable
> value="#{maintainSkillBean.skillList}" var="element"
> > headerClass="reportHeader"
> columnClasses="reportDetailLeft"
> > cellpadding="2" cellspacing="2">
> >         <t:column>
> >                 <f:facet name="header">
> >                         <h:outputText value="Skill
> Id"/>
> >                 </f:facet>
> >                 <t:commandLink
> action="displayHome" title="Skill Id"
> > styleClass="commandLinkHomePage" >
> >                         <h:outputText
> value="#{element.skillId}"
> > styleClass="link"/>
> >                 </t:commandLink>
> >         </t:column>
> > </t:dataTable>
> >
> > Any clues about why clicking the first commandLink
> would correctly bring
> > us to the home page, whereas clicking the second
> commandLink would just
> > redisplay the current page?  We have <t:messages>
> up top, and no error
> > messages are getting displayed.
> >
> > - Brendan
> >
> > P.S. We tried this with both 1.1.1RC2 and
> 1.1.1RC3, and we're getting
> > the same result.  We also tried using both
> <t:dataTable> and
> > <h:dataTable>, but still no luck.
> >
> 
> 
> --
> Mathias
> 



                
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com

Reply via email to