-) Go to Settings -> Errors -> choose either the global ide profile or a project specific profile -) Go to Inspections -> HTML Inspections -> Unknown HTML tag attribute -) Add whatever attribute tags you want under "Custom HTML tag attributes" on the left.
There is probably an easier way to do it, and it probably doesn't (or shouldn't) happen if you associate the file as an xml file type. On Dec 19, 2007 3:26 PM, Filip S. Adamsen <[EMAIL PROTECTED]> wrote: > Hi, > > Thank you for the tips. Now IDEA is complaining that "t:label is not > allowed here" etc. Am I missing something? I'd really just like IDEA to > mind its own business wrt. the Tapestry-related tags etc. in my templates. > > -Filip > > Michael Lake skrev: > > Filip, > > > > make sure your encapsulating tags define the "t" namespace. > > > > <html xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd"> > > MAIN BODY HERE > > </html> > > > > > > > > also, in your settings under "file types", make sure you've got .tml > > under the XML file type. > > > > if the reference to the .xsd is red, put the cursor on it, wait for the > > red light bulb on the left, then click "fetch external resource" > > > > -mike > > > > Filip S. Adamsen wrote: > >> Hi there, > >> > >> Just a quick question: Is there a way to prevent IDEA complaining > >> about unresolvable symbols in .tml files? I get hundreds of "Cannot > >> resolve symbol t:label" etc. when performing code analysis. > >> > >> -Filip > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tapestry / OGNL / Dojo team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com