[jbosstools-issues] [JBoss JIRA] (JBIDE-16432) Content assist for ns jsf/facelets is broken on the last line in xhtml file

Radoslav Rábara (JIRA) issues at jboss.org
Tue Feb 4 05:28:28 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-16432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Radoslav Rábara updated JBIDE-16432:
------------------------------------

    Steps to Reproduce: 
STEP: Create HTML5 Project
STEP: Create XHTML Page
STEP: Insert following code to the page:
{code:title=Bar.java|borderStyle=solid}
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      >
	<ui:
{code}
ASSERT: Code assist for <ui: displays proposals for the namespace "http://java.sun.com/jsf/facelets"
FAIL: It displays
{code}
Blank Facelet Page
Common Facelet Page
Form Facelet Page
JSF Composite Component
{code}

  was:
STEP: Create HTML5 Project
STEP: Create XHTML Page
STEP: Insert following code to the page:
{code:title=Bar.java|borderStyle=solid}
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      >
	<ui:
{code}
ASSERT: Code assist for <f: displays proposals for the namespace "http://java.sun.com/jsf/core"
FAIL: It displays
{code}
Blank Facelet Page
Common Facelet Page
Form Facelet Page
JSF Composite Component
{code}


    
> Content assist for ns jsf/facelets is broken on the last line in xhtml file
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-16432
>                 URL: https://issues.jboss.org/browse/JBIDE-16432
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.Alpha1
>            Reporter: Radoslav Rábara
>             Fix For: 4.2.0.Alpha2
>
>         Attachments: last line.jpg, workaround.jpg
>
>
> Content assist for xmlns:ui="http://java.sun.com/jsf/facelets" doesn't work on last line in xhtml file.
> If you are on last line in file, content assist displays proposals for page templates ("Blank Facelet Page", "Common Facelet Page", "Form Facelet Page" and "JSF Composite Component").

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jbosstools-issues mailing list