I'm trying to improve the client:page scope and prevent it from adding state to PageLinks that lead to other pages. I figured this should work if I examine the ServiceEncoding parameters in shouldEncodeState. But almost all encoding parameters are null... Have I completely misunderstood how this works?

Martin

public boolean shouldEncodeState(ServiceEncoding encoding, String pageName, PersistentPropertyData data)
{
        for (String param : encoding.getParameterNames())
        {
                // All the params are here (service, page, sp, etc...)
                // but they're all null.. :\
                String value = encoding.getParameterValue(param);
        }


        // Match "service" and "page" parameters with the current
        // request cycle to decide whether encoding is needed
}

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

Reply via email to