-
1. Re: Code Assist for Custom Components
akazakov Aug 13, 2009 3:21 AM (in response to kragoth)Hi,
You don't have to add such xmls to workspace in JBossTools 3.1 M3 (coming soon) anymore.
If there is proper TLD in class path of your project then we use it in Code Assist. Facelets tag libs descriptors are used too but there is not information about component's attributes.
See https://jira.jboss.org/jira/browse/JBIDE-2808 -
2. Re: Code Assist for Custom Components
akazakov Aug 13, 2009 4:18 AM (in response to kragoth)BTW if the version of your TLDs are different in brunch and head code then you can use attribute. Please make sure you have defferent versions in *.tld. And then you will be able set up proper tld's varion in plug-in.xml.
For example:
*.tld from head code:
...
1.0.1
...
*.tld from brunch code:
...
1.0.2
...
plugin.xml :
<tld
jsf="true"
name="Jenia Faces 1.0.1"
schema-location="schemas/tld/myJSF1.0.1.xml"
uri="http://www.jenia.org/jsf/dataTools"
version="1.0.1"/>
<tld
jsf="true"
name="Jenia Faces 1.0.2"
schema-location="schemas/tld/myJSF1.0.2.xml"
uri="http://www.jenia.org/jsf/dataTools"
version="1.0.2"/> -
3. Re: Code Assist for Custom Components
akazakov Aug 13, 2009 5:00 AM (in response to kragoth)*.tld from head code: <tld> ... <version>1.0.1</version> ... *.tld from brunch code: <tld> ... <version>1.0.2</version> ... plugin.xml : <tld jsf="true" name="Jenia Faces 1.0.1" schema-location="schemas/tld/myJSF1.0.1.xml" uri="http://www.jenia.org/jsf/dataTools" version="1.0.1"/> <tld jsf="true" name="Jenia Faces 1.0.2" schema-location="schemas/tld/myJSF1.0.2.xml" uri="http://www.jenia.org/jsf/dataTools" version="1.0.2"/>
-
4. Re: Code Assist for Custom Components
kragoth Aug 13, 2009 6:43 PM (in response to kragoth)Hi akazakov,
Thank you for the information and ideas :)
I look forward to M3 release to see if that helps.
The idea of versioning the tld I hadn't even thought of! Thanks for that :D