我正在尝试使用addRow功能impl Send for Box<T> where T: Send
向延迟加载的数据表中添加一行,如下所示。它插入的是最后一行的副本,而不是空白行。那么想知道此addRow功能是否还适用于延迟加载吗?还是我错过了什么?
showcase和我的代码之间的区别是1.延迟加载和2.从上下文菜单(而不是“命令”按钮)中插入(菜单内)。
任何帮助将不胜感激。谢谢!
Primefaces 6.1,JSF 2.2
<iframe class="ze_area">
#document
<html><head><link type="text/css" rel="stylesheet" href="https://css.zohostatic.com/ze/v86/css/zeditor.min.css"><style type="text/css">.ze_body{font-family:Verdana,arial,Helvetica,sans-serif;font-size:13px;} table{font-size:100%} .MsoNormal{margin: 0px}</style><style>ol.code li { word-wrap: break-word; } ol.code li pre,span,p,div {white-space: normal !important; }</style>
</head>
<body class="ze_body">
</body></html>
<iframe>
受管Bean:
WebElement filebug=driver.findElement(By.id("fileabugnew"));
filebug.click();
driver.manage().timeouts().implicitlyWait(20, TimeUnit.SECONDS);
WebElement filebug_subject=driver.findElement(By.id("fileabug_subject"));
filebug_subject.sendKeys("web erp : test failed to search for web title");
driver.switchTo().frame(0);
WebElement
filebug_content=driver.findElement(By.className("//body[@class='ze_body']"));
filebug_content.sendKeys("erp content. the test is failed");
WebElement click_to_assign=driver.findElement(By.xpath("//span[text()='Not
Assigned']"));
click_to_assign.click();
WebElement
type_to_assign=driver.findElement(By.xpath("//div[@class='select2-drop
searchableselect2 select2-with-searchbox select2-drop-
active']//input[@class='select2-input']"));
type_to_assign.sendKeys("shashank.choursia");
driver.findElement(By.id("submitbug")).click();
答案 0 :(得分:0)
好的,我可以通过在START和STOP之间添加以下代码来使您的解决方案正常工作。看到这张票:https://github.com/primefaces/primefaces/issues/3901
WHERE valid_until < ? ORDER BY valid_until DESC LIMIT 1