[ 
https://issues.apache.org/jira/browse/MYFACES-4011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14726832#comment-14726832
 ] 

Kristian Jörg commented on MYFACES-4011:
----------------------------------------

UPDATE: It would seem that f:viewAction actually can be used even if it is not 
listed in the TLD files. However in Eclipse (Mars) I get no documentation and 
no autocompletion on the fields of the tag that is available, such as 
onPostback, phase etc. 

So the problem is:

1) f:viewAction is not a member of the TLD files for the "f" namespace. If one 
looks at the tagdocs here: 
http://myfaces.apache.org/core22/myfaces-impl/tagdoc/f_viewAction.html
it is documented as to be part of the TLD file, but it is not.

2) Support for the new namespaces in JSF 2.2, http://xmlns.jcp.org/jsf/xxx,  
(where f:viewAction is a new member) is not available in MyFaces 2.2.8.



> Old namespaces in tld-files
> ---------------------------
>
>                 Key: MYFACES-4011
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4011
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: General
>    Affects Versions: 2.2.8
>         Environment: Eclipse
>            Reporter: Kristian Jörg
>            Priority: Blocker
>
> Myfaces 2.2.8 does not support the new namespaces in TLD files i.e
> xmlns:f="http://xmlns.jcp.org/jsf/core";
> xmlns:h="http://xmlns.jcp.org/jsf/html";
> xmlns:jl="http://xmlns.jcp.org/jsf/composite/jsflive";
> In Eclipse, which autoloads namespace definitions from JAR files, I get 
> "Can't find facelet tag library for uri http://xmlns.jcp.org/jsf/core";. The 
> TLD files that are contained in Myfaces 2.2.8 corresponds to JSF 2.1, and 
> does not include f:viewAction. 
> I've seen that the code for viewAction is there in the 2.2.8 impl jars. The 
> problem is that the TLD file does not list it so I can't use it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to