On 16.04.2008 07:24, nanomonk wrote:
Hmm.. no, I need to set status code according to some events during executing my own serializer, for example: if all ok done - status code 1, some error - 2, another error - 3... so, can I to access to Response object from serializer(exactly via "response.setStatus(1)" in a code)? if not - maybe another true-way is exist?
Isn't the serializer rather late for such logic? Can you determine this value beforehands, e.g. in an Action?
Joerg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
