- 
        1. Re: Details in modal dialogmail.micke Dec 18, 2007 3:06 AM (in response to marx3)Hi 
 1. By using seam you'll be able to use an object with a4j:commandLink. Otherwise you can use a4j:actionparam to pass an id in.
 2. Use "oncomplete" to display the modalPanel after its content (important you rerender the content and not he modalPanel, unless this has been fixed in 3.1.3) has been updated.
 Hope this helps,
 mike
- 
        2. Re: Details in modal dialogmarx3 Dec 18, 2007 4:26 AM (in response to marx3)oComplete seems ok, but doesn't work :( 
 <a4j:commandLink action="#{readDetailsMan.get(x)}" oncomplete="alert(1);Richfaces.showModalPanel('showDet',{width:450, top:200})">
 Alert doesn't popup, and of course modal panel doesn't work too. I use the newest RF 3.1.3GA, Seam 2.0
- 
        3. Re: Details in modal dialogmarx3 Dec 18, 2007 4:45 AM (in response to marx3)ok it works, I had another modal dialog "please wait" while ajax action is running, and both can't work at once 
 Thank you
- 
        4. Re: Details in modal dialogmail.micke Dec 18, 2007 5:39 AM (in response to marx3)Great. 
 Just created a cookbook page on how to do this for others :
 http://labs.jboss.com/wiki/en//RichFacesCookbook/DetailModalPanelFromTable
 The code in there is untested, but should work and gives an idea of how to do this.
 Should have updated this thread earlier :)
 Cheers,
 Mike
 
    