cuba-platform

    1熱度

    1回答

    我有email.ftl在modules/portal/web/WEB-INF/templates/email /下(我創建的子文件夾)。在我的控制器代碼中,我有我的EmailInfo聲明,並且我想指定email.ftl的路徑。在this tutorial 看,我看到了EmailInfo聲明是這樣的: EmailInfo emailInfo = new EmailInfo( "[emai

    1熱度

    1回答

    獲得安全上下文我得到的錯誤 org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler - Unexpected error occurred in scheduled task. java.lang.SecurityException: No security context bound to the curren

    1熱度

    1回答

    我想通過JPQL更新表列,我的休息查詢看起來像下面這樣。 http://localhost:6765/salesfactory/rest/v2/queries/sales$Applications/update?status=KILLED&appID=a896f3e5-9abc-a9a1-f14d-24c9eb22896a <jpql> <![CDATA[ UPDATE sal

    0熱度

    1回答

    尋求在JPQL中執行可能的子選擇。我使用SQL頻繁,希望這樣進行查詢: Select ((Select SUM(e.hours.hours) from app$Time e where e.type = 'Purchased') - (Select SUM(f.hours.hours) from app$Time f where f.type = 'Used')) 我還沒有看到JPQL

    0熱度

    1回答

    我無法構建我假設的古巴平臺插件,因爲gradle無法下載必要的工件。我設置代理: gradle這個-Dhttp.proxyHost = 127.0.0.1 -Dhttp.proxyPort = 8118 gradle這個-Dhttps.proxyHost = 127.0.0.1 -Dhttps.proxyPort = 8118 但是,它仍然失敗: 我錯過了什麼嗎?

    0熱度

    2回答

    在我們的春季安全XML文件,我有一個form-login配置標籤: <form-login always-use-default-target="true" authentication-failure-url="/" default-target-url="/bo/bo" login-page="/" login-processing-url="/

    1熱度

    1回答

    什麼是完全禁用古巴REST API的最安全的方式,以便我只能使用Portal模塊手動公開端點?

    1熱度

    1回答

    設置 值我試圖從屏控制器訪問 <chart:guide> 值屬性,但我無法找到任何吸去實現它。這個xml塊是這樣的: <chart:valueAxes> <chart:axis position="LEFT" stackType="REGULAR" title="Graph Title"> <chart:guides> <chart:guide

    1熱度

    4回答

    public enum EnumCountry implements EnumClass<Integer> { Ethiopia(1), Tanzania(2), private Integer id; EnumCountry(Integer value) { this.id = value; } public Integ

    1熱度

    1回答

    我想通過單擊按鈕打開外部鏈接。我在按鈕的操作方法中有以下代碼: ((com.vaadin.ui.Button) myCubaButton.unwrap(com.vaadin.ui.Button)).UI.page.open('https://www.google.de', '_blank') 有沒有更古巴的方式來打開外部鏈接?