Is there a away to pass attributes from a custom Processor to a model?  

I have been doing this in the  processor class' internalProcess method:

[code]MgnlContext.setAttribute("search",parameters);[/code]

And this in the model class' execute method:

[code] String searchQuery = ((String) 
MgnlContext.getAttribute("search"));[/code]

But, the data is lost between the requests (since it's a POST-REDIRECT-GET). Is 
there any way to achieve this [i][b]without [/b][/i] storing the attributes on 
the session?

Thanks.

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=ea037530-1e1b-49c4-ac9a-e03b65ed241c


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to