Package de.agilecoders.wicket.core.markup.html.bootstrap.navigation

Examples of de.agilecoders.wicket.core.markup.html.bootstrap.navigation.Breadcrumb


        form.add(new BootstrapCheckbox("checkbox", null, Model.of("Checkbox demo")));
        form.add(new BootstrapRadioChoice<String>("radio", Lists.newArrayList("Radio One", "Radio Two")));
    }

    protected Component newBreadcrumb(String markupId) {
        Breadcrumb breadcrumb = new Breadcrumb(markupId);
        breadcrumb.setActive(new BreadCrumbPanel("breadcrumbid", breadcrumb) {
            @Override
            public IModel<String> getTitle() {
                return Model.of("Title");
            }
        });
View Full Code Here


@Category(IntegrationTest.class)
public class BreadcrumbTest extends WicketApplicationTest {

    @Test(expected = MarkupException.class)
    public void correctTagNameIsAsserted() {
        final Breadcrumb breadcrumb = new Breadcrumb("breadcrumb") {
            @Override
            protected void onComponentTag(ComponentTag tag) {
                tag.setName("div");
                super.onComponentTag(tag);
            }
View Full Code Here

        tester().startComponentInPage(breadcrumb);
    }

    @Test
    public void correctClassNameIsSet() {
        final Breadcrumb breadcrumb = new Breadcrumb("breadcrumb") {
            @Override
            protected void onComponentTag(ComponentTag tag) {
                tag.setName("ul");
                super.onComponentTag(tag);
            }
View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.markup.html.bootstrap.navigation.Breadcrumb

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.