i generate the Error from my history: for now i get:
javax.servlet.ServletException: Could not retrieve value of component with
path : {Component-Path : [Class:
org.apache.shale.view.faces.ShaleViewRoot,ViewId: /loginfinished.jsp][Class:
javax.faces.component.html.HtmlForm,Id: back][Class:
javax.faces.component.UINamingContainer,Id: userpanel][Class:
javax.faces.component.html.HtmlOutputText,Id: username]}
from userpanel.jsp :<h:outputText id="username" value="#{dialogScope.user}"
/>
the Id:username belong to the login MB wich managed login and give the list
from DB to jsp
now i exclude the userpanel.jsp
get this Error:
javax.servlet.ServletException: Bean: mt.ec.saju.jsfshale.sermon.db.Server,
property: alist
my aim is to update the alist in Subdialog .
from <dialog
<view name="finished" viewId="/loginfinished.jsp">
<transition outcome="editconn" target="editserver"/>
</view>
<subdialog name="editser" dialogName="edit">
<transition outcome="finishEdit" target="app"/>
</subdialog>
<action name="editserver" method="#{login.editserver}">
<transition outcome="editserver" target="editser" />
</action>
</dialog>
<subdialog
<dialog name="edit" start="activateEdit"
dataClassName="xxx.Server">
<action name="activateEdit"
method="#{updatesm.activateEdit}">
<transition outcome="editsuccess" target="ed"/>
</action>
<view viewId="/serverlist.jsp" name="ed">
<transition outcome="editserver" target="finishEdit" />
</view>
<action name="finishEdit" method="#{updatesm.editfinish}">
<transition outcome="finishEdit" target="exit" />
</action>
<end name="exit"/>
</dialog>
"#{login.editserver}" had to call method="#{updatesm.activateEdit} to enter
in the subdialog and the i have to call the method="#{updatesm.editfinish}">
in order to terminate my action.
sam
i got the tunnel view!
craigmcc wrote:
>
> 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!!
>>
>
> This sounds like it might be the same sort of issue Mario is having
> with the data bean in subdialogs, but it depends on what "the
> subdialog didn't work" means. Could you describe what you expected,
> and what you observed, in a little more detail?
>
> Craig
>
>
>>
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/transition-between-2-Dialog-tf3885103.html#a11012245
>> Sent from the Shale - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/transition-between-2-Dialog-tf3885103.html#a11014616
Sent from the Shale - User mailing list archive at Nabble.com.