• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

knowledgepixels / nanodash / 19229148803

10 Nov 2025 10:52AM UTC coverage: 13.973% (-0.8%) from 14.759%
19229148803

push

github

web-flow
Merge pull request #280 from knowledgepixels/276-news-items

276 news items

514 of 4630 branches covered (11.1%)

Branch coverage included in aggregate %.

1333 of 8588 relevant lines covered (15.52%)

0.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
src/main/java/com/knowledgepixels/nanodash/page/ResultTablePage.java
1
package com.knowledgepixels.nanodash.page;
2

3
import com.knowledgepixels.nanodash.component.QueryResultTableBuilder;
4
import com.knowledgepixels.nanodash.component.TitleBar;
5
import org.apache.wicket.markup.html.basic.Label;
6
import org.apache.wicket.request.mapper.parameter.PageParameters;
7
import org.nanopub.extra.services.QueryRef;
8

9
/**
10
 * ResultTablePage displays the result of a query in a table format.
11
 */
12
public class ResultTablePage extends NanodashPage {
13

14
    /**
15
     * The mount path for this page.
16
     */
17
    public static final String MOUNT_PATH = "/resulttable";
18

19
    private final String query;
20

21
    /**
22
     * {@inheritDoc}
23
     */
24
    @Override
25
    public String getMountPath() {
26
        return MOUNT_PATH;
×
27
    }
28

29
    /**
30
     * Constructor for ResultTablePage.
31
     *
32
     * @param parameters Page parameters containing the query to be executed.
33
     */
34
    public ResultTablePage(final PageParameters parameters) {
35
        super(parameters);
×
36

37
        query = parameters.get("query").toString();
×
38
        add(new TitleBar("titlebar", this, null));
×
39
        final String shortName = query.replaceFirst("^.*/", "");
×
40
        add(new Label("pagetitle", shortName + " (result table) | nanodash"));
×
41

42
        add(QueryResultTableBuilder.create("table", new QueryRef(query), 20).build());
×
43

44
    }
×
45

46
    /**
47
     * <p>hasAutoRefreshEnabled.</p>
48
     *
49
     * @return a boolean
50
     */
51
    protected boolean hasAutoRefreshEnabled() {
52
        return true;
×
53
    }
54

55
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc