diff options
author | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-23 07:58:24 +0000 |
---|---|---|
committer | antelder <antelder@13f79535-47bb-0310-9956-ffa450edef68> | 2009-03-23 07:58:24 +0000 |
commit | 25ecf5fd25c607f964959e562a8ebb4c211fe5b2 (patch) | |
tree | 6e431306924752a83a5c4c0174cfc1cbea7fb6d0 /sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java | |
parent | d2a69e96416b2d8380743e443cebc03c87c6bf3c (diff) |
Remove old testing sandbox sca trunk
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@757342 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java')
-rw-r--r-- | sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java b/sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java deleted file mode 100644 index 644d6add49..0000000000 --- a/sandbox/ant/sca/trunk/samples/webapps/helloworld-wicket/src/main/java/sample/wicket/HomePage.java +++ /dev/null @@ -1,48 +0,0 @@ -package sample.wicket;
-
-import org.apache.wicket.markup.html.WebPage;
-import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.html.link.Link;
-import org.apache.wicket.model.AbstractReadOnlyModel;
-import org.oasisopen.sca.annotation.Reference;
-
-/**
- * Everybody's favorite example (Hello World), modified to use Guice.
- *
- * @author Alastair Maw
- */
-public class HomePage extends WebPage
-{
- @Reference
- IMyService service;
-
- private String labelValue = "<not yet initialized>";
-
- /**
- * Constructor
- */
- public HomePage()
- {
- add(new Link("link")
- {
- /**
- * @see org.apache.wicket.markup.html.link.Link#onClick()
- */
- @Override
- public void onClick()
- {
- labelValue = service.getHelloWorldText();
- }
- });
- add(new Label("message", new AbstractReadOnlyModel<String>()
- {
-
- @Override
- public String getObject()
- {
- return labelValue;
- }
-
- }));
- }
-}
\ No newline at end of file |