facebook

html validation and tapestry4

  1. MyEclipse Archived
  2.  > 
  3. Web Development (HTML, CSS, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #241365 Reply

    wingstech
    Member

    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.

    #241372

    Riyad Kalla
    Member

    kiuma,
    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.

    #241402

    glongman
    Member

    @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

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: html validation and tapestry4

You must be logged in to post in the forum log in