google-code-export / wiquery

Automatically exported from code.google.com/p/wiquery
MIT License
1 stars 1 forks source link

When WiQuerySettings.get() fails, the error message says to use WiQueryInstantiationListener which is deprecated #158

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add "WiQuerySettings.get();" to Application.init method.
2. Start the application
3. See this error: org.apache.wicket.WicketRuntimeException: There is no 
WiQueryInstantiationListener attached to the application main
    at org.odlabs.wiquery.core.commons.WiQuerySettings.get(WiQuerySettings.java:62)
    [...]

What is the expected output? What do you see instead?
I would rather see this work without error, but at least the error no longer 
makes sense because WiQueryInstantiationListener is deprecated and no longer 
required.

What version of the product are you using?
    wiquery 1.2.1

Original issue reported on code.google.com by randypo...@gmail.com on 4 Feb 2011 at 7:23

GoogleCodeExporter commented 9 years ago
After learning more about how to configure settings in WiQuery with 
IWiQuerySettings & WiQuerySettings, I understand that what I was trying to do 
(configuring WiQuery inside my app's init) isn't the right way to do it. Please 
consider this ticket just a request to change the text in the error message.

Original comment by randypo...@gmail.com on 5 Feb 2011 at 1:30

GoogleCodeExporter commented 9 years ago

Original comment by roche....@gmail.com on 5 Feb 2011 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by roche....@gmail.com on 5 Feb 2011 at 3:18

GoogleCodeExporter commented 9 years ago

Original comment by hielke.hoeve on 7 Feb 2011 at 9:49