在自动完成中,我按预期得到产品名称。 我想根据所选产品进行一些计算。但在doCalculation函数我得到id,而不是'价格'。所以计算不能按预期工作。 假设如果我更改String idExpression = "#{price}";,则计算按预期工作,但未保存订单。由于得到如下错误 Failed to convert property value of type [java.lang.Stri
我有一个spring-boot应用程序,带有ememleaf。我反复更新的页面,并将其重定向到同一个页面,因此,我希望在页面元素得到更新: @GetMapping("/suggested-events/vote/{eventId}")
public String voteForEvents(Model model,
@PathVariable("eventId") Lo