Bob Harner wrote:
On 6/6/06, Jörn Nettingsmeier <[EMAIL PROTECTED]> wrote:
Bob Harner wrote:
> See http://issues.apache.org/bugzilla/show_bug.cgi?id=38383 which
> contains a fix for (I think) the same kind of problem that existed on
> the login page.

ah, cool. out of curiosity: why did you do this:

<form method="post" action="?lenya.usecase=login&amp;lenya.step=login">

i.e. propagate some parameters via GET? i thought all of cocoon's
getParameter() magic was transparent wrt the method?

It has to be mixed like this because the usecase matching in the
pipeline only looks at GET parameters.

Details: http://article.gmane.org/gmane.comp.cms.lenya.user/9287

YUCK! how disgusting.
are you sure this is still the case with cocoon 2.1.9-dev? in the code i see this:

public class WildcardRequestParameterMatcher
            extends AbstractWildcardMatcher
{
    private String defaultParam;

<..>
    protected String getMatchString(
           Map objectModel, Parameters parameters
    ) {

<..>
        String result = ObjectModelHelper.getRequest(
                   objectModel).getParameter(paramName);
        if (result == null) {
            getLogger().debug("Parameter '" + paramName + "' not set.");
        }

        return result;
    }
}

i'm pretty sure that getParameter() works on both, but i can't test right now. can anyone comment on this?



--
"Open source takes the bullshit out of software."
        - Charles Ferguson on TechnologyReview.com

--
Jörn Nettingsmeier, EDV-Administrator
Institut für Politikwissenschaft
Universität Duisburg-Essen, Standort Duisburg
Mail: [EMAIL PROTECTED], Telefon: 0203/379-2736

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to