cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rice Yeh (JIRA)" <>
Subject [jira] Updated: (COCOON-1831) Passing parameters to sub calls
Date Fri, 28 Dec 2007 16:46:43 GMT


Rice Yeh updated COCOON-1831:

    Attachment: BlockCallHttpServletRequest.patch

  After a more detail look at the code, I think that iteration over call stack is necessary
in implementing getValues() and getNames() method.  For Object getValue(String name), recursive
call is enough. But for getting all values or all names for the whole values in the calling
chain, iterating each call frame to collect their values is necessary. However, by implementing
these 2 methods (getValues() and getNames()), then there is no such thing as values hiding.

  Also I find some bug in my previous patch. So I have the new implementation attached for


> Passing parameters to sub calls
> -------------------------------
>                 Key: COCOON-1831
>                 URL:
>             Project: Cocoon
>          Issue Type: New Feature
>          Components: - Servlet service framework
>            Reporter: Reinhard Poetz
>            Assignee: Reinhard Poetz
>         Attachments: BlockCallHttpServletRequest.patch, cocoon-servlet-service-impl.patch,
> When a servlet service request is created, parameters from the parent request are ignored.
This means that the sub request is performed as a fresh and clean new call. This would avoid
any possible side-effects, but is very inconvenient in practice because you don't even know
the request header parameters from the original (external) request. Additionally you can only
pass information which is part of the returned stream, which is e.g. a  blocker to use the
servlet protocol together with the control flow implementations. Those make use of special
request parameters to transport the model ("bizdata") to the view layer. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message