Extract XML namespace declarations into separate tagfile/taglib

前端 未结 1 1885
臣服心动
臣服心动 2021-01-23 02:49

I would like to seperate my XML namespace declarations at the top of the page into a seperate (tag)file in which I can include in any Facelets page I wish.

Is this poss

相关标签:
1条回答
  • 2021-01-23 03:27

    Nope, not possible. They must be present during XML compile time already.

    Your best bet is creating or configuring XHTML template(s) in your IDE so that you can choose from them in New File without the need to copypaste/retype the boilerplate.

    Here are some screens from Eclipse + JBoss Tools:

    enter image description here

    enter image description here

    enter image description here

    0 讨论(0)
提交回复
热议问题