On 6/7/07, samju <[EMAIL PROTECTED]> wrote:
to resume i have Login.java and two Beans A and B wich are mapped with Hibernate 1-<dialog name="login" start="activateLog" dataClassName=xxx.BBean> 2-Login class extends AbstractViewController this class provide a login Action that return the "alist" other statements omitted 3-<t:dataTable var="result" value="#{dialogScope.alist}"....> ..... <t:inputText value="#{result.sname}"> ..... <t:commandButton action="#{login.transferToEdit}" value="update"/> </t:dataTable> the action="#{login.transferToEdit}" had to push "Dialog:edit" need the BBean to update the ABean 4-<dialog name="edit" start="activateEdit" dataClassName=xxx.ABean> the action="'{edit.updateAlist}" will update the DB entries. i tried the subdialog didnĀ“t work! how to solve this? Setter Injection or DI ? any hints .. if someone had time i will provide more details!!
<snip/> Couple of perhaps related clarifications, based on my understanding of this scenario: * A subdialog is entered via a <subdialog> state (in the basic impl), rather than by providing a logical outcome / action matching "dialog:subdialogname" * The default prefix is "dialog:" and prefixes are case sensitive. -Rahul