JSF2 custom component, parameter autocompletion with a local file path

40 views Asked by At

My First Question, after years, thank you all and stackoverflow ;-)

I code a new Component for JSF2 and use it to include other templates. It works perfectly for me.

<cc:interface>
    <cc:attribute name="src" type="java.lang.String" required="true"/>
    <cc:attribute name="addOption" type="java.util.List"/>
</cc:interface>

<cc:implementation>
    <cc:insertChildren />
    <ui:include src="#{BeanAnything.convert(cc.attrs.src, cc.attrs.addOption)}" />
</cc:implementation>

But i cant complete the Parameter src via auto completion in intellij or netbeans with "strg + space" or whatever other will use. It should be used like the ui:include on src parameter.

Any Ideas ? That's what I want to achieve only with my own componente gg:include See Example

0

There are 0 answers