[ 
https://issues.apache.org/jira/browse/WICKET-1883?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Igor Vaynberg updated WICKET-1883:
----------------------------------

    Fix Version/s: 1.5-M2
                       (was: 1.5-M1)

> Refactor some constants in WebRequestCodingStrategy
> ---------------------------------------------------
>
>                 Key: WICKET-1883
>                 URL: https://issues.apache.org/jira/browse/WICKET-1883
>             Project: Wicket
>          Issue Type: Wish
>          Components: wicket
>            Reporter: Kirill Balyasnikov
>            Priority: Trivial
>             Fix For: 1.5-M2
>
>         Attachments: 1883-entire-interface.patch, 1883.patch
>
>
> I'm new to Wicket but as i see many people would like to hide the fact they 
> are using the framework due to security reasons. At this time wicket expose 
> some of it's internal structure via url's containing "wicket:", "interface" 
> and others. These strings are declared constants in WebRequestCodingStrategy:
> public static final String NAME_SPACE = "wicket:";
> public static final String INTERFACE_PARAMETER_NAME = NAME_SPACE + 
> "interface";
> public static final String BEHAVIOR_ID_PARAMETER_NAME = NAME_SPACE + 
> "behaviorId";
> public static final String BOOKMARKABLE_PAGE_PARAMETER_NAME = NAME_SPACE + 
> "bookmarkablePage";
> I propose to transform these constants to simple properties like:
> setNameSpace()
> setInterfaceParameterName()
> setBehaviorIdParameterName()
> As it seems to me such simple refactoring will not break backward 
> compatibility with previous versions of Wicket.

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

Reply via email to