on 12-13-2007 7:06 PM
Hi Gurus,
Need your assistance with an issue that I am facing.
I am developing an ESS application and it has two perspectives.
1st Perspective contains - View1 and NavView
2nd Perspectice contains - View2 and NavView
I have created a dynamic ValueNode in View1 and on navigating to View2, I want the data in the ValueNode to be updated into a ModelNode.
The problem I am facing is,
1. I have the <b>actionOnNavigation</b> in the <b>NavView</b> whereas my data is in the <b>View1</b>.
I tried setting the data into ModelNode in the <i>wdDoExit</i> of <b>View1</b>, but it doesnt help.
I have the <i>Life_Span</i> property set to "<i>WHEN_VISIBLE</i>", but still, dont think the wdDoExit() of <b>View1</b> is being called.
Any suggestions on how/ where I can set the data into my ModelNode?
Thanks in advance.
Anjana R.
Message was edited by:
Anjana Raghav
Hi anjana,
Your questions is kind of confusing. You are saying two perspective, I think its not valid. May be you have two different component controllers. Can you repost clearly.
Regards
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Gurus,
Any idea on this question?
I would like to know where I can set my data into the ModelNode before Navigating away from that view? <i>The data is in a dynamic context.</i>
I can't write it on the onAction() method, coz action is defined in another view.
Any suggestions? Is it a flaw in the design?
Thanks in advance
Anjana R.
Yes Satyajit, you got the scenario right.
The Model Node is accessible to both the components. But the data that I need to upload to model is only in Component1.
NavView is the View that I am using to contain all the Navigation buttons, and depending upon the Perspective, I m showing the relevant ones.
Thanks for your reply and time.
Anjana R.
Hi,
K you have ur data in a value node in View 1. You need to execute the model in Nav view with the data of ur View 1. right???
If so do you have values pre filled in the value node in view 1? Then just do a context mapping between ur View1 and Nav View via Component controller. Now ur data will be available in the Nav view automatically.
Regards,
Nagarajan.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.