[jbosstools-issues] [JBoss JIRA] (JBIDE-12401) Content assist for tag <a4j:loadStyle src=""/> doesn't offer "/resources", "/templates", "/pages" items.

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon Aug 6 18:46:07 EDT 2012


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

Alexey Kazakov commented on JBIDE-12401:
----------------------------------------

It didn't work in that way in JBT 3.3
You will see code completion for <a4j:loadStyle src="|"/> if:
1. You have a4j lib 3.x in your project classpath (a4j 4.x doesn't not have loadStyle tag anymore). JSF 2 KickStart project doesn't include such a libriary, so look at your server container. If there is no any RichFaces lib in the class path then JBT will use XML Catalog which contains RichFaces 4 by defualt.
*AND*
2. Your project has some *.css files. /resources, /templates, /pages in JSF 2 KickStart don't have any *.css files so you should not see them in the code assist.
                
> Content assist for tag <a4j:loadStyle src=""/> doesn't offer "/resources", "/templates", "/pages" items.
> --------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-12401
>                 URL: https://issues.jboss.org/browse/JBIDE-12401
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 3.4.0.M1
>         Environment: JBT 3.4.0.v20120806-0710-H5361-M1, Linux 32bit, Java Sun 1.7
>            Reporter: Vlado Pakan
>            Assignee: Alexey Kazakov
>             Fix For: 3.4.0.M1
>
>
> 1. Create JSF2 KickStart project.
> 2. Open inputname.xhtml page
> 3. Insert <a4j:loadStyle src=""/> inside <ui:define name="body"> tag
> 4. Put cursor inside "" of src attribute i.e. <a4j:loadStyle src="|"/>
> 5. Invoke Code Assist
> ERROR: Code Assist doesn't offer items "/resources", "/templates", "/pages"
> It was working in JBT 3.3.0 GA

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list