Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-03 Thread Paudi Moriarty
Yes, I used that intention to fetch the external resource and then ended up with the same error. I tried to add xmlns=http://www.w3.org/1999/xhtml; to the html element but that precludes using the tapestry namespace! I guess I can live with it, but it would be nice to have proper validation. On

Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-03 Thread Zsolt Salamon
I use IDEA 7.0.2. I use html extension not tml. So my templates is html type by default not xml. If you add tml extension like html type that do the same too. My every template is start with a html tag. The first tag is contains the

Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-02 Thread Paudi Moriarty
Howard, You switched to Idea recently, does this work for you? On 21/12/2007, Paudi Moriarty [EMAIL PROTECTED] wrote: 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. I have associated *.tml with the XML

Re: [T5] Tapestry 5 and IntelliJ IDEA

2008-01-02 Thread Howard Lewis Ship
I'm on IDEA 7 and have no problems at all with this stuff. I can't remember doing any special configuration, beyond adding *.tml as an XML file (in the File Types view of the preferences panel). Hm. Actually, I do see one intention error, URI is not registerred. Used the intention ... ok, now

Re: [T5] Tapestry 5 and IntelliJ IDEA

2007-12-21 Thread Paudi Moriarty
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. I have associated *.tml with the XML file type and have the same problem. Attributes are recognised as being part of the namespace but tags aren't and produce

[T5] Tapestry 5 and IntelliJ IDEA

2007-12-19 Thread Filip S. Adamsen
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

Re: [T5] Tapestry 5 and IntelliJ IDEA

2007-12-19 Thread Michael Lake
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

Re: [T5] Tapestry 5 and IntelliJ IDEA

2007-12-19 Thread Jesse Kuhnert
-) 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,