facebook

validation error on graphicImage and library attribute

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #328527 Reply

    claudio
    Member

    Hi all
    In JSF 2.0 project (jsf-api/impl 2.1.7) I get a validation erron if I use h:graphicImage with

    name

    and

    library

    attributes
    So if I write:

    
        <h:graphicImage id="logoAppl" name="Appl.png"  library="mylibrary" />
    

    it tell me: “unknown attribute name” “unknown attribute library”
    Note: the rendering on web site work fine.
    So I had to rewrite it this more clumsy way to avoid validation errors on JSF views

    
      <h:graphicImage value="#{resource['mylibrary:Appl.png']}" />
    

    Is there a way to correct it.
    Thanks in advance for any help

    #328541 Reply

    claudio
    Member

    I upgraded MyEclipse to 10.6 and validations errors desapeared!
    Great !

    #328559 Reply

    support-swapna
    Moderator

    cgennari,

    Glad that it is working.
    Do let us know if you see any issues.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: validation error on graphicImage and library attribute

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