java.lang.IllegalArgumentException: “”当 ajax 渲染属性中存在回车符时
我的应用程序中有这行代码:
<f:ajax event="click"
render="#{ULInvestmentPatternUI.premiumForm}
fundstable btnModify btnSave"
该代码部分位于 .xhtml
文件中的 h:commandButton
中。 当我在本地运行代码并单击按钮时,我在 Eclipse 的控制台中显示以下错误消息:
严重:java.lang.IllegalArgumentException:“”
并且应该更新(启用)的按钮没有。
我已将问题范围缩小到渲染属性中的换行:
render="#{ULInvestmentPatternUI.premiumForm}
fundstable btnModify btnSave"
如果这全部在一行上(#{ULInvestmentPatternUI.premiumForm} 和fundstable 之间没有回车符),则 SEVERE: java.lang.IllegalArgumentException: ""
消息未显示在控制台中。但页面上的相关按钮仍然没有更新。
我是我所在的开发团队的新手。团队中的所有其他开发人员都使用相同的代码,并且对他们来说工作得很好。我已经检查过以确保我的环境设置与团队中的其他人相同,并且一切看起来都完全相同。
有人可以建议什么吗?
谢谢, 崔西。
I have this line of code in my application:
<f:ajax event="click"
render="#{ULInvestmentPatternUI.premiumForm}
fundstable btnModify btnSave"
The section of code is in a h:commandButton
in an .xhtml
file.
When I run the code locally and click on the button I get this error message showing up in my console in Eclipse :
SEVERE: java.lang.IllegalArgumentException: ""
and the buttons which are supposed to update (become enabled) don't.
I've narrowed down the problem to the line wrapping in the render attribute:
render="#{ULInvestmentPatternUI.premiumForm}
fundstable btnModify btnSave"
If this is all on one line (no carriage return between #{ULInvestmentPatternUI.premiumForm} and fundstable) then the SEVERE: java.lang.IllegalArgumentException: ""
message is not displayed in the console. The relevent buttons on the page still do not update though.
I'm new to the development team that I am in. All the other developers in the team are using the same code and it is working fine for them. I've checked to make sure that my environment is set up the same as everyone else in the team, and everything seems exactly the same.
Can anyone suggest anything please ?
Thanks,
Trish.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论