[jira] [Commented] (MYFACES-3602) Myfaces is disabled by richfaces
[ https://issues.apache.org/jira/browse/MYFACES-3602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942676#comment-14942676 ] Thomas Andraschko commented on MYFACES-3602: Thats probably related to RichFaces resource routing/mapping feature. I can't reproduce this e.g. when i add a PrimeFaces component. > Myfaces is disabled by richfaces > > > Key: MYFACES-3602 > URL: https://issues.apache.org/jira/browse/MYFACES-3602 > Project: MyFaces Core > Issue Type: Bug >Affects Versions: 2.1.8 > Environment: Tomee server richfaces 4.2.2 >Reporter: Emmanuel DUFOUR > > The simple presence of the popupanel or calendar or datatable tag frin > richfaces makes the myfaces javascript library not included in the page > disabling the link ex the simple jsf page below : > -- > > http://www.w3.org/1999/xhtml; > xmlns:h="http://java.sun.com/jsf/html; > xmlns:rich="http://richfaces.org/rich;> > > > > > > > > > > --- > A soon as richfaces tags are added to the page, the myFace JavaScript library > link usually included in the 1st form of the page: >
[jira] [Commented] (MYFACES-3629) StartupServletContextListener crashes if FacesServlet is defined in web-fragments.
[ https://issues.apache.org/jira/browse/MYFACES-3629?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942678#comment-14942678 ] Thomas Andraschko commented on MYFACES-3629: Is there any reason why you didn't merge it back to myfaces? > StartupServletContextListener crashes if FacesServlet is defined in > web-fragments. > -- > > Key: MYFACES-3629 > URL: https://issues.apache.org/jira/browse/MYFACES-3629 > Project: MyFaces Core > Issue Type: Bug > Components: JSR-314 >Affects Versions: 2.1.9 >Reporter: Mark Struberg > > I'm trying to move all my common web.xml content from my 12 webapps in an EAR > into a web-fragment.xml which gets referenced. > MyFaces fails with the following Exception if the FacesServlet is defined in > a web-fragment rather than web.xml: > >If you did that and find nothing, the mistake might be due to the fact that > >you use some special > >web-containers which do not support registering context-listeners via TLD > >files and a context listener is not > > setup in your web.xml. > > A typical config looks like this; > > > > > > org.apache.myfaces.webapp.StartupServletContextListener > > > In general the StartupServletContextListener defined in JSF-2.1 is pure PITA > as it does crash apps which do not have any JSF content at all!. > We should scan if we either find a faces-config.xml or any *.xhtml files in > the app and if not we shall not start JSF. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MYFACES-3212) Give Hint when CustomAnnotationProvider needed, ex. when DefaultAnnotationProvider fails on jboss AS6 related to jboss-vfs urls
[ https://issues.apache.org/jira/browse/MYFACES-3212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942757#comment-14942757 ] Thomas Andraschko commented on MYFACES-3212: AFAICS WildFly now provides an mode for MyFaces as JSF implementation. I would close it as won't fix. WDYT? > Give Hint when CustomAnnotationProvider needed, ex. when > DefaultAnnotationProvider fails on jboss AS6 related to jboss-vfs urls > --- > > Key: MYFACES-3212 > URL: https://issues.apache.org/jira/browse/MYFACES-3212 > Project: MyFaces Core > Issue Type: Improvement > Components: JSR-314 >Affects Versions: 2.0.7, 2.1.1 > Environment: JBoss AS6 and others >Reporter: Pablo Morales Mombiela > Original Estimate: 1m > Remaining Estimate: 1m > > When scanning class files searching for annotatios, if > org.apache.myfaces.config.annotation.DefaultAnnotationProvider can not open > URL quietly do nothing. It's really difficult to discover what is going on > and many people may think that provided MyFaces can not be used on JbossAS6 > I think that > org.apache.myfaces.config.annotation.DefaultAnnotationProvider._getAlternativeJarFile(URL > url) must report/log some error before 'return null' and point the user to > implement a CustomAnnotationProvider in order to make it work. > I didn't found any documentation that make this clear at any point. MyFaces > documentation should explain: >- why is needed >- How to provide custom DefaultAnnotationProvider in web.xml context param > or in META-INF/services/org.apache.myfaces.spi.AnnotationProvider >- Explain that in JBoss AS6 a custom implementation must be provided able > to use jboss-vsf and point to VSF documentation in > http://community.jboss.org/wiki/VFS3UserGuide. We implemented a scanner based > on VSF visitor pattern that work great but spent a huge amount of time on it. > Can't this provider be included because of license issues with jboss? > This will make migration from Mojarra much faster when using jboss and > probably others. > Thank you for your attention. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MYFACES-4013) action of h:commandButton rendered in h:dataTable doesn't navigate to action page
[ https://issues.apache.org/jira/browse/MYFACES-4013?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14942744#comment-14942744 ] Thomas Andraschko commented on MYFACES-4013: Could you please provide a example? (xhtml + bean) > action of h:commandButton rendered in h:dataTable doesn't navigate to action > page > - > > Key: MYFACES-4013 > URL: https://issues.apache.org/jira/browse/MYFACES-4013 > Project: MyFaces Core > Issue Type: Bug >Affects Versions: 2.2.8 >Reporter: Santosh P > > I am using h:commandButton in each row of a h:dataTable. I have used a file > name as action attribute value. On click of which the page should be > navigated to other expected page. But when the button is used in h:dataTable > the page just refreshes existing page itself instead of showing content of > other file. However, the action of button works properly when I use it out of > the table. -- This message was sent by Atlassian JIRA (v6.3.4#6332)