Is it happening on one specific page only? What "version" (trunk? RC3?) of MonoRail are you using?
On Mon, Jul 6, 2009 at 9:12 PM, Brian Chan <[email protected]> wrote: > I'm not sure what other information to give. It happens completely > randomly. I open the page once, it works fine. The next time the page has > a bunch of blanks where the data would have come from the property bag. I > load the page again and everything is okay. This even affects the resource > collection for the view. > > I'm sorry, but can you please suggest what other info would make it easier > to debug? > > Thanks. > > > On Fri, Jun 26, 2009 at 3:37 PM, Jason Meckley <[email protected]>wrote: > >> >> I echo Roelof's bluntness :) >> >> That said chances are the problem is what you are doing after you >> place the items in the PropertyBag. There are 3 primary containers >> PropertyBag, Flash and Session. >> The PropertyBag is where you store what you want to render on the >> current view. >> Flash is used most often with returning error messages (not sure why, >> but it's what all the examples show). I think is survives redirects >> within the same request. >> Session is just that, Session. Use sparingly. >> >> if you load the property bag and then redirect to another, url, >> action, controller, etc. the property bag is lost. either pass the >> values via Flash or through the redirect overload. >> RedirectToAction(name, dictionary); >> >> On Jun 26, 12:23 pm, Roelof Blom <[email protected]> wrote: >> > Magic? The weather? Strange fields of radiation perhaps? >> > >> > Honestly, if you want us to help you you need to provide more info than >> you >> > just did. >> > >> > -- Roelof >> > >> > On Fri, Jun 26, 2009 at 6:03 PM, Brian Chan <[email protected]> wrote: >> > > Hi all, >> > >> > > I'm currently using Monorail for an application. It seems that >> objects >> > > placed in the property bag vanish randomly and are no longer present >> when >> > > processing the view. Is there any reason this might be happening? >> > >> > > Thanks. >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Castle Project Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/castle-project-users?hl=en -~----------~----~----~----~------~----~------~--~---
