I would give $_REQUEST a try, yet I try to ommit passing data using GET or POST.
This is really weird issue with the placeholders. I set one, I'm able to print its value using chunk, I'm able to print its value within the same snippet by using:
$modx->getPlaceholder('message');
But I can't get its value programatically in any other snippet even though none of the snippets on the page are cached.
It looks like I'm stuck at the point where I can't move forward. Yet maybe there is another workaround?
The thing is that the notification message saved as variable is set to a placeholder, then the placeholder [[+message]] is placed in a chunk which is at the end is outputed using snippet.
What I want to achieve is to control the snippet which outputs chunk, so that it does not outup styled message chunk if the message (a placeholder from now on) is empty...