tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paudi Moriarty" <pmoria...@annadaletech.com>
Subject Re: [T5] Tapestry 5 and IntelliJ IDEA
Date Thu, 03 Jan 2008 08:58:15 GMT
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 02/01/2008, Howard Lewis Ship <hlship@gmail.com> wrote:
>
> 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 I'm getting the error "cannot find
> declaration of not element html".
>
> On Jan 2, 2008 1:53 AM, Paudi Moriarty <pmoriarty@annadaletech.com> wrote:
> > Howard,
> >
> > You switched to Idea recently, does this work for you?
> >
> >
> > On 21/12/2007, Paudi Moriarty <pmoriarty@annadaletech.com> 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 file type and have the same
> problem.
> > > Attributes are recognised as being part of the namespace but tags
> aren't and
> > > produce "Cannot resolve symbol t:xxxx" errors.
> > >
> > > Has anyone got this to work?
> > >
> > > On 19/12/2007, Jesse Kuhnert <jkuhnert@gmail.com> wrote:
> > > >
> > > > -) 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 < fsa@fsadev.com> 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: users-unsubscribe@tapestry.apache.org
> > > > > >> For additional commands, e-mail: users-help@tapestry.apache.org
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > >
> ---------------------------------------------------------------------
> > > > > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > > > > For additional commands, e-mail: users-help@tapestry.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> > > > > For additional commands, e-mail: users-help@tapestry.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Jesse Kuhnert
> > > > Tapestry / OGNL / Dojo team member/developer
> > > >
> > > > Open source based consulting work centered around
> > > > dojo/tapestry/tacos/hivemind. http://blog.opencomponentry.com
> > > >
> > >
> > >
> >
>
>
>
> --
> Howard M. Lewis Ship
>
> Creator Apache Tapestry and Apache HiveMind
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message