0 Replies Latest reply on Jun 23, 2007 10:52 AM by Sergey Koshcheyev

    Suggestion <page component=

    Sergey Koshcheyev Newbie

      I think it would be a nice addition to the page actions mechanism if it was possible to specify that a certain component is to be instantiated when the page is visited, unless the component already exists. This would allow me to put some initialization code for a page into that component's @Create method and outject variables that the page would then display.

      On subsequent requests the creation code would not be executed since the component would exist already.

      Depending on the component's scope, it would either get recreated every time the user revisits the page, or only once per conversation.

      This is currently achievable by specifying an empty method of the component as the page action, but I think it would be nicer if I this was supported directly.

      Does this sound reasonable or am I talking nonsense?