开发者

Richfaces XMLNS in IntelliJ IDEA

开发者 https://www.devze.com 2023-03-25 02:32 出处:网络
I use Richfaces in my Project and I really like the Kickass Code Completion in IntelliJ. But somehow I am not able to autocomplete the Richfaces Stuff. Here is my relevant part of my XHTML file:

I use Richfaces in my Project and I really like the Kickass Code Completion in IntelliJ. But somehow I am not able to autocomplete the Richfaces Stuff. Here is my relevant part of my XHTML file:

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
template="layout/template.xhtml">

IntelliJ tells me,开发者_Python百科 that it can not fetch the external ressource, because there is no XML at the Richfaces URL. All other Code Completions work. Has someone an idea how to solve this?


You can try to configure a mapping from the resource URI to the local file in Settings | Resources.


Also u can add the richfaces libraries to Project Structure | Libraries and add them to the package in Project Structure | Artifacts and will work

0

精彩评论

暂无评论...
验证码 换一张
取 消