"[EMAIL PROTECTED]" wrote : I don't follow. Sorry, it is not really easy for me to explain. I will try with an example.
I have a document Finder bean: | | @Name("documentFinder") | @Stateful | @Interceptors(SeamInterceptor.class) | public class DocumentFinderBean implements DocumentFinder { | | @DataModel | private List<Document> documentList; | | @DataModelSelection | private Document selectedDocument; | | private String searchCriteria; | | ...... | | @Begin (join = true) | public String searchDocuments() { | | ...... // Perform the search and update the documentList | | } | | ....... | // Setter/Getter | } | | The user perfoms a search with searchCriteria1. The resulting documents are displayed. The breadcrumb displays correctly: Search [searchCritera1] The user now selects a document. The following bean is used for this: | | @Stateless | | @Name("documentSelector") | | @Interceptors(SeamInterceptor.class) | | public class DocumentSelectorBean implements DocumentSelector { | | | | @In (create=true) | | private transient DocumentEditor documentEditor; | | | | @In (create=true) | | private transient DocumentFinder documentFinder; | | | | @Begin (nested = true) | | public String selectDocument() { | | documentEditor.setInstance(documentFinder.getSelection()); | | return "document/details"; | | } | | ...... | | @Begin (nested = true) | | public String selectCriteria() { | | documentFinder.setSearchCriteria(documentEditor.getSelectedPointer().getDescription()); | | return documentFinder.searchDocuments(); | | } | | ...... | } | | The document is selected and a page is presented with the document details. The breadCrumb now displays: search[criteria1] > document [document1] This document refers to other documents. He contains criteria(s) that refer to other documents. When the user click on a criteria (let's say critera2), I call selectCriteria() on the documentSelector bean. Eveything is fine. The breadcrump displays:search[criteria1] > document [document1] > serach[criteria2]. The correct results are displayed to the user. Now, let's says that the user decide to go back on seach[criteria1]. It is not possible. It still refers to criteria2. Any help with this would be appreciate. If I am not clear enough, please let me know. Thanks for your patience, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929011#3929011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929011 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user