on 03-06-2007 8:32 AM
to describe my situation
i want to reset my context node that have value to blank
Context node
PRNode -share across several views.
-prno
-material
-material_grp
-short_text
-quantity
i use this statement ...cannot reset........
wdContext.getContext().reset(true);
main.view
input pr no : xxxxxxxxx
[show detail]
detail view
show the table
material | material group | short text | quantity |checkbox
xxx xxx xx xx approve
xxx xxx xx xx reject
[back] [approve] [reject]
first time when i click the show detail it shows the content...after that when i want to navigate back to main and enter different pr no...
it still showing the previous detail....
Check whether u have invalidated output node or not after execute statement.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
You are using view A nad navigating to view B.
created outbound plug for A and inbound plug t o B. in View A -->wdFire(inboundplugfromA) method {
wdContext.getContext().reset(true);
}
that will clear the context.
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yzme,
Try this method:
public void EmptyNode( com.sap.tc.webdynpro.progmodel.api.IWDNode node )
{
//@@begin EmptyNode()
while (!node.isEmpty())
node.removeElement(node.getElementAt(0));
//@@end
}
to reset your node.
Regards,
Gianluca Barile
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
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.