Home All Groups Group Topic Archive Search About

variable value becoming null

Author
25 Sep 2006 11:44 PM
Jay
Hi,
I am working on a web service project. To start with i get the data frm
the web service and populate all the objects with the values received.
In the second step i display the data received on the browser.
In the third phase when i try to use the objects to post data to the
web service i notice that the objects dont have any value in them. why
is this happening.??
thanks

Author
26 Sep 2006 12:36 AM
GhostInAK
Hello Jay,

This would be because your daemon escaped from the summoning pool.

-Boo

Show quoteHide quote
> Hi,
> I am working on a web service project. To start with i get the data
> frm
> the web service and populate all the objects with the values received.
> In the second step i display the data received on the browser.
> In the third phase when i try to use the objects to post data to the
> web service i notice that the objects dont have any value in them. why
> is this happening.??
> thanks
Author
26 Sep 2006 12:20 PM
Kerry Moorman
Jay,

How are you persisting the objects? Session variables? Database? Back and
forth with the page via hidden fields?

Kerry Moorman


Show quoteHide quote
"Jay" wrote:

> Hi,
> I am working on a web service project. To start with i get the data frm
> the web service and populate all the objects with the values received.
> In the second step i display the data received on the browser.
> In the third phase when i try to use the objects to post data to the
> web service i notice that the objects dont have any value in them. why
> is this happening.??
> thanks
>
>
Author
26 Sep 2006 4:20 PM
Jay
I did a bit more research and the solution i came up with is that the
values are lost once the post back is done. Now I am trying to
implement ispostback so that i can get the original values for my
objects. Any clue on how that has to be done

thanks
Jay
Kerry Moorman wrote:
Show quoteHide quote
> Jay,
>
> How are you persisting the objects? Session variables? Database? Back and
> forth with the page via hidden fields?
>
> Kerry Moorman
>
>
> "Jay" wrote:
>
> > Hi,
> > I am working on a web service project. To start with i get the data frm
> > the web service and populate all the objects with the values received.
> > In the second step i display the data received on the browser.
> > In the third phase when i try to use the objects to post data to the
> > web service i notice that the objects dont have any value in them. why
> > is this happening.??
> > thanks
> >
> >