[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:34:28 EST 2014
[ https://issues.jboss.org/browse/JBIDE-15276?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12941087#comment-12941087 ]
Radoslav Rábara edited comment on JBIDE-15276 at 2/4/14 5:32 AM:
-----------------------------------------------------------------
Hi,
I reproduced this issue in JBDS 8.0.0 Alpha1-v20131212-0740-B25.
My steps to reproduce are following:
STEP: Create HTML5 Project
STEP: Create XHTML Page
STEP: Insert following code to the 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}
STEP: Modify value of xmlns:f attribute assigning it to "http://java.sun.com/jsf/html" and save.
ASSERT: Code assist for <f: displays proposals for the namespace "http://java.sun.com/jsf/html"
FAIL: Code assist accumulates proposals (e.g. there is f:actionListener, f:ajax, ...)
was (Author: rrabara):
Hi,
I reproduced this issue in JBDS 8.0.0 Alpha1-v20131212-0740-B25.
My steps to reproduce are following:
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"
>
{code}
STEP: Modify value of xmlns:f attribute assigning it to "http://java.sun.com/jsf/html" and save.
ASSERT: Code assist for <f: displays proposals for the namespace "http://java.sun.com/jsf/html"
FAIL: Code assist accumulates proposals (e.g. there is f:actionListener, f:ajax, ...)
> 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