Skip to content

Commit

Permalink
feat: rename georchestra iframe to webcomponent
Browse files Browse the repository at this point in the history
  • Loading branch information
f-necas committed Nov 27, 2023
1 parent fa3cc42 commit 525d50c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import org.geoserver.web.GeoServerApplication;
import org.geotools.util.logging.Logging;

public class GeorchestraHeaderIframe extends WebComponent {
public class GeorchestraHeaderWebComponent extends WebComponent {

private String headerUrl;
private String headerHeight;
private String legacyHeader;

private static Logger LOGGER = Logging.getLogger(GeorchestraHeaderIframe.class);
private static Logger LOGGER = Logging.getLogger(GeorchestraHeaderWebComponent.class);

private void init() {
headerHeight = getGeoServerApplication().getBean("georchestraHeaderHeight").toString();
Expand All @@ -24,7 +24,7 @@ protected GeoServerApplication getGeoServerApplication() {
return (GeoServerApplication) getApplication();
}

public GeorchestraHeaderIframe(String id) {
public GeorchestraHeaderWebComponent(String id) {
super(id);
init();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
</wicket:head>
<body>
<div id="go_head">
<geor-header wicket:id="georchestraIframe"></geor-header>
<geor-header wicket:id="georchestraWebComponent"></geor-header>
</div>
<div id="main">
<div class="wrap selfclear">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
import org.apache.wicket.request.resource.JavaScriptResourceReference;
import org.apache.wicket.request.resource.PackageResourceReference;
import org.apache.wicket.resource.JQueryResourceReference;
import org.georchestra.GeorchestraHeaderIframe;
import org.georchestra.GeorchestraHeaderWebComponent;
import org.geoserver.catalog.Catalog;
import org.geoserver.config.GeoServer;
import org.geoserver.ows.URLMangler;
Expand Down Expand Up @@ -108,7 +108,7 @@ protected GeoServerBasePage() {
}

protected void commonBaseInit() {
add(new GeorchestraHeaderIframe("georchestraIframe"));
add(new GeorchestraHeaderWebComponent("georchestraWebComponent"));
// lookup for a pluggable favicon
PackageResourceReference faviconReference = null;
List<HeaderContribution> cssContribs =
Expand Down

0 comments on commit 525d50c

Please sign in to comment.