Re: dynamic list of hyperlinks

2007-04-06 Thread Mike Kienenberger
That's probably a good point. I've NEVER used t:dataList in a mode other than simple. It would make sense to improve the example. I'll open a JIRA issue. On 4/6/07, Alec Swan [EMAIL PROTECTED] wrote: I thought that t:dataList can only list text entries because that was all

dynamic list of hyperlinks

2007-04-05 Thread Alec Swan
Hi, I am using the lates MyFaces, Facelets and Tomahawk releases. I need to display a list of hyperlinks, which will work similar to a menu. When a user clicks on a link the page refreshes with the information related to the clicked link. For example, suppose I have a list of products supplied

Re: dynamic list of hyperlinks

2007-04-05 Thread Mike Kienenberger
t:dataList can list whatever you like. Why do you think it can only list text entries? t:dataList in basic form is simply an iterator -- you can render whatever you like on each iteration. Actual code from one of my older projects: t:dataList rendered=#{0 !=

Re: dynamic list of hyperlinks

2007-04-05 Thread Alec Swan
I thought that t:dataList can only list text entries because that was all examples/dataList.jsp was showing. Thank you for the code snippet. On 4/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: t:dataList can list whatever you like. Why do you think it can only list text entries?