Skip to Content
author's profile photo
Former Member

Problem with Supply function

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 03:42 AM

    Hi Karthi,

    The supply function would be called everytime you make selection. Copy your supply function code if possible.

    Warm Regards,

    Murtuza

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Karthi,

      For the time being remove that supply function and follow the procedure mentioned in the reply above. Also, let me know the output.

      Regards,

      Murtuza

  • author's profile photo
    Former Member
    Posted on Sep 28, 2007 at 07:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 29, 2007 at 07:04 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded