Sorry, I musunderstood your original question.
Unfortunately this is a side effect of how you are plugging into GeoServer. You are bypassing the regular way ows services plug into GeoServer so this can not really be expected to work. The way the links are generated are by looking up org.geoserver.ows.ServiceDescriptor instances from the spring context. But you don't use those because you don't use the regular spring dispatcher.
So if you want to hook up to the ui i suggest you add a new page from the main page with the regular menu page adding mechanism described in the link. And then create links to the capabilities documents of your services from there.
2010/1/20 Justin Deoliveira <jdeolive@anonymised.com <mailto:jdeolive@anonymised.com>>
Hi,
The reason noone has responded is simply becase people are busy.
Sorry , I just want to make sure if I have made some mistakes.
This list is not guaranteed support, it is actually mostly people
doing it in there spare time. If you absolutely require answers to
your questions quickly the only thing you can do is purchase
commercial support from a company that offers it.
That said, what you want to do is pretty clearly documented in the
developer guide.
http://docs.geoserver.org/2.0.x/en/developer/programming-guide/wicket-pages/index.html
I am afraid you do not know my requirement.
------------------------
ListView view = new ListView("services",* getServices()*) {
@Override
protected void populateItem(ListItem item) {
ServiceInfo service = (ServiceInfo) item.getModelObject();
final String serviceId = service.getId();
item.add( new Label("service", service.getId().toUpperCase()) );
item.add( new ListView( "versions", service.getVersions()) {
@Override
protected void populateItem(ListItem item) {
Version version = (Version) item.getModelObject();
ExternalLink link = new ExternalLink("link", "../ows?service=" + serviceId
+ "&version=" + version.toString() + "&request=GetCapabilities");
item.add( link );
link.add( new Label( "version", version.toString() ) );
}
});
}
};
add(view);
-------------------------
The above is the related codes of the service link in the home page.
That's to say the wcs wms wfs are not add manually but by the *getServcies() *method. I think the services are configed in the config xml files, so they can be got by the getServices()method.
And I want the sos( I added using ServletWrappedController) displayed in the page by the same manner(Just config my sos in the applicationContext.xml rather than modify the .java code of the GeoserverHomePage).
Is it clear?
-Justin
maven apache wrote:
Hi:
I want to know why no one reply my thread since this thread is
post long ago.
If I have do something wrong, please let me know, ok?
2010/1/17 maven apache <apachemaven0@anonymised.com
<mailto:apachemaven0@anonymised.com> <mailto:apachemaven0@anonymised.com
<mailto:apachemaven0@anonymised.com>>>
2010/1/15 maven apache <apachemaven0@anonymised.com
<mailto:apachemaven0@anonymised.com>
<mailto:apachemaven0@anonymised.com>>
Hi :
I have add my sos to geoserver by using the
ServletWrappController. And I can visit my sos by
"http://localhost/geoserver/sos?...."\.
However I found there are three services links (wcs wms
and wfs)
in the geoserverHomepage,and I want to the sos link there
also.
So I goto the sources codes and I found that the services are
not added directly in the code, it is injected by the
other class.
It seems that the GeoserverExtension is the key point, but it
has a close relationship to the spring framework, so I
can not
understand it clearly 
I wonder anyone can give me some explaination of the
GeoserverExtension.
Also I try to add some sos back pages to config the sos
service
using the geoserver inner mechanism.
Looking forward for reply@!
Thanks.
Simply, the docs of geoserver 2.0.x has shown how to create a new
service named Hello,and now how to add this service link to the
geoserver homepage?
BTW,if anybody think there is any problem in my post(for
example no
need to ask this question..) please let me know.
Thanks.
------------------------------------------------------------------------
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently
attracts the
world's best and brightest in the field, creating opportunities
for Conference
attendees to learn about information security's most important
issues through
interactions with peers, luminaries and emerging and established
companies.
http://p.sf.net/sfu/rsaconf-dev2dev
------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
<mailto:Geoserver-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/geoserver-devel
-- Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------
------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
------------------------------------------------------------------------
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel