i'm developping an app part of which is plain editing of instances in a database.
i have recently discovered natural conversation scope, that cleary should get into the documentation soon !!! i now find myselve repeating the below part for every entity (i have a list page and an edit page for each) | <conversation | name="addressList" | parameter-name="addressListConversation" | parameter-value="main" | /> | | <page | view-id="/up/admin/addressList.xhtml" | conversation="addressList" | > | <begin-conversation join="true" /> | </page> | | <conversation | name="address" | parameter-name="addressId" | parameter-value="#{address.path}" | /> | | <page | view-id="/up/admin/address.xhtml" | conversation="address" | > | <begin-conversation join="true" /> | </page> [from pages.xml] TWO QUESTIONS 1. for the list pages it would be ideal if there were a conversation per open window (in the same window returning to the same page would restore the same conversation, a new window starts a new conversation). CAN THIS BE DONE ??? ( i have been reading several related post but didn't find an answer to this: ie the subject : WANNABE EXAMPLE NEEDS HELP GROWING UP ) something like ??? | <conversation | name="addressList" | parameter-name="addressListConversation" | parameter-value="#{windowId}" | /> | | <page | view-id="/up/admin/*" | conversation="addressList" | > | <begin-conversation join="true" /> | </page> | 2. is there a shortcut possible not te repeat myselves? something like | <conversation | name="#{page}" | parameter-name="#{page}Conversation" | parameter-value="main" | /> | | <page | view-id="/up/admin/*" | conversation="#{page}" | > | <begin-conversation join="true" /> | </page> | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4111263#4111263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4111263 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user