Hi, I pushed some changes to the V3Prototype branch that prepare the URL infrastructure for the V3 parameter handling. The changes are fairly extensive, but I think everything should be in place now for the V3 API implementation.
The changes in detail: * URL encoding: - Consistently use the URLEncoder / URLDecoder classes for all character encoding needs - Window Ids, parameter names and parameter values are consistently URLEncoder-encoded (allows use of special characters) - Allow encoding of render, action, and resource parameters separately - All parameters encoded on the server or by the Portlet Hub are encoded in the path portion of the URL only - The query string is no longer used by Pluto. It is now only used if set by the client, for example during "GET" form submission, or if JavaScript on the client adds parameters - Parameters in the query string will override a parameter of the same name encoded in the path - Allows coding of an empty parameter array as well as null or empty string parameter values * JSR 286 parameter handling API - implemented errata changes - If the input value or values array to setRenderParameter is null, the parameter is deleted - If the input values array is not null, it can be of length 0, and the individual values in the array may be null or the empty string * Portlet Hub / demo - Updated the Portlet Hub implementation to use the new URL encoding scheme - Updated the Portlet Hub API to return a promise that is fulfilled when the action is complete - Added a PH Parameter Test portlet that can be used to verify that parameters are correctly set and read through the Portlet Hub ... And the Pluto test portlets continue to work unchanged, which is reassuring :-) Mit freundlichen Grüßen, / Kind regards, Scott Nicklous WebSphere Portal Standardization Lead & Technology Consultant Specification Lead, JSR 362 Portlet Specification 3.0 IBM Software Group, Application Integration Middleware IBM Deutschland Research & Development GmbH / Vorsitzender des Aufsichtsrats: Martina Koederitz / Geschäftsführung: Dirk Wittkopp Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294