Skip to content

Commit

Permalink
Line up example brand provider with changes in API.
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Dywicki <luke@code-house.org>

git-svn-id: https://svn.apache.org/repos/asf/karaf/webconsole/trunk@1225181 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
splatch committed Dec 28, 2011
1 parent 4bac2a9 commit 7567b0b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
import java.util.List;

import org.apache.karaf.webconsole.core.brand.BrandProvider;
import org.apache.wicket.Page;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.ResourceReference;
import org.apache.wicket.behavior.IBehavior;
import org.apache.wicket.markup.html.CSSPackageResource;
Expand All @@ -40,4 +42,7 @@ public List<IBehavior> getBehaviors() {
return behaviors;
}

public void modify(Page page) {
page.addOrReplace(new Label("footer", "Branded WebConsole"));
}
}

0 comments on commit 7567b0b

Please sign in to comment.