[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-7086) MyFaces 2.0: f:event and f:metadata = no completion
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Thu Oct 7 06:49:39 EDT 2010
[ https://jira.jboss.org/browse/JBIDE-7086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12555821#action_12555821 ]
Viacheslav Kabanovich commented on JBIDE-7086:
----------------------------------------------
We have automatic test org.jboss.tools.jst.web.kb.test.MyFacesKbModelTest.testKbProjectObjects() and it passes with success.
Steps for handle test.
1. Create a project with JSF capabilities (check that it has natures org.jboss.tools.jst.web.kb.kbnature and org.jboss.tools.jsf.jsfnature; and builder org.jboss.tools.jst.web.kb.kbbuilder).
2. Add to its WEB-INF/lib folder jars myfaces-api.jar and myfaces-impl.jar downloaded with MyFaces 2.0.1 or 2.0.2; make sure that myfaces-impl.jar has entry META-INF/myfaces-metadata.xml, and that this xml has text '<name>f:metadata</name>' in its content.
3. in *.xhtml file declare namespace xmlns:f="http://java.sun.com/jsf/core" and check content assist after <f: - the list should contain f:event and f:metadata.
Jiri, please try it.
> MyFaces 2.0: f:event and f:metadata = no completion
> ---------------------------------------------------
>
> Key: JBIDE-7086
> URL: https://jira.jboss.org/browse/JBIDE-7086
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: JSF, jsp/jsf/xml source editing
> Affects Versions: 3.2.0.M2
> Environment: Mac OS 10.6.4
> Java 1.6_20
> Spring source tools suite 2.3.3.M2
> Reporter: Damien Gouyette
> Assignee: Viacheslav Kabanovich
> Fix For: 3.2.0.Beta1
>
> Attachments: myfaces-metadata.xml
>
>
> I'm using JSF2 with spring in the following webapp and i have no completion on a few components :
> f:event and f:metadata are not working, an exemple in this page : http://github.com/dgouyette/jugsummercamp/blob/master/jugsummercamp-webapp/src/main/webapp/article/detail.xhtml
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list