Examples of LinkPanel


Examples of org.apache.syncope.console.wicket.markup.html.form.LinkPanel

                                editConnectorWin.show(target);
                            }
                        };
                        editLink.add(new Label("linkTitle", rowModel.getObject().getConnectorDisplayName()));

                        LinkPanel editConnPanel = new LinkPanel(componentId);
                        editConnPanel.add(editLink);

                        cellItem.add(editConnPanel);

                        MetaDataRoleAuthorizationStrategy.authorize(editConnPanel, ENABLE, xmlRolesReader.
                                getAllAllowedRoles(
View Full Code Here

Examples of org.qi4j.sample.dcicargo.sample_a.infrastructure.wicket.link.LinkPanel

        add( new Label( "destination", routeSpecification.destination()
            .get()
            .getString() ).add( new CorrectColor( isMisrouted ) ) );
        add( new Label( "deadline", Model.of( routeSpecification.arrivalDeadline().get() ) ) );
        add( new Label( "routingStatus", routingStatus.toString() ).add( new ErrorColor( isMisrouted ) ) );
        add( new LinkPanel( "changeDestination", ChangeDestinationPage.class, trackingId, "Change destination" ) );

        if( routingStatus == RoutingStatus.NOT_ROUTED )
        {
            add( new LinkPanel( "routingAction", RouteCargoPage.class, trackingId, "Route" ) );
            add( new Label( "delivery" ) );
            add( new Label( "itinerary" ) );
        }
        else if( routingStatus == RoutingStatus.ROUTED )
        {
            add( new LinkPanel( "routingAction", RouteCargoPage.class, trackingId, "Re-route" ) );
            add( new DeliveryFragment( delivery ) );
            add( new ItineraryFragment( cargoModel, routingStatus ) );
        }
        else if( routingStatus == RoutingStatus.MISROUTED )
        {
            add( new LinkPanel( "routingAction", RouteCargoPage.class, trackingId, "Re-route" ) );
            add( new DeliveryFragment( delivery ) );
            add( new ItineraryFragment( cargoModel, routingStatus ) );
        }
        else
        {
View Full Code Here

Examples of org.qi4j.sample.dcicargo.sample_b.infrastructure.wicket.link.LinkPanel

                HandlingEvent event = delivery.lastHandlingEvent().get();
                boolean inCustoms = event != null && event.handlingEventType().get() == CUSTOMS;

                // Output

                item.add( new LinkPanel( "trackingId", CargoDetailsPage.class, trackingId ) );

                item.add( new Label( "origin", origin ) );

                item.add( new Label( "destination", destination ) );
View Full Code Here

Examples of org.zeroexchange.web.components.link.LinkPanel

            private static final long serialVersionUID = 1L;

            @Override
            public Component getActionComponent(String componentId,
                    final Resource resource) {
                return new LinkPanel(componentId,
                    new ResourceModel(MKEY_MANAGE_LINK_SIGN)) {
                        private static final long serialVersionUID = 1L;

                        /**
                         * {@inheritDoc}
 
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.panel.LinkPanel

  public void populateItem(Item<ICellPopulator<IResource>> item,
      String componentId, IModel<IResource> model) {
    IResource targetResource = model.getObject();
    if (targetResource instanceof IDocument) {
      IDocument page = (IDocument)targetResource;
      item.add(new LinkPanel(componentId, page.getURI(), page.getLabel()));
    } else {
      item.add(new LinkPanel(componentId, targetResource, createLabelModel(model)));
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.