facebook

Problem with jsp syntax [Bug]

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #206435 Reply

    snpe
    Member

    Hello,
    Next line (sample2.jsp from myfaces-examples 1.0.2 line 67)
    get error (it work fine on tomcat 5.0.19, but error is in JSP editor)

    <f:selectItem itemValue=”\”” itemLabel=”Double” />

    Is this bug ?

    regards

    #206437

    No Operation
    Member

    is reproducable.

    try

    
     <f:selectItem itemValue='"' itemLabel="Double" /> 
    

    instead, till bug is fixed.

    NOP

    #206439

    snpe
    Member

    I try and error is :
    String literal is not properly closed by a double-quote

    regards

    #206477

    No Operation
    Member

    String literal is not properly closed by a double-quote

    guessing this error message is not from Eclipse/MyEclipse. Right?

    Then you have an unlucky situation of “1 bug here, 1 bug there”, since my hnit conforms to JSP2.0…

    Which server do you use?

    NOP


    fixed spelling of hint

    #206487

    snpe
    Member

    myeclispe 3.7.2/eclipse 3.0M8 linux-gtk, tomcat 5.0.19

    jsp work fine on server – I have syntax error in jsp editor, only

    regards

    #206497

    No Operation
    Member

    since

    <f:selectItem itemValue='"' itemLabel="Double" />

    works without error, you should check your installation (other plugins?)

    NOP

    #206531

    snpe
    Member

    I try all examples from JSF distribution, from corejsf book, from bergsten JSF exampels book, from exampel on exadel.com and it is only problem for me
    – problem is in myeclispe jsp editor, not on server
    I have other plugins, but this is only problem
    – I try copy line from your message and have error yet

    regards

    #206532

    snpe
    Member

    This isn’t error :
    <f:selectItem itemValue=”‘” itemLabel=”Single” />
    but this is
    <f:selectItem itemValue='”‘ itemLabel=”Double” />

    regards

    #206538

    Riyad Kalla
    Member

    I was able to reproduce this error by using nop’s snippet:

    
    <f:selectItem itemValue='"' itemLabel="Double" /> 
    

    snpe,
    We appreciate the bug report and I will send it along to the DEVs immediately so it can make it into 2.8, thank you for your patience.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Problem with jsp syntax [Bug]

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