Seems like the only ServiceEncoding parameters that aren't null are "sp"
for the direct service. Does anybody know how this is supposed to work?
On Mon, 25 Sep 2006 00:02:35 +0200, Martin Strand
<[EMAIL PROTECTED]> wrote:
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]