[jbosstools-issues] [JBoss JIRA] (JBIDE-1792) CA: In xhtml files with facelets: no [xmlns:*=""] attribute in content assist .
Victor Rubezhny (JIRA)
jira-events at lists.jboss.org
Thu Feb 14 13:28:56 EST 2013
[ https://issues.jboss.org/browse/JBIDE-1792?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12754257#comment-12754257 ]
Victor Rubezhny commented on JBIDE-1792:
----------------------------------------
Vlado, this issue is actually replaced by the combination of two other issues: JBIDE-12175 - It's about automatic namespace completion and JBIDE-13451 - which restricts CA for xmlns:* attribute proposals to the following rules:
if the tag is a root-tag (like <html xmlns="http://www.w3.org/1999/xhtml"/> then CA shows any available xmlns:* attributes (by any mask, i.e. if user enterer "x" and pressed Ctrl-Space - CA will show all the attributes which name starts with 'x'-character including xmlns:*- attributes for all the possible namespaces).
if the tag is not a root-tag then available xmlns:*-attributes still will be shown but only if user typed in the full "xmlns:"-prefix before hitting the Ctrl-Space.
For any tag, CA for value of "xmlns:<some_prefix>" attribute will always be shown if available.
The rule for non-root tags (JBIDE-13451) is made due not to show too many useless proposals for tag attributes.
> CA: In xhtml files with facelets: no [xmlns:*=""] attribute in content assist .
> -------------------------------------------------------------------------------
>
> Key: JBIDE-1792
> URL: https://issues.jboss.org/browse/JBIDE-1792
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing
> Affects Versions: 2.0.1
> Reporter: Andrei Scherbovich
> Assignee: Alexey Kazakov
> Fix For: 4.1.0.Alpha1
>
>
> CA: In xhtml files with facelets:
> 1. no [xmlns:*=""] attribute in content assist
> 2. CA when cursor at position [xmlns:*=" | "] not available for not <html> tags. I mean:
> a) <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:j=" | "> -- HERE CONTENT ASSIST AVAILABLE
> b) <h:form id="helloForm" xmlns:j=" | "> -- HERE CONTENT ASSIST NOT AVAILABLE
--
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