@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