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') 有没有更古巴的方式来打开外部链接?