##### Coverage Report - jp.co.y_net.amm.page.ErrorPage

Classes in this File | Line Coverage | Branch Coverage | Complexity

ErrorPage

0% | 0/5

N/A | N/A

1.0;1

ErrorPage$1

0% | 0/3

0% | 0/2

1.0;1

1

0

     package jp.co.y_net.amm.page;

2

3

     import jp.co.y_net.amm.common.ResourceReader;

4

5

     import org.apache.wicket.markup.html.WebMarkupContainer;

6

     import org.apache.wicket.markup.html.link.ExternalLink;

7

     import org.apache.wicket.markup.html.panel.FeedbackPanel;

8

9

     public class ErrorPage extends AppPage{

10

0

         public ErrorPage() {

11

             /* フィードバックパネル設置 */

12

0

             add(new FeedbackPanel("feedback"));

13

14

             /* 標準メッセージ */

15

0

             add(new WebMarkupContainer("starndardmsg") {

16

                 @Override

17

                 public boolean isVisible() {

18

0

                     return getPage().hasFeedbackMessage() == false;

19

                 }

20

             });

21

22

0

             add(new ExternalLink("goTop",ResourceReader.getStringQuick("url.back.top")));

23

0

         }

24

     //    @Override

25

     //    protected boolean needLogin() {

26

     //        return false;

27

     //    }

28

     }