This content has been marked as final.
Show 55 replies
-
45. Re: Seam 1.1 beta 1
christian.bauer Nov 6, 2006 1:49 AM (in response to gavin.king)Stan, if you could create a Wiki page that lists all the different ELs, variable types, and versions of standards and libraries that are relevant, that would be great for beginners.
-
46. Re: Seam 1.1 beta 1
ssilvert Nov 6, 2006 11:07 AM (in response to gavin.king)"christian.bauer@jboss.com" wrote:
Stan, if you could create a Wiki page that lists all the different ELs, variable types, and versions of standards and libraries that are relevant, that would be great for beginners.
Good idea. I'll do that very soon. -
47. Re: Seam 1.1 beta 1
ssilvert Nov 6, 2006 2:54 PM (in response to gavin.king)"christian.bauer@jboss.com" wrote:
Stan, if you could create a Wiki page that lists all the different ELs, variable types, and versions of standards and libraries that are relevant, that would be great for beginners.
OK. Here is an EL FAQ:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExpressionLanguageFAQ -
48. Re: Seam 1.1 beta 1
gavin.king Nov 6, 2006 3:26 PM (in response to gavin.king)You should only use this feature for actions (not actionListener, validator, or valueChangeListener).
Why wouldn't actionListener or valueChangeListener work? -
49. Re: Seam 1.1 beta 1
ssilvert Nov 6, 2006 7:37 PM (in response to gavin.king)"gavin.king@jboss.com" wrote:
You should only use this feature for actions (not actionListener, validator, or valueChangeListener).
Why wouldn't actionListener or valueChangeListener work?
Because the interfaces expect ActionEvent and ValueChangedEvent. You can't pass those params from the EL. They are provided by the JSF implementation. -
50. Re: Seam 1.1 beta 1
bpatters Nov 7, 2006 11:31 AM (in response to gavin.king)I found out last night that when using the SeamFaceletViewHandler that any new Facelet tags I create (using xhtml files) I use receive JNDI lookup failures.
It's trying to find
{approot}/WEB-INF/components/mycomponent.xhtml
where approot is my war's view root and components/mycomponent.xhtml is the tag source file I declared in my my.taglib.xml file.
Anyone else seen this issue? -
51. Re: Seam 1.1 beta 1
ssilvert Nov 7, 2006 12:54 PM (in response to gavin.king)"stan.silvert@jboss.com" wrote:
"gavin.king@jboss.com" wrote:
You should only use this feature for actions (not actionListener, validator, or valueChangeListener).
Why wouldn't actionListener or valueChangeListener work?
Because the interfaces expect ActionEvent and ValueChangedEvent. You can't pass those params from the EL. They are provided by the JSF implementation.
Hmm. I see you've coded around that for Facelets. I don't think ActionEvent is TOTALLY useless. You might want/need to know which component fired the event. But having the option to do it either way is nice. -
52. Re: Seam 1.1 beta 1
ssilvert Nov 7, 2006 12:57 PM (in response to gavin.king)"bpatters" wrote:
I found out last night that when using the SeamFaceletViewHandler that any new Facelet tags I create (using xhtml files) I use receive JNDI lookup failures.
It's trying to find
{approot}/WEB-INF/components/mycomponent.xhtml
where approot is my war's view root and components/mycomponent.xhtml is the tag source file I declared in my my.taglib.xml file.
Anyone else seen this issue?
Can you give some more detail like a stack trace? I'm failing to see how the SeamFaceletViewHandler might affect JNDI lookups, but maybe I overlooked something.
Stan -
53. Re: Seam 1.1 beta 1
bpatters Nov 7, 2006 6:36 PM (in response to gavin.king)"stan.silvert@jboss.com" wrote:
"bpatters" wrote:
I found out last night that when using the SeamFaceletViewHandler that any new Facelet tags I create (using xhtml files) I use receive JNDI lookup failures.
It's trying to find
{approot}/WEB-INF/components/mycomponent.xhtml
where approot is my war's view root and components/mycomponent.xhtml is the tag source file I declared in my my.taglib.xml file.
Anyone else seen this issue?
Can you give some more detail like a stack trace? I'm failing to see how the SeamFaceletViewHandler might affect JNDI lookups, but maybe I overlooked something.
Stan2006-11-07 17:26:34,453 ERROR [STDERR] Nov 7, 2006 5:26:34 PM com.sun.facelets.impl.DefaultFaceletFactory createFacelet WARNING: /WEB-INF/components/roomEditPanel.xhtml> not found at jndi:/localhost/view/WEB-INF/components/roomEditPanel.xhtml> 2006-11-07 17:26:34,453 ERROR [STDERR] Nov 7, 2006 5:26:34 PM com.sun.facelets.FaceletViewHandler handleRenderException SEVERE: Error Rendering View[/users/forms/managehomes.xhtml] com.sun.facelets.tag.TagException: /users/forms/managehomes.xhtml @192,44 <myl:roomEditPanel> Facelet Not Found: jndi:/localhost/view/WEB-INF/components/roomEditPanel.xhtml> at com.sun.facelets.tag.UserTagHandler.apply(UserTagHandler.java:83) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.ui.DefineHandler.apply(DefineHandler.java:58) at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:128) at com.sun.facelets.impl.DefaultFaceletContext$TemplateManager.apply(DefaultFaceletContext.java:306) at com.sun.facelets.impl.DefaultFaceletContext.includeDefinition(DefaultFaceletContext.java:279) at com.sun.facelets.tag.ui.InsertHandler.apply(InsertHandler.java:68) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:295) at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:165) at com.sun.facelets.tag.jsf.core.ViewHandler.apply(ViewHandler.java:109) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:248) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:294) at com.sun.facelets.impl.DefaultFacelet.include(DefaultFacelet.java:273) at com.sun.facelets.impl.DefaultFaceletContext.includeFacelet(DefaultFaceletContext.java:143) at com.sun.facelets.tag.ui.CompositionHandler.apply(CompositionHandler.java:113) at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:510) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553) at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101) at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:197) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:67) at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:223) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595)
On second look I don't see anything seam related in there, I'll dig deeper to make sure it's not something else that's configured incorrectly. -
54. Re: Seam 1.1 beta 1
bpatters Nov 7, 2006 6:40 PM (in response to gavin.king)Just verified the exception occurs with the regular facelet view handler, must be something wrong with my setup.
-
55. Re: Seam 1.1 beta 1
bpatters Nov 7, 2006 7:17 PM (in response to gavin.king)"bpatters" wrote:
Just verified the exception occurs with the regular facelet view handler, must be something wrong with my setup.
I figured it out. in my tag file I had:<tag> <tag-name>roomEditPanel</tag-name> <source>components/roomEditPanel.xhtml></source> </tag>
Notice the extra>
at the end of the source value. That was messing it up.