On 7/25/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > > i think i already proposed something like this long time ago > But i think it was to avoid collisions in the url and more expressive > urls? > > but this rename is fine by me > except the wicket:bookmarkablePage that can be shorted like > w:bookmarkablePage > because the urls really says that it is bookmarkable > (and all old urls must still work so wicket:bookmarkablePage must keep > working) > > better would it in my eyes if developers could customize this them self. > So have a settings class where they can be configured > We (servoy) already had this for a large part but this we do by completely > subclassing/copying WebRequestCodingStrategy > > so these should change: > > /** Name of interface target query parameter */ > public static final String NAME_SPACE = "wicket:"; > > /** Name of interface target query parameter */ > public static final String INTERFACE_PARAMETER_NAME = NAME_SPACE + > "interface"; > > /** AJAX query parameter name */ > public static final String BEHAVIOR_ID_PARAMETER_NAME = NAME_SPACE + > "behaviorId"; > > /** Parameter name used all over the place */ > public static final String BOOKMARKABLE_PAGE_PARAMETER_NAME = > NAME_SPACE > + "bookmarkablePage"; > > /** Pagemap parameter constant */ > public static final String PAGEMAP = NAME_SPACE + "pageMapName"; > > > into something like > > public static final String NAME_SPACE = Application.get > ().getSettings().getNameSpace(); > > But ofcourse directly that can't be done so i guess we need to push them > from our init phase >
+1 Much nicer solution. Frank
