Wrong list
–
Jody Garnett
On Friday, 7 October 2011 at 10:11 AM, Walter Deane wrote:
hey guys,
I am working on adding some pages to GeoServer for a project and I am receiving some Wicket exceptions related to properties.
I am fairly close to the standard tutorial set up so hopefully this is fairly minor.
My ApplicationContext.xml is the following.
My UsersPage.html is:
wicket:extend
Greetings, GeoServer User! My message for you is thanks for using GeoServer .
</wicket:extend>
My UsersPage.java is:
package com.lisasoft.parkinfo.admin.wicket;
import org.apache.wicket.markup.html.basic.Label;
import org.geoserver.web.GeoServerBasePage;public class UsersPage extends GeoServerBasePage {
public UsersPage(){
add(new Label(“label”, “Hello World”));
}
}My GeoServerApplication.properties file is:
com.lisasoft.parkinfo.admin.wicket.UsersPage.page.title=User List
com.lisasoft.parkinfo.admin.wicket.UsersPage.page.description=Page for viewing and selecting users from the ParkInfo system.The link is displaying in the menu so the property file is being used for the MenuPageInfo bean, but when I click on the User List link i get the following error:
org.apache.wicket.WicketRuntimeException: Property ‘title’ not found in property files. Markup: [markup = jar:file:/C:/Program%20Files%20(x86)/GeoServer%202.1.0/webapps/geoserver/WEB-INF/lib/security-1.0-SNAPSHOT.jar!/com/lisasoft/parkinfo/admin/wicket/UsersPage.html
I have a look at the tutorial and don’t see anything that I have missed. I imagine my setup is correct since the link is displaying. Is there something I am missing?
Thanks,
Walter Deane
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel