[jbosstools-issues] [JBoss JIRA] (JBIDE-15276) Content assist accumulates proposals for the given prefix, when uri is modified

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


    [ https://issues.jboss.org/browse/JBIDE-15276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12941098#comment-12941098 ] 

Radoslav Rábara commented on JBIDE-15276:
-----------------------------------------

I found out that content assist works for following code:
{code}
<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/html"
      >
	<f:
	
{code}
but it accumulates for following code:
{code}
<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/html"
      >
	<f:
{code}

So I think that this issue is related to JBIDE-16432
                
> Content assist accumulates proposals for the given prefix, when uri is modified
> -------------------------------------------------------------------------------
>
>                 Key: JBIDE-15276
>                 URL: https://issues.jboss.org/browse/JBIDE-15276
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.Alpha1
>            Reporter: Viacheslav Kabanovich
>            Assignee: Viacheslav Kabanovich
>            Priority: Critical
>             Fix For: 4.2.0.Alpha1
>
>
> 1. Open a *.xhtml page.
> {code}
> <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"
>       >
> {code}
> ASSERT: Code assist for <ui: <h: <f: displays proper proposals.
> 2. Modify value of xmlns:f attribute. First assign it to "http://java.sun.com/jsf/html" and save, then to "http://java.sun.com/jsf/facelets" and save, finally back to "http://java.sun.com/jsf/core" and save.
> ASSERT: Code assist for <f: after each modification displays proper proposals for the currently assigned uri.
> FAILURE: Code assist for <f: accumulates proposals for all uri's to which it has been assigned.

--
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