- This topic has 2 replies, 3 voices, and was last updated 19 years ago by glongman.
-
AuthorPosts
-
wingstechMemberHi,
I’m using MyEclipse html editor to edit tapestry4 html templates, but my project is not marked as a tapestry project (since currently only tapestry3 is supported).
MyEclipse marks with a lot of warning “jwcid” and other non standard attributes slowing down the ide.
I’d like to disable warnings on non std attributes, is it possible?
Thanks in advance,
kiuma.
Riyad KallaMemberkiuma,
If you are referring to the warnings that are shown in the right hand margin, these are reconciler warnings, they are the result of real-time analysis of your file. You can turn that off by going to Window > Prefs > MyEclipse > Editors > Common > “Analyze file contents while typing”, uncheck that.
glongmanMember@wingstech wrote:
Hi,
I’m using MyEclipse html editor to edit tapestry4 html templates, but my project is not marked as a tapestry project (since currently only tapestry3 is supported).
MyEclipse marks with a lot of warning “jwcid” and other non standard attributes slowing down the ide.
I’d like to disable warnings on non std attributes, is it possible?
Thanks in advance,
kiuma.I think Tapestry 4 allows you to redefine the attribute sought by the Tapestry template parser. Thus, in theory, you could define a namespace called ‘tap’ and tell Tapestry to use ‘tap:jwcid’. Would that help? (discalimer: I’m not that up on namespaces).
What I don’t know is if you can use the ‘tap:’ on other attributes that are tapesty specific. An example to illustrate:
<span tap:jwcid=”@Conditional” tap:condition=”ognl:blah”/>
Pretty sure one can work it so that ‘tap:jwcid’ is recognized but not too sure about ‘tap:condition’.
Give it a whirl. You can always add a feature request to Tapestry via thier JIRA instance. Now is a good time to do so as Tapestry 4 looks to be nearing the end of beta soon.
Cheers,
Geoff
-
AuthorPosts