Search in sources :

Example 1 with ExtraButton

use of org.kuali.kfs.kns.web.ui.ExtraButton in project cu-kfs by CU-CommunityApps.

the class IWantDocumentForm method createBackToCustomerDataButton.

/**
 * Creates the back button on the items page that points to the cutsomer data page
 *
 * @return
 */
protected ExtraButton createBackToCustomerDataButton() {
    ExtraButton clearButton = new ExtraButton();
    clearButton.setExtraButtonProperty("methodToCall.continueToCustomerData");
    clearButton.setExtraButtonSource("${" + KFSConstants.EXTERNALIZABLE_IMAGES_URL_KEY + "}buttonsmall_back.gif");
    clearButton.setExtraButtonAltText("Back");
    return clearButton;
}
Also used : ExtraButton(org.kuali.kfs.kns.web.ui.ExtraButton)

Example 2 with ExtraButton

use of org.kuali.kfs.kns.web.ui.ExtraButton in project cu-kfs by CU-CommunityApps.

the class IWantDocumentForm method createContinueToRoutingButton.

/**
 * Creates the continue button on the vendor page that points to the routing page
 *
 * @return
 */
protected ExtraButton createContinueToRoutingButton() {
    ExtraButton printButton = new ExtraButton();
    printButton.setExtraButtonProperty("methodToCall.continueToRouting");
    printButton.setExtraButtonSource("${" + KFSConstants.RICE_EXTERNALIZABLE_IMAGES_URL_KEY + "}buttonsmall_continue.gif");
    printButton.setExtraButtonAltText("Continue");
    return printButton;
}
Also used : ExtraButton(org.kuali.kfs.kns.web.ui.ExtraButton)

Example 3 with ExtraButton

use of org.kuali.kfs.kns.web.ui.ExtraButton in project cu-kfs by CU-CommunityApps.

the class IWantDocumentForm method createCreateRequisitionButton.

/**
 * Creates the button for creating the requisition. If JavaScript is enabled on the client,
 * then the requisition will be created in a new window/tab instead of the current one.
 *
 * @return
 */
protected ExtraButton createCreateRequisitionButton() {
    ExtraButton clearButton = new ExtraButton();
    clearButton.setExtraButtonProperty("methodToCall.createRequisition");
    clearButton.setExtraButtonSource("${" + KFSConstants.EXTERNALIZABLE_IMAGES_URL_KEY + "}buttonsmall_create_req.gif");
    clearButton.setExtraButtonAltText("Create Req");
    clearButton.setExtraButtonOnclick("window.open('" + ConfigContext.getCurrentContextConfig().getProperty(KRADConstants.APPLICATION_URL_KEY) + "/purapRequisition.do?methodToCall=createReqFromIWantDoc&docId=" + getDocument().getDocumentNumber() + "');return false;");
    return clearButton;
}
Also used : ExtraButton(org.kuali.kfs.kns.web.ui.ExtraButton)

Example 4 with ExtraButton

use of org.kuali.kfs.kns.web.ui.ExtraButton in project cu-kfs by CU-CommunityApps.

the class IWantDocumentForm method createContinueToItemsButton.

/**
 * Creates the continue button on the customer data page that points to the items page
 *
 * @return
 */
protected ExtraButton createContinueToItemsButton() {
    ExtraButton continueButton = new ExtraButton();
    continueButton.setExtraButtonProperty("methodToCall.continueToItems");
    continueButton.setExtraButtonSource("${" + KFSConstants.RICE_EXTERNALIZABLE_IMAGES_URL_KEY + "}buttonsmall_continue.gif");
    continueButton.setExtraButtonAltText("Continue");
    return continueButton;
}
Also used : ExtraButton(org.kuali.kfs.kns.web.ui.ExtraButton)

Example 5 with ExtraButton

use of org.kuali.kfs.kns.web.ui.ExtraButton in project cu-kfs by CU-CommunityApps.

the class IWantDocumentForm method createBackToItemsButton.

/**
 * Creates the back button on the vendor page that points to the items page
 *
 * @return
 */
protected ExtraButton createBackToItemsButton() {
    ExtraButton clearButton = new ExtraButton();
    clearButton.setExtraButtonProperty("methodToCall.continueToItems");
    clearButton.setExtraButtonSource("${" + KFSConstants.EXTERNALIZABLE_IMAGES_URL_KEY + "}buttonsmall_back.gif");
    clearButton.setExtraButtonAltText("Back");
    return clearButton;
}
Also used : ExtraButton(org.kuali.kfs.kns.web.ui.ExtraButton)

Aggregations

ExtraButton (org.kuali.kfs.kns.web.ui.ExtraButton)12 CUPaymentMethodGeneralLedgerPendingEntryService (edu.cornell.kfs.fp.service.CUPaymentMethodGeneralLedgerPendingEntryService)1 CuPaymentRequestDocument (edu.cornell.kfs.module.purap.document.CuPaymentRequestDocument)1 PaymentRequestDocument (org.kuali.kfs.module.purap.document.PaymentRequestDocument)1 VendorCreditMemoDocument (org.kuali.kfs.module.purap.document.VendorCreditMemoDocument)1 PurapService (org.kuali.kfs.module.purap.document.service.PurapService)1 ConfigurationService (org.kuali.rice.core.api.config.property.ConfigurationService)1