This content has been marked as final.
Show 3 replies
-
1. Re: View doesn't render model data sometimes
matt.drees May 8, 2008 7:13 AM (in response to fijaicairo)A shot in the dark...
I've seen some people misuse stateless beans, and trying to store stuff in them. You get away with it sometimes in development, because you often get back the same bean instance. Are you doing anything like this?
-
2. Re: View doesn't render model data sometimes
fijaicairo May 9, 2008 1:14 AM (in response to fijaicairo)Thanks for your reply Matt. We aren't trying to store anything beyond a single event. These views are read only and rather simple. All they actions do is get the xml and initialize models with the xml data.
The essence of our action methods is illustrated with the following lines.
XmlRequest req = new OrderInfoRequest("orderId", "blah", "blah"); XmlResponse res = RemoteService.makeXmlRequest("orderId"); //orderInfo is outjected orderInfo = orderInfo.setXmlData(res); return "ORDER_INFO_DETAIL";
-
3. Re: View doesn't render model data sometimes
fijaicairo May 9, 2008 2:12 AM (in response to fijaicairo)Correction
//orderInfo is outjected orderInfo.setXmlData(res);