Examples of voyages()


Examples of org.qi4j.sample.dcicargo.sample_a.communication.query.HandlingQueries.voyages()

            HandlingQueries fetch = new HandlingQueries();
            add( completionDateInput.setLabel( Model.of( "Completion" ) ) );
            add( new SelectorInForm( "trackingId", "Tracking Id", fetch.cargoIds(), this ).setRequired( true ) );
            add( new SelectorInForm( "eventType", "Event Type", fetch.eventTypes(), this ).setRequired( true ) );
            add( new SelectorInForm( "unLocode", "Location", new CommonQueries().unLocodes(), this ).setRequired( true ) );
            add( new SelectorInForm( "voyageNumber", "Voyage number", fetch.voyages(), this ) );

            add( new AjaxFallbackButton( "register", this )
            {
                @Override
                protected void onSubmit( AjaxRequestTarget target, Form<?> form )
View Full Code Here

Examples of org.qi4j.sample.dcicargo.sample_b.communication.query.HandlingQueries.voyages()

            voyageInput = new TextField<String>( "voyageInput", new PropertyModel<String>( this, "voyageNumber" ) );
            add( voyageInput.setLabel( Model.of( "Voyage" ) ).setOutputMarkupId( true ) );

            voyageSelector = new DropDownChoice<String>( "voyageSelector",
                                                         new PropertyModel<String>( this, "voyageSelected" ),
                                                         fetch.voyages() );
            voyageSelector.add( new AjaxFormComponentUpdatingBehavior( "onchange" )
            {
                @Override
                protected void onUpdate( AjaxRequestTarget target )
                {
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.