[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"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: | | roomEditPanel |components/roomEditPanel.xhtml> | Notice the extra > at the end of the source value. That was messing it up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983959#3983959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Just verified the exception occurs with the regular facelet view handler, must be something wrong with my setup. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983951#3983951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" 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. | | Stan 2006-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 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.Bas
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983867#3983867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983867 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" wrote : "[EMAIL PROTECTED]" wrote : anonymous 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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983865#3983865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
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? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983830#3983830 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" wrote : anonymous 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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983609#3983609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
anonymous wrote : You should only use this feature for actions (not actionListener, validator, or valueChangeListener). Why wouldn't actionListener or valueChangeListener work? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983540#3983540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" 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 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983531#3983531 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" 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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983482#3983482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983365#3983365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"bpatters" wrote : HUGE kudo's for the facelet support of parameters in action expressions! | | Being able to do: "#{contact.addContact(c)}" has really simplified some the things I'm trying to do. | | | One thing, I don't know if this is a bug or I'm misunderstanding something but: | | a4j namespace is the Ajax4Jsf function set. | | the command: | | Works inside a datatable like: | | | | | ## above action here | | | | | But when it's inside: | | | ## command goes here | | | | it doesn't work, the pareamter sent to the function always resolves to null. | | | The above is just a contrived example of what I saw last night with my real application, if you need the real code example that doesn't work I will have to do that tonight/this weekend. | | Gavin is correct. But to be more specific, the action param feature doesn't support EL variables. An EL variable is a special page-level variable used by tags such as . Actually, this can be fixed for use with Facelets because Facelets includes Unified EL. Please create a JIRA task for it. I probably won't get around to fixing it for quite awhile though. It will also eventually work with the JSF 1.2/JSP 2.1/JSTL 1.2 combo. Stan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983328#3983328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
yes, this was already fixed in cvs View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983238#3983238 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Gavin, Without intending to be picky, I just noticed the Seam 1.1 Beta reference shows it's version as 1.0.1.GA; both for the HTML and PDF versions. This might lead readers to think that it is unchanged from the 1.0.1 release, which almost happened to me. Ian (Sydney) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983208#3983208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" wrote : not going to make a difference. | | Why aren't you using ui:repeat?? I tend to flip flop between the two, primarily because a bug somewhere else in my code is causing the ui:repeat to not work or vice versa. I'll start using ui:repeat instead. Any pointers to required reading that will help me understand when I can use the parameters and when they won't be able to be resolved? Seam + facelets +ajax4jsf is really nice, I really started to see the power last night when I was working with tables within tables and optionally rendered drop downs etc. These function parameters really helped simplify the tables within tables scenario versus using @DataModelSelection . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983057#3983057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
not going to make a difference. Why aren't you using ui:repeat?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983055#3983055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
"[EMAIL PROTECTED]" wrote : Right, the big caveat with this stuff is that the parameter value is evaluated when the form is *submitted*, not when the form is *rendered*. "c" must be a valid context variable available during the form submission. Thanks, I figured it was probably something like that. I'm not an expert at JSF just yet, so the different between the two isn't obvious to me. So I'm guessing that it essentially means I can't use variable parameters except in certain circumstances. If I changed it to something like: Where ID is a Long and the primary key of the contact would it work inside a ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983054#3983054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Right, the big caveat with this stuff is that the parameter value is evaluated when the form is *submitted*, not when the form is *rendered*. "c" must be a valid context variable available during the form submission. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983047#3983047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
HUGE kudo's for the facelet support of parameters in action expressions! Being able to do: "#{contact.addContact(c)}" has really simplified some the things I'm trying to do. One thing, I don't know if this is a bug or I'm misunderstanding something but: a4j namespace is the Ajax4Jsf function set. the command: Works inside a datatable like: | | ## above action here | | But when it's inside: | ## command goes here | it doesn't work, the pareamter sent to the function always resolves to null. The above is just a contrived example of what I saw last night with my real application, if you need the real code example that doesn't work I will have to do that tonight/this weekend. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3983046#3983046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3983046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I've fixed the security example, there was a redundant entry left in components.xml. Both jboss-service.xml and login-config.xml have been removed, I'll update the wiki page to reflect this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981592#3981592 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Security Example: It seems that Authenticator.instance().authenticate(user.getUsername(), user.getPassword()) in LoginAction always return true. It seems jboss-service.xml login-config.xml are not used any more. The sutentication configuration guide still apply to 1.1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981496#3981496 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981496 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Right. Its not finished. Thats why it has not been release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981477#3981477 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I'm using 4.0.4 patched with EJB3 RC9... I'll try 4.0.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981476#3981476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
ok thanks, security exemple (freshly updated from CVS) don't work for me for two reasons: - first one: I think seam.properties should be renamed into component.properties and the corresponding line inserted into build.xml (at line 42 for me) ... then it starts for me... but when started.. - second one: it doesn't work (I have no more information yet): I log in using demo demo then I have the menu but when I press ProtectedAction I'm redirected to the login page... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981475#3981475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
It means we worked with the Ajax4JSF guys to fix the incompatibilities. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981472#3981472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
and about A4J integration? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981471#3981471 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Personaly I changed directly seam sources into: SeamApplication11{... public MethodBinding createMethodBinding(String ref, Class[] params) throws ReferenceSyntaxException { //return new ActionParamMethodBinding(application, ref); return getDelegate().createMethodBinding(ref, params); } } and it works!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981466#3981466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981466 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I have already fixed this issue in CVS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981469#3981469 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I have just tryed it!!! I have one bug report yet: it seems the ActionParamMethodBinding returned by SeamApplication11.createMethodBinding doesn't take care of methods parameters: I use sandbox autocomplete component and the backbean method signature is List getSuggestion(String)... when I launch it I got a NotSuchMethodException getSuggestion() ... The parameter "Class[] params" in SeamApplication11.createMethodBinding is lost...do you want me to post the bug on an other channel? I also have a question about A4J integration: what is it about : I used A4J with seam successfully with seam 1.0.. what does this integration provide? is it just about the bookinjg exemple or A4J is integrated into seam core?? THANKS!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981465#3981465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Fixed in CVS View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981456#3981456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981456 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
ugh. embarrassing View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981453#3981453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Ooops. This was a bad bug in beta1, created during some last-minute refactoring :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981451#3981451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Sorry, but we are not in Debug-Mode of Seam and our application exception is still eaten by seam-interceptor. In our calling method we run some hibernate-statements, which run into an NoSuchResultException, which we catches an re-throw as an ApplicationException(rollback=true). This ApplicationException is now eaten by seam, although the applicationException is not seam-annotated. See following output: 17:25:04,575 INFO [STDOUT] Hibernate: select userentity0_.ID as ID2_ from USER userentity0_ where lower(userentity0_.USER_NAME)=lower(?) 17:25:04,778 INFO [ExceptionInterceptor] no exceptions.xml file found Any Idea ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981339#3981339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Seam does not ever catch non-annotated exceptions, except in debug mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981323#3981323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Thank you. I have a problem using Seam 1.1 with JBoss 4.0.5. My action-method in my Login-Bean throws an ApplicationException. I have NOT annotated this applicationException with a seam-annotation. Nevertheless, Seam always catches this exception with its ExceptionInterceptor (or especially the ClientSideInterceptor). Due to this, the exception is now eaten by seam and is not forewarded to my own catch-clause. When I switch off the debug mode, my ApplicationException will not been thrown. How can I stop seam catching ApplicationExceptions which are not anotated with a seam-annotation ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981315#3981315 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
/jboss-seam-1.1.0.BETA1/doc/reference/en/ Gavin probably forgot to change the version number in the document, but if you read it you will see it is changed :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981243#3981243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I can't find the new reference documentation for Seam 1.1 in my downloaded bundle. Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981242#3981242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
that ajax integration :) great :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981002#3981002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
OK, I made it public again. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980831#3980831 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I should have provided more info. We've built our own lightweight restful URL framework on top of Seam + JSF. getActionURL (used by Manager.redirect) can't be relied upon to return the actual restful URL we want to redirect the user to. Maybe I can change our URL going into Manager.redirect to be prefixed by "custom:". Then, our own getActionURL() impl can look for this prefix, and pop it off, and then return what comes after it (which can be a URL fully qualified by https/http/etc). That might work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980782#3980782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
We were finding some use out of this in a custom navigationhandler when it was public in 1.0.1: Manager.encodeConversationId Any reason that can't be public? I guess to use 1.1 for now, I'll just rip the code out of there and inline it in our app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980779#3980779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980779 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
By the way, a page of the documentation covers this stuff. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980747#3980747 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980747 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
What is there today is perhaps less than a full "application framework", but (a) it will grow, and (b) combined with the rest of Seam, it is pretty powerful ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980745#3980745 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980745 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
The docs have been updated in the dist, but not yet uploaded to docs.jboss.org. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980739#3980739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Check out the contactlist example, which uses the framework. It's also in the documentation. From what I can see, It's basically Generic DAO components, though I'm also curious what else might come under the umbrella of the framework. I've been using it to build an internal app for my workplace, In the current state of the framework, I end up subclassing EntityHome to support first-edit-wins concurrency control, and additionally I need to sprinkle a lot of conversation propogation parameters around, since I make the edit screen start a conversation. Still hardly any code at all to write (I only needed one method to catch OptimisticLockException in edits), so while calling it an "Application Framework" is a little bit ambitious this early on (all it does is CRUD), it's got quite a nice start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980717#3980717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
You mention "The Seam Application Framework for data-oriented applications" in the new features. Can you elaborate? Well done btw. Dig. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980682#3980682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Congratulations with the release of the beta. Hopefully I have some time soon to try it out :D. Is the documentation also updated? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980648#3980648 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980648 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I may be wrong, but this so looks like a classloader issue to me. I've tried putting myfaces and dependency jars into my EAR, but no difference. Code from FactoryFinder (MyFaces 1.1.5 -- assuming simlar code here) and log below. It would seem that there is no Map of factoryClassNames at the classloader key. Enough for tonite, I guess. Andy. public static Object getFactory(String factoryName) throws FacesException { if(factoryName == null) throw new NullPointerException("factoryName may not be null"); ClassLoader classLoader = getClassLoader(); Map factoryClassNames = (Map) _registeredFactoryNames.get(classLoader); if (factoryClassNames == null) { String message = "No Factories configured for this Application. This happens if the faces-initialization "+ "does not work at all - make sure that you properly include all configuration settings necessary for a basic faces application " + "and that all the necessary libs are included. Also check the logging output of your web application and your container for any exceptions!" + "\nIf 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.\n" + "A typical config looks like this;\n\n" + " org.apache.myfaces.webapp.StartupServletContextListener\n" + "\n"; throw new IllegalStateException(message); ... 2006-10-25 02:06:11,843 INFO [org.jboss.seam.Component] Component: login, scope: STATELESS, type: STATELESS_SESSION_BEAN, class: org.jboss.seam.example.booking.LoginAction, JNDI: LoginAction/local 2006-10-25 02:06:11,853 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.EventInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)] 2006-10-25 02:06:11,853 INFO [org.jboss.seam.Component] Component: hotelSearch, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.HotelSearchingAction, JNDI: HotelSearchingAction/local 2006-10-25 02:06:11,903 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.EventInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor), Interceptor(org.jboss.seam.example.booking.LoggedInInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)] 2006-10-25 02:06:11,903 INFO [org.jboss.seam.Component] Component: bookingList, scope: SESSION, type: STATEFUL_SESSION_BEAN, class: org.jboss.seam.example.booking.BookingListAction, JNDI: BookingListAction/local 2006-10-25 02:06:11,943 DEBUG [org.jboss.seam.Component] interceptor stack: [Interceptor(org.jboss.seam.interceptors.RemoveInterceptor), Interceptor(org.jboss.seam.interceptors.EventInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationalInterceptor), Interceptor(org.jboss.seam.interceptors.RollbackInterceptor), Interceptor(org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor), Interceptor(org.jboss.seam.example.booking.LoggedInInterceptor), Interceptor(org.jboss.seam.interceptors.BusinessProcessInterceptor), Interceptor(org.jboss.seam.interceptors.ConversationInterceptor), Interceptor(org.jboss.seam.interceptors.OutcomeInterceptor), Interceptor(org.jboss.seam.interceptors.BijectionInterceptor), Interceptor(org.jboss.seam.interceptors.ValidationInterceptor)] 2006-10-25 02:06:11,943 INFO [org.jboss.seam.Component] Component: hotel, scope: CONVERSATION, type: ENTITY_BEAN, class: org.jboss.seam.example.booking.Hotel 2006-10-25 02:06:11,953 INFO [org.jboss.seam.contexts.Lifecycle] starting up: isUserInRole 2006-10-25 02:06:11,953 DEBUG [org.jboss.seam.Component] instantiating Seam component: isUserInRole 2006-10-25 02:06:11,953 DEBUG [org.jboss.seam.Component] initializing
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Ok thanks - happens to be what I'm trying at the moment. I have your booking example in the midst of being converted to a portlet with ear deployment. To me it seems currently that the problem may tie up with the StartupServletContextListener exception that is thrown when MyFaces sees it is not included in the config, but I may be wrong - lots of config to check through. Incidentally, The Portal guys are using a different ajax framework for Portal v2.6 developement. I hope the to will cohabit ok. Andy. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980567#3980567 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
That is my understanding of the situation today. However, there may be some workaround, and we should try to work with the Ajax4JSF and JBoss portal guys to get this issue resolved. I have not yet alerted either side to the problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980566#3980566 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980566 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Gavin, Just to clarify, are you saying that we will not currently be able to use Ajax4JSF support with Portal on JBoss4.0.5? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980565#3980565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980565 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
Migration guide: == * The renderParameters component was removed, use Seam page parameters * Some functionality no longer works out-of-the-box for JPA implementations other than Hibernate. Either switch to Hibernate, or implement a PersistenceProvider for your JPA implementation. (In future we will provide PersistenceProvider implementations for popular JPA solutions.) * Default scoping rules of @Out and @Factory have changed, to be better and more consistent, you may need to add an explicit scope in some rare cases. * is no long supported, use Known issues: = * Ajax4JSF is not compatible with the JBoss 4.0.5 portal profile, so if you want to run the booking demo, install JBoss with the ejb3 profile. * Portlet resize forgets the JSF view id (old bug). * MyFaces 1.1.4 portal support is broken (in JBoss 4.0.5 portal profile), the workaround will be documented in the FAQ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980558#3980558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I believe it will work on 4.0.4, with the usual adjustment for the MyFaces bug. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980497#3980497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980497 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
This sounds fantastic. Quick question: is there any specific / known incompatibility with 4.0.4GA, or is 4.0.5 an actual requirement? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980483#3980483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.1 beta 1
I'm looking forward to trying this all out! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980460#3980460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3980460 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user