on 09-28-2007 4:18 AM
Hi all,
I am having two views. I the first i am having StudentID , if i select the ID in the first view based on the selection corresponding details will be passed to second view as supply function.
But it is displaying the first value for all the ID's i am selection.Will the supply function called every time i am changing the selection or only for the first time....
Thanks and regards,
karthik
hi all ,
Thanks for all ur replies.
Finally i got the answer.
To call the supply function again and again, Set the "Life Span" property of a view to 'When-Visible'. This will end the view every time when u leave and create a new view session when returning.
Once again Thanks for all.
Thanks&Regards,
karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
This method is called when the node is invalid and the collection is
requested. This may occur during any phase, even at the beginning to
initialize the node. The method is expected to fill the node
collection using IWDNode.bind(Collection) or
IWDNode.addElement(IWDNodeElement).
@param node the node that is to be filled
@param parentElement The element that this node is a child of. May be
null if there is none.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Karthi,
The supply function would be called everytime you make selection. Copy your supply function code if possible.
Warm Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
This is my code..
IPublicstudent.IStuNode modelNode = wdContext.nodeStu();
int size = modelNode.size();
for (int i = 0; i < size; i++)
{
IPublicstudent.IStuElement modelElement = modelNode.getStuElementAt (i);
String stuID = modelElement.getstudentid();
IWDNodeElement newElement = node.createElement();
newElement.setAttributeValue("StuID", Stuid);
node.addElement(newElement);
}
cardinality-->0..n
selection-->0..1
singleton-->true
Regards,
karthik.
Message was edited by:
karthi keyan
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.