]
Alexey Kazakov updated JBIDE-5848:
----------------------------------
Attachment: org.jboss.tools.jst.web.kb.patch
Content Assist doesn't shows proposals for JSF Resource Bundles
and image file paths
------------------------------------------------------------------------------------
Key: JBIDE-5848
URL:
https://jira.jboss.org/jira/browse/JBIDE-5848
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common, jsp/jsf/xml source editing
Affects Versions: 3.1.0.CR1
Reporter: Victor Rubezhny
Assignee: Alexey Kazakov
Fix For: 3.1.0.CR2
Attachments: images.jpg, org.jboss.tools.jst.web.kb.patch, resources.jpg
The issue is found by JstJspAllTests.testCAForIDTest JUnit TestCase (JBIDE-5844)
Steps to reproduce:
EXECUTE: Create JSF Facelets KickStart project
EXECUTE: Open inputname.xhtml file in JBoss Tools HTML Editor
EXECUTE: Find <f:loadBundle /> tag, clear its "basename" attribute value,
place text cursor in it (<f:loadBundle basename="|" />) and press
Ctrl-Space to invoke CA
ASSERT: There must be "resources" CA proposal amount the other propposals
(FAILED)
EXECUTE: Add "img" folder to WebContent and place some image file into this
folder.
EXECUTE: Insert <h:graphicImage url="" /> into a valid region of
inputname.xhtml file in editor, place text cursor into the value of "url"
attribute (url="|") and press Ctrl-Space to invoke CA
ASSERT: There must be "/img" folder CA proposal amount the other propposals
(FAILED)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: