I've been able to get the displaytag to work with MyFaces, but there's some "hacks" you have to do to expose a collection from a managed bean. You also need to create a dummy JavaScript function that you can call from a column in the displaytag if you want to click on a link to edit a row. Everything should be documented in the following link:

https://equinox.dev.java.net/source/browse/*checkout*/equinox/extras/jsf/web/userList.jsp

Matt

Rene Guenther wrote:

FYI. Now it doesnt work anymore. Don’t know why. Now I need a jsp:useBean statement and I have to set an request dummy
variable. That’s strange but then it works again.

-----Ursprüngliche Nachricht-----
Von: Rene Guenther [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Mai 2005 19:04
An: 'MyFaces Discussion'; 'Enrique Medina'
Betreff: AW: Displaytag and MyFaces


Since it is not a JSF Tag it does not accept Value Binding.
It works with $ . But don’t ask me why ;-)

-----Ursprüngliche Nachricht-----
Von: Enrique Medina [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 25. Mai 2005 18:05
An: MyFaces Discussion
Betreff: Re: Displaytag and MyFaces

<display:table name="${AdmMgr.aentrylist}" export="true" width="90%"
id="currentRowObject" requestURI="/faces/admin/reports/index.jsp">

Does it work with ${AdmMgr.aentrylist}? I thought it should be
#{AdmMgr.aentrylist}...







Reply via email to