You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Alessandro Polverini (JIRA)" <my...@incubator.apache.org> on 2005/04/30 23:19:05 UTC
[jira] Created: (MYFACES-223) Can't share myfaces jars globally in tomcat
Can't share myfaces jars globally in tomcat
-------------------------------------------
Key: MYFACES-223
URL: http://issues.apache.org/jira/browse/MYFACES-223
Project: MyFaces
Type: Improvement
Versions: 1.0.9 beta
Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
Reporter: Alessandro Polverini
Hello,
I'm developing a lot of little applications using myfaces.
It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
Thanks,
Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=all ]
sean schofield closed MYFACES-223:
----------------------------------
Resolution: Cannot Reproduce
This works fine on Tomcat 5.0 now that I have retested it this morning. MyFaces jars need to be placed in $TOMCAT_HOME/shared/lib. I also found that you need to place commons-beanutils.jar, commons-codec.jar, commons-digester.jar and commons-fileupload.jar for this to work.
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
> Assignee: sean schofield
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Reopened: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=all ]
sean schofield reopened MYFACES-223:
------------------------------------
Reopening at Allessandro's request. I will test on Tomcat 5.0 when I get a chance to verify that this works ok. If anyone else wants to test that would be helpful.
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Alessandro Polverini (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_64347 ]
Alessandro Polverini commented on MYFACES-223:
----------------------------------------------
That's what I get if I try to view one of the "simple" apps (in the example it's sample1.jsf):
exception
javax.servlet.ServletException: Undefined component type org.apache.myfaces.SaveState
javax.faces.webapp.FacesServlet.service(FacesServlet.java:125)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
root cause
javax.faces.FacesException: Undefined component type org.apache.myfaces.SaveState
org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:411)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:110)
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112)
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Stan Silvert (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_64261 ]
Stan Silvert commented on MYFACES-223:
--------------------------------------
What happens when you try it?
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_12318438 ]
sean schofield commented on MYFACES-223:
----------------------------------------
OK I verified this is a problem on Tocmat 5.0. I get the same error message as what Peter describes when I try to load home.jsf in the simple examples (javax.faces.FacesException: Undefined component type org.apache.myfaces.HtmlGraphicImage).
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
> Assignee: sean schofield
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Alessandro Polverini (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_12356686 ]
Alessandro Polverini commented on MYFACES-223:
----------------------------------------------
Well, after checking a bit better I have to say that while the "simple" application works fine there are TONS of errors in the tomcat log on startup, for example:
SEVERE: Class org.apache.myfaces.custom.rssticker.HtmlRssTicker not found
java.lang.ClassNotFoundException: org.apache.myfaces.custom.rssticker.HtmlRssTicker
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.myfaces.util.ClassUtils.classForName(ClassUtils.java:138)
at org.apache.myfaces.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
at org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:270)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:454)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:130)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
[...]
Nov 3, 2005 10:24:30 AM org.apache.myfaces.application.ApplicationImpl addComponent
SEVERE: Component class org.apache.myfaces.custom.rssticker.HtmlRssTicker not found
javax.faces.FacesException: java.lang.ClassNotFoundException: org.apache.myfaces.custom.rssticker.HtmlRssTicker
at org.apache.myfaces.util.ClassUtils.simpleClassForName(ClassUtils.java:162)
at org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:270)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:454)
[...]
Nov 3, 2005 10:24:30 AM org.apache.myfaces.util.ClassUtils simpleClassForName
SEVERE: Class org.apache.myfaces.component.UIColumns not found
java.lang.ClassNotFoundException: org.apache.myfaces.component.UIColumns
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:854)
at org.apache.catalina.loader.StandardClassLoader.loadClass(StandardClassLoader.java:721)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:242)
at org.apache.myfaces.util.ClassUtils.classForName(ClassUtils.java:138)
at org.apache.myfaces.util.ClassUtils.simpleClassForName(ClassUtils.java:157)
at org.apache.myfaces.application.ApplicationImpl.addComponent(ApplicationImpl.java:270)
at org.apache.myfaces.config.FacesConfigurator.configureApplication(FacesConfigurator.java:454)
at org.apache.myfaces.config.FacesConfigurator.configure(FacesConfigurator.java:130)
at org.apache.myfaces.webapp.StartupServletContextListener.initFaces(StartupServletContextListener.java:63)
at org.apache.myfaces.webapp.StartupServletContextListener.contextInitialized(StartupServletContextListener.java:46)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
[...]
Any clues?
Thanks,
Alex
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9m9
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
> Assignee: sean schofield
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Alessandro Polverini (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_64583 ]
Alessandro Polverini commented on MYFACES-223:
----------------------------------------------
Hello and thanks for the reply.
For Sean: the faces-config.xml (examples-config.xml in this case) is in the WEB-INF directory (I opened the war, not using it directly).
For Stan: putting the jar in common/lib or also common/endorsed make the context to not start anymore, I'm unsure of the problem and on the log I only find:
StandardContext[/balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org
.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balan
cer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com]
, [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
StandardContext[/simple]Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener
java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
at java.lang.ClassLoader.findBootstrapClass(Native Method)
[...]
Please tell me if I can be of any assistance on doing some other tests.
Thanks,
Alex
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Martin Marinschek (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_12356690 ]
Martin Marinschek commented on MYFACES-223:
-------------------------------------------
HtmlRssRicker does not exist anymore - do you have any mixture of old libs in your setup?
regards,
Martin
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9m9
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
> Assignee: sean schofield
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Alessandro Polverini (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_66062 ]
Alessandro Polverini commented on MYFACES-223:
----------------------------------------------
Hello Sean,
if this is simply a configuration issue I would like to know someone that has been able to share the myfaces jar on tomcat, and I know none.
Please provide an example or a link to a guide to do this, or reopen the bug.
There is a thread I started last year on the same issue, and you can follow it here:
http://nagoya.apache.org/eyebrowse/ReadMsg?listId=267&msgNo=787
It seemed to me that myfaces should be modified to support this, but I'm unsure.
Thanks,
Alex
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Closed: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=all ]
sean schofield closed MYFACES-223:
----------------------------------
Resolution: Cannot Reproduce
This seems like a configuration issue. I'm closing this since we are doing JIRA housekeeping and this does not seem like a true bug. Please post to users list if you are still having trouble and see if anyone there can help you.
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Alessandro Polverini (JIRA)" <de...@myfaces.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_12356662 ]
Alessandro Polverini commented on MYFACES-223:
----------------------------------------------
I can confirm it works well with tomcat 5.0.30 and myfaces 1.1.1
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9m9
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
> Assignee: sean schofield
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Stan Silvert (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_64428 ]
Stan Silvert commented on MYFACES-223:
--------------------------------------
It looks to me like the problem is that it does not find the myfaces_ext.tld in myfaces-impl.jar.
Try it in common/lib instead of shared/lib. I think that common/lib is where Tomcat's TldLocationsCache is looking for container level tag libs.
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "sean schofield (JIRA)" <my...@incubator.apache.org>.
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_64403 ]
sean schofield commented on MYFACES-223:
----------------------------------------
It's not that it can't find the class (you would get a ClassNotFoundException if that were the case.) First step is to figure out what MyFaces is complaining about. My guess would be that it can't find the component mapping in the faces-config.xml that is in META-INF of the jar file.
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Type: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
[jira] Commented: (MYFACES-223) Can't share myfaces jars globally in tomcat
Posted by "Peter Mahoney (JIRA)" <my...@incubator.apache.org>.
X-Spam-RaFrom dev-return-3605-apmail-myfaces-dev-archive=myfaces.apache.org@myfaces.apache.org Wed Jul 20 07:51:16 2005
Return-Path: <de...@myfaces.apache.org>
Delivered-To: apmail-myfaces-dev-archive@www.apache.org
Received: (qmail 57738 invoked from network); 20 Jul 2005 07:51:14 -0000
Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199)
by minotaur.apache.org with SMTP; 20 Jul 2005 07:51:14 -0000
Received: (qmail 37231 invoked by uid 500); 20 Jul 2005 07:51:09 -0000
Delivered-To: apmail-myfaces-dev-archive@myfaces.apache.org
Received: (qmail 37089 invoked by uid 500); 20 Jul 2005 07:51:05 -0000
Mailing-List: contact dev-help@myfaces.apache.org; run by ezmlm
Precedence: bulk
List-Help: <ma...@myfaces.apache.org>
List-Unsubscribe: <ma...@myfaces.apache.org>
List-Post: <ma...@myfaces.apache.org>
List-Id: <dev.myfaces.apache.org>
Reply-To: "MyFaces Development" <de...@myfaces.apache.org>
Delivered-To: mailing list dev@myfaces.apache.org
Received: (qmail 36682 invoked by uid 99); 20 Jul 2005 07:51:02 -0000
X-ASF-Spam-Status: No, hits=0.0 required=10.0
tests=SPF_FAIL
X-Spam-Check-By: apache.org
Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226)
by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Jul 2005 00:50:50 -0700
Received: from ajax.apache.org (ajax.apache.org [127.0.0.1])
by ajax.apache.org (Postfix) with ESMTP id 78B04D8
for <de...@myfaces.apache.org>; Wed, 20 Jul 2005 09:50:47 +0200 (CEST)
Message-ID: <45...@ajax.apache.org>
Date: Wed, 20 Jul 2005 09:50:47 +0200 (CEST)
From: "Mathias Broekelmann (JIRA)" <my...@incubator.apache.org>
To: dev@myfaces.apache.org
Subject: [jira] Closed: (MYFACES-337) Nested dataTable buttons not working
In-Reply-To: <62...@ajax.apache.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Virus-Checked: Checked by ClamAV on apache.org
X-Spam-Ratingting: minotaur.apache.org 1.6.2 0/1000/N
[ http://issues.apache.org/jira/browse/MYFACES-223?page=comments#action_12316205 ]
Peter Mahoney commented on MYFACES-223:
---------------------------------------
I have come across a similar problem. During development I use the tomcat plugin with the devloader to load myfaces-all.jar using the web application classloader, as it does not work at all if it is loaded using tomcat's system class loader. This works fine for all standard components. However, if I try to use any of the extended components I get the "Undefined Component" error described above. To resolve this I must duplicate tomahawk.jar in every WEB-INF/lib. Is it the case that it is only looking for the myfaces_ext.tld within the web application, rather than on the classpath?
> Can't share myfaces jars globally in tomcat
> -------------------------------------------
>
> Key: MYFACES-223
> URL: http://issues.apache.org/jira/browse/MYFACES-223
> Project: MyFaces
> Typ: minotaur.apache.org 1.6.2 0/1000/N
[ http://issues.apache.org/jira/browse/MYFACES-337?page=all ]
Mathias Broekelmann closed MYFACES-337:
---------------------------------------
Resolution: Fixed
> Nested dataTable buttons not working
> ------------------------------------
>
> Key: MYFACES-337
> URL: http://issues.apache.org/jira/browse/MYFACES-337
> Project: MyFaces
> Type: Bug
> Versions: Nightly Build
> Reporter: Peter Mahoney
> Assignee: Mathias Broekelmann
> Attachments: testtable.zip
>
> Buttons within a nested dataTable always call the action methods bound to the first row of the outer table:
> For example, using the JSP below, if the delete button is clicked for the third answer of question 2, answer.deleteAnswer() is called on the third answer of question 1 instead.
> <h:dataTable value="#{handler.poll.questions}" var="question">
> <h:column>
> <h:dataTable value="#{question.answers}" var="answer">
> <h:column>
> <h:outputLabele: Improvement
> Versions: 1.0.9 beta
> Environment: Java JDK 1.5.0_03, Tomcat 5.0.28
> Reporter: Alessandro Polverini
>
> Hello,
> I'm developing a lot of little applications using myfaces.
> It would be very useful to have the possibility to share globally over tomcat (e.g. in the shared/lib dir) the myfaces jar so I don't have to deploy 1.5Mb of jars for every 50K web application.
> Thanks,
> Alex
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
for="answerText" value="Q#{question.questionNumber} A#{answer.answerNumber}"/>
> <h:inputText id="answerText" value="#{answer.text}"/>
> </h:column>
> <h:column>
> <h:commandButton action="#{answer.deleteAnswer}" value="Delete"/>
> </h:column>
> </h:dataTable>
> </h:column>
> </h:dataTable>
> Probably related is that the text of all other answers for the first question becomes the text from the last answer of the last question following clicking on the delete button. This did not occur using the RI.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira