web.xml context-param is non-unique
-----------------------------------

                 Key: WICKET-1317
                 URL: https://issues.apache.org/jira/browse/WICKET-1317
             Project: Wicket
          Issue Type: Improvement
          Components: wicket
    Affects Versions: 1.3.0-final
            Reporter: David Peterson
            Priority: Minor


I note tha the current web.xml configuration to push wicket into dev mode is:

<context-param>
  <param-name>configuration</param-name>
  <param-value>development</param-value>
</context-param>


Now shoot me down if you believe this to be a trivial objection, but I note 
that this wicket <param-name> string is very generic, and certainly cannot be 
guaranteed to be unique. It could easily collide with another component's 
"configuration" setting (though that would be an equally poorly named 
param-name).

May I suggest this be changed to:

<context-param>
  <param-name>wicket.configuration</param-name>
  <param-value>development</param-value>
</context-param>


I have tried to mark this issue "low key" as I don't want to ruffle feathers in 
my first wicket bug report ;)


-- 
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