I dont know this stuff, but suppose if you want to do this (click on item B, item B is expanded, item A is collapsed) without form submission you need to look in javascript
2009/5/20 Svetozar Radojčin <[email protected]> > Strange, it seems that nobody knows, both on Oracle OTN JDeveloper forum, > and here... > > Is this really that complicated to achieve ? > > > > *From:* Svetozar Radojčin > *Sent:* Wednesday, May 20, 2009 12:53 PM > *To:* 'MyFaces Discussion' > *Subject:* RE: table : how to expand just one detailStamp ? > > > > Hi, thanks for response > > > > "detailStamp" is a facet for <tr:table>, for example > > > > <tr:table var="row" value="#{myBean.allDepartments}"> > > * <f:facet name="detailStamp">* > > * ....* > > * </f:facet>* > > </tr:table> > > > > In my case, detailStamp contains anoter tr:table, with all employees from > the current department > > So, when user expand one detailStamp, what I want, is : > > 1. to close previously opened detail stamp > > 2. Set the current Row, in order to enable detailStamp to show > Employees for current Department > > > > *From:* Anton Gavazuk [mailto:[email protected]] > *Sent:* Wednesday, May 20, 2009 12:37 PM > *To:* MyFaces Discussion > *Subject:* Re: table : how to expand just one detailStamp ? > > > > Hi Svetozar, > > please explain what is "detailStamp" > > do you mean list-detail scenario, when list and detail form are shown on > the same page? > > 2009/5/20 Svetozar Radojčin <[email protected]> > > Hi all, > > What I want, it to set the current row automatically when selecting the *+ > * image (for detailStamp) *_and* to close previously opened detail stamp > when a new detailStamp opens. So, how to select an tr:table row with the > detail stamp link ? > In that way, user does not need to select particular row first, in order to > see all his detail records, contained in the detailStamp > > > Any idea ? > > >

