[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager
Hi, I have the same problem here, I have a SESSION EJB that is working with extended PersistenceContext but when I try to inject EntityManager in a session scoped seam pojo it give me the org.jboss.seam.RequiredException... My conf: 1. JBoss AS 4.2.1GA 2. Seam 2.0.0.GA 3. Richfaces 3.1.2.GA Thanks! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107602#4107602 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem pasting text from Word using s:formattedText
Hi, I have another problem from Word pasting: unexpected char: 0x93 and 0x94 they are very common character coz they are the char (both open and close one)... thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4107268#4107268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4107268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PAGE scope and Ajax dataTable scroll
I used LRC and CONVERSATION scope, btw it would be good if page layout would mantain the same persistence context across ajax calls, if not it's impossible to use PAGE scope, ajax e JPA (of course EAGER fetch would work for datascrolling problem but I would like to use Lazy fetch)... thank you! Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105417#4105417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - PAGE scope and Ajax dataTable scroll
Hi, I have a PAGE scoped bean, inside I have a list that I read from a db, in the xhtml I have a rich:dataTable and a rich:datascroller but when I scroll data I got a LazyInitializationException (could not initialize proxy - no Session). I know that it's because the objects are detached coz of the serialization of the Bean, in fact if I use a long running conversation it works. So my question is: there is a way to implement ajax data scrolling in a PAGE scoped bean or I have to use CONVERSATION scoped bean? tnx Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105142#4105142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PAGE scope and Ajax dataTable scroll
This is my bean: | @Name(myBean) | @Scope(ScopeType.PAGE) | public class MyBean implements Serializable { | | @In (create=true) | EntityManager entityManager; | | ... | I understood that the cause is because the short session of the entityManager session but as it is a seam component (and not an EJB), how can I extend the persistence context? Is there some way as for long-running conversations? or have I to use EJB? Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4105260#4105260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4105260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting the Seam context in a Filter
Hi! I did like in Seam Space and it works for all components except one (the one I need!), I found that the problem is the injecting of FacesContext so if I remove: @In FacesContext facesContext; it works...but I need it because I have to read an init parameter (that I put in web.xml). How can I do? thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4103292#4103292 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4103292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Getting the current URL in Seam
Hi, I want to make the send this page to a friend function and put in all pages, how can I get the URL of the page I am in (with all the parameters too) so I can put in the form? Also I want to do a Print button that reload the same page adding a param that says to the template.xhtml to do not show the menu and open the print dialog. I know I can use javascript as workaround but I want to know if there is a better way... Thanks! Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101303#4101303 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
Is there someone can answer here? thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085863#4085863 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
I see, even if I think a pluggable system over the antlr-generated base would be useful (even if for simpler expressions)... btw so I think that the \n problem is a bug... also I propose to change the / character for italic because it is very common in language and a lot of ppl using it wrong forgotting that it is a special character... I know it's difficult to do coz of backwards compatibility, but I think we have to discuss this, what do you think? demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4085906#4085906 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4085906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
I know about the difficult of changing language now... thanks I will check the wiki... demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4086042#4086042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4086042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
Hi, I think that not supporting is a bug, can I open a JIRA? also, is there some news about the possibility to dinamically extending Seam Text? Thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4082560#4082560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4082560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and RichFaces Tree component problem
be aware that using this option on JBoss AS 4.0.5 it breaks the seam mail functionality... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080896#4080896 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Reducing size of the default JBoss AS 4.2.1 server for Seam
Hi, I'm trying to install JBoss AS 4.2.1 to load 2 seam application on a virtual server. The problem is that it has just 64MB of memory (I'm asking if I can increase it) and after the installing of both application and starting the server it remains only 9MB free. What services can I put out to mantain the Seam functionalities? For example I don't use WebServices, can I put out WS service without affecting Seam? Thank you, Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080391#4080391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Reducing size of the default JBoss AS 4.2.1 server for S
Thank you! the document is very usefull...if someone tuned it for Seam I would ask which services are to put out... btw I will make some test removing and looking if it works and so on... thank you again! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080400#4080400 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Text and \n
Hi, I noticed that if I put a \n in the text rendered by s:formattedText / it doen's put a so I have to put \n\n to have a new paragraph but this is not the formatting I want... is it a bug or a feature? Can I implement some extension by myslef to add to standards one? Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080555#4080555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
but if I just want a line break (I mean a br / , in the first post it was hidden)? without a new paragraph like this line I'm writing...I can't... how can I do to extend it? I need it coz all ppl that are using my app when they put a new line they aspect a new line in the result too so they see that like a bug... thanks... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080577#4080577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Text and \n
Thanks, I will try, isn't there a way to add rules dynamically? I also want to add some application-related rules and this would be very cool... I'm not an expert on this but if you give me the start I will try... Thanks... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4080615#4080615 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4080615 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - [SEAM+RICHFACES] Problems using rich:togglePanel
Hi, today I had a problem in Seam using the togglePanel component, in simple words I have a toggle panel with 2 states, the first has just 1 link, if I click it will switch to an edit input control and a button to save the control. When I click the first button I set the bean to edit (that is null at first) but when I try to save it I get a NPE like as the conversation was closed. This is my code: view: | rich:togglePanel id=gctp switchType=client stateOrder=txt,edit | f:facet name=txt | h:panelGroup | rich:toggleControl for=gctp | a:commandLink value=Aggiungi gruppo action=#{homepageHelper.preparaAggiuntaGruppo}/a:commandLink | /rich:toggleControl | /h:panelGroup | /f:facet | f:facet name=edit | h:panelGroup | h:outputText value=Gruppo: /h:outputText | h:inputText value=#{homepageHelper.gruppoEdit.descrizione}/h:inputText | rich:toggleControl for=gctp | a:commandLink action=#{homepageHelper.salvaGruppo} value=Salva / | /rich:toggleControl | /h:panelGroup | /f:facet | /rich:togglePanel | bean (Scope=CONVERSATION): | @Name(homepageHelper) | @Scope(ScopeType.CONVERSATION) | public class HomepageHelper implements Serializable { | | private Gruppo gruppoEdit; // gruppo usato per l'aggiunta o la modifica | | public Gruppo getGruppoEdit() { | if (gruppoEdit==null) { | gruppoEdit=new Gruppo(); | System.out.println(NEWGET); | System.out.println(HPH: +this); | } | System.out.println(GET); | return gruppoEdit; | } | | public void setGruppoEdit(Gruppo gruppoEdit) { | System.out.println(SET: +gruppoEdit); | System.out.println(HPH: +this); | this.gruppoEdit = gruppoEdit; | } | | public void preparaAggiuntaGruppo() { | Gruppo g = new Gruppo(); | g.setContatto(loggedUserManager.getLoggedUser()); | g.setDescrizione(nuovo); | System.out.println(pag); | setGruppoEdit(g); | } | | public void preparaModificaGruppo() { | setGruppoEdit(getGruppoSelezionato()); | } | | public void salvaGruppo() { | // Se sono in modifica | System.out.println(GE: +getGruppoEdit().getDescrizione()); | System.out.println(HPH: +this); | /*if (entityManager.contains(getGruppoEdit())) { | entityManager.merge(getGruppoEdit()); | } else { | entityManager.persist(getGruppoEdit()); | } | entityManager.flush(); // Salvo | */ | } | | ... | where do I wrong? I noticed during my tests that the conversation object HomepageHelper has different instances between switching. Also I tried to do now use togglePanel and it works, like that: | a:form id=gcform | a:commandLink value=Aggiungi gruppo action=#{homepageHelper.preparaAggiuntaGruppo} reRender=gcform/a:commandLink | h:outputText value=Gruppo: /h:outputText | h:inputText value=#{homepageHelper.gruppoEdit.descrizione}/h:inputText | a:commandLink action=#{homepageHelper.salvaGruppo} value=Salva reRender=gcform/ | /a:form | I don't know if it is a seam problem or a richfaces problem (or my problem :D) so I post this in both the forums... thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078121#4078121 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [SEAM+RICHFACES] Problems using rich:togglePanel
Sorry I posted the wrong beans code (it was the one after some tests :P).. this is the right one: | @Name(homepageHelper) | @Scope(ScopeType.CONVERSATION) | public class HomepageHelper implements Serializable { | | private Gruppo gruppoEdit; // gruppo usato per l'aggiunta o la modifica | | public Gruppo getGruppoEdit() { | return gruppoEdit; | } | | public void setGruppoEdit(Gruppo gruppoEdit) { | this.gruppoEdit = gruppoEdit; | } | | public void preparaAggiuntaGruppo() { | Gruppo g = new Gruppo(); | g.setContatto(loggedUserManager.getLoggedUser()); | | setGruppoEdit(g); | } | | public void salvaGruppo() { | // Se sono in modifica | if (entityManager.contains(getGruppoEdit())) { | entityManager.merge(getGruppoEdit()); | } else { | entityManager.persist(getGruppoEdit()); | } | entityManager.flush(); // Salvo | } | | ... | Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078124#4078124 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
Hi, I started a seam-gen project to make the deployable example and I found that upload over there worked!! So I understood why it doesn't work for me infact if I delete the Tomahawk library it works!! So maybe it is the tomahawk filter that give problems... I need that library so I don't know how to do...do you have some idea to solve this? Demetrio P.S.: if you want I can integrate tomahawk library to the uploadFileTest example I have done and send it to you, or if you need to now how I integrated the tomahawk lbrary (maybe I wronged something) I just made a post in my blog, you can find it here: http://demetrio812.blogspot.com/2007/08/install-tomahawk-in-seam-gen-generated.html thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4078016#4078016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4078016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
I did but it still doesn't work... I don't know what to do anymore... :( Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077865#4077865 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
Is there someone that can help me checking the configuration? thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077181#4077181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
Today I looked again but nothing, it doesn't work.. someone know if it's a problem of JBoss AS 4.2.1.GA or of Seam 2 B1? thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077522#4077522 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077522 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error creating component org.jboss.seam.core.resourceBundle
Hi, I just downloaded the latest version(Build #142 22-ago-2007 0.49.47), I created a project with seam-gen, tried to deploy: all is ok. Then I added some resource bundle files in resources directory and the following code in components.xml: | core:resource-bundle | core:bundle-names | valuemessages/value | valuemessages_site/value | valuemessages_articles/value | valuemessages_articles_list/value | valuemessages_articles_form/value | /core:bundle-names | /core:resource-bundle | I restarted the server and I got the following exception: anonymous wrote : | 11:33:36,265 ERROR [[/unica3]] Exception sending context initialized event to listener instance of class org.jboss.seam.servlet.SeamListener | java.lang.RuntimeException: Could not create Component: org.jboss.seam.core.resourceBundle | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:955) | at org.jboss.seam.init.Initialization.installComponents(Initialization.java:882) | at org.jboss.seam.init.Initialization.init(Initialization.java:538) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4359) | at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761) | at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741) | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.apache.catalina.core.StandardContext.init(StandardContext.java:5310) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297) | at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301) | at org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104) | at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375) | at org.jboss.web.WebModule.startModule(WebModule.java:83) | at org.jboss.web.WebModule.startService(WebModule.java:61) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) |
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
2.0B1, but it was a version of the july 9th... so I'm tring with the latest one but I got some problem (see also http://www.jboss.com/index.html?module=bbop=viewtopict=116726) Thank for helping! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076702#4076702 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
I wanted to try with current CVS but I can't because it doesn't deploy coz of the other error and I need message bundles (the page that give me the error use them)... So I'm waiting to solve the resourceBundle problem and then I will test it... see the link I putted in the other post for further details... thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076727#4076727 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
it seems the same bug of this one, isn't it? http://jboss.com/index.html?module=bbop=viewtopict=112337 demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076730#4076730 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun
sorry..it works now...I'm going to check the other problem... thanks! Demetrio FIlocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076739#4076739 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
I updated the project and it works now!! Sorry for all the time you lost following me... another little question: I have a component in application scope: | framework:entity-query name=linguaAll | entity-manager=#{entityManager} | ejbql=select lingua from Lingua lingua | order=Descrizione | scope=application | /framework:entity-query | I putted in application because it doesn't change after startup... If I use it in a selectOneMenu in this way: | h:selectOneMenu id=lingua value=#{articoloHome.instance.lingua} required=true | s:selectItems value=#{linguaAll.resultList} var=lingua label=#{lingua.descrizione}/ | s:convertEntity / | /h:selectOneMenu | It give me the Value is not valid error... if I put the component in conversation scope it works, but I thought that application scope was fine coz it is longer than conversation scope, where do I wrong? and if application scope is bad how can I do to do not reload from DB at every new conversation? Thanks again! Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076761#4076761 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
Hi, thanks again... I read it yesterday and I thought that giving that application scope is longer then conversation scope it would work... now I read it again that line: anonymous wrote : | Ensure that you are in a long-running conversation that spans the both the select list creation and the submission of the form. | So maybe I must use the same conversation? (so the same JPA session?) is there a way to leave the component on application scope and then merge it in conversation scope? other ideas on how to implement this? Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076786#4076786 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076786 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
I see... Thank you very much for your answers!! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076806#4076806 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support
Also another case: I putted a selectOneMenu with a:support inside it... Then select an element and while support is updating the bean via ajax request (u can see using the a:status component) I select another element. When I select the second element the page is reloaded with the message The conversation ended, timed out or was processing another request... I'm using a modified sea-gen generated app. Maybe it's the same problem... Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076844#4076844 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support
Hi, no for me it's the same, I putter the a:form.../a:form out of all and it give to me the same error... another issue I found: I have rich:tabPanel switchType=ajax ... If I click 2 or more time to a tab to switch the tab panel it give me the same error... So I think that the problem is related to multiple ajax requests... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076959#4076959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support
The code that I use to show the problem is that: | a:form ajaxSubmit=true id=formAC | h:outputText value=Tipologia: /h:outputText | h:selectOneMenu id=tipologiaAC value=#{articoloHelper.tipologiaArticoloDaCollegare} | s:selectItems value=#{tipologiaArticoloAll.resultList} var=tip label=#{tip.descrizione} noSelectionLabel=Seleziona la tipologia.../ | s:convertEntity / | a:support event=onchange reRender=articoliACop ajaxSingle=true | /a:support | /h:selectOneMenu | a:outputPanel id=articoliACop | h:outputText value=Oggetto da collegare: rendered=#{articoloHelper.tipologiaArticoloDaCollegare!=null}/h:outputText | h:selectOneMenu id=articoliAC value=#{articoloHelper.articoloDaCollegare} rendered=#{articoloHelper.tipologiaArticoloDaCollegare!=null} | s:selectItems value=#{articoloHelper.articoliCollegabili} var=tip label=#{tip.titolo} noSelectionLabel=Seleziona un oggetto.../ | s:convertEntity / | a:support event=onchange reRender=btnACop ajaxSingle=true/a:support | /h:selectOneMenu | /a:outputPanel | a:outputPanel id=btnACop | a:commandButton id=btnAC value=Collega action=#{articoloHelper.collegaArticolo(articoloHome.instance)} | rendered=#{articoloHelper.articoloDaCollegare!=null} reRender=opArticoliCollegati/a:commandButton | /a:outputPanel | a:status startText=Aggiornamento dati in corso.../a:status | /a:form | Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076961#4076961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:fileUpload error
Hi, I read about 50 posts, tried a lot of combination but a simple file upload is not working in my app (Seam 2B1, JBoss AS 4.2.1GA)...I made to work about 2 months ago (Seam 1.2.1GA, JBoss AS 4.0.X). I tried SEAM POJO, SLSB, SFSB with CONVERSATION or EVENT scope, tried InputStream for data field but also byte[], add Seam Multipart Filter (org.jboss.seam.web.MultipartFilter) to web.xml but it doesn't work! this is my configuration: web.xml: | ?xml version=1.0 ? | web-app xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd; | version=2.5 | | !-- Ajax4jsf -- | | context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valuecom.sun.facelets.FaceletViewHandler/param-value | /context-param | | context-param | param-nameorg.ajax4jsf.SKIN/param-name | param-valueblueSky/param-value | /context-param | |!-- Seam -- | |listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class |/listener | | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.servlet.SeamFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | |servlet | servlet-nameSeam Resource Servlet/servlet-name | servlet-classorg.jboss.seam.servlet.SeamResourceServlet/servlet-class |/servlet | |servlet-mapping | servlet-nameSeam Resource Servlet/servlet-name | url-pattern/seam/resource/*/url-pattern |/servlet-mapping | |!-- Facelets development mode (disable in production) -- | |context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuetrue/param-value |/context-param | |!-- JSF -- | |context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.xhtml/param-value |/context-param | |servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup |/servlet | |servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern*.seam/url-pattern |/servlet-mapping | |security-constraint |display-nameRestrict raw XHTML Documents/display-name |web-resource-collection |web-resource-nameXHTML/web-resource-name |url-pattern*.xhtml/url-pattern |/web-resource-collection |auth-constraint/ |/security-constraint | | context-param | param-namefacelets.LIBRARIES/param-name | param-value/WEB-INF/tomahawk.taglib.xml/param-value | /context-param | !-- Tomahawk -- | filter | filter-nameMyFacesExtensionsFilter/filter-name | filter-classorg.apache.myfaces.webapp.filter.ExtensionsFilter/filter-class | init-param | param-namemaxFileSize/param-name | param-value20m/param-value | /init-param | /filter | | !-- extension mapping for adding script/, link/, and other resource tags to JSF-pages -- | filter-mapping | filter-nameMyFacesExtensionsFilter/filter-name | !-- servlet-name must match the name of your javax.faces.webapp.FacesServlet entry -- | servlet-nameFaces Servlet/servlet-name | /filter-mapping | | !-- extension mapping for serving page-independent resources (javascript, stylesheets, images, etc.) -- | filter-mapping | filter-nameMyFacesExtensionsFilter/filter-name | url-pattern/faces/myFacesExtensionResource/*/url-pattern | /filter-mapping | | !-- Parametri applicazione -- | context-param | param-nameid_tipologia_admin/param-name | param-value1/param-value | /context-param | context-param | param-nameid_tipologia_editor/param-name | param-value2/param-value | /context-param | context-param | param-nameid_tipologia_guest/param-name | param-value3/param-value | /context-param | context-param | param-nameid_tipologia_iscritto_newsletter/param-name | param-value4/param-value | /context-param | context-param | param-nameid_lingua_default/param-name | param-value1/param-value | /context-param | context-param | param-nameid_configurazione/param-name | param-value1/param-value | /context-param | | | /web-app | | component.xml: | ?xml version=1.0 encoding=UTF-8? | components xmlns=http://jboss.com/products/seam/components; | xmlns:core=http://jboss.com/products/seam/core; |
[jboss-user] [JBoss Seam] - Re: s:fileUpload error
Sorry I forgot to tell the the fields are always null... thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4077024#4077024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4077024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectOneMenu problem
Hi, I have a seam-gen app, in the edit form I inserted the following code: | s:decorate template=layout/edit.xhtml | ui:define name=labelStato/ui:define | h:selectOneMenu id=stato value=#{articoloHome.instance.statoArticolo} required=true | s:selectItems value=#{articoloHelper.getStatiArticolo(articoloHome.instance.tipologiaArticolo.id)} var=stato label=#{stato.descrizione} noSelectionLabel=Seleziona lo stato.../ | s:convertEntity / | /h:selectOneMenu | /s:decorate | It call the getStatiArticolo function that is in articoloHelper (Seam POJO, Scope=CONVERSATION): | private ListStatoArticolo statiArticolo; | | public ListStatoArticolo getStatiArticolo(int idTipologia) | { | if (statiArticolo==null) { | statiArticolo = (ListStatoArticolo) entityManager.createQuery( | from StatoArticolo sa WHERE sa.tipologiaArticolo.id = +idTipologia+ ORDER BY sa.descrizione).getResultList(); | } | | return statiArticolo; | } | The menu and its items are rendered fine, the selected item works, but when I click on submit I got a strange error: anonymous wrote : | | java.lang.IllegalArgumentException: Unknown entity: com.novaware.unica.StatoArticolo_$$_javassist_5 | at org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:185) | at org.jboss.seam.persistence.EntityManagerProxy.find(EntityManagerProxy.java:85) | at org.jboss.seam.framework.EntityIdentifier.find(EntityIdentifier.java:26) | at org.jboss.seam.ui.converter.EntityConverterStore.get(EntityConverterStore.java:43) | at org.jboss.seam.ui.converter.EntityConverter.getAsObject(EntityConverter.java:81) | at org.jboss.seam.ui.converter.PrioritizableConverter.getAsObject(PrioritizableConverter.java:61) | at org.jboss.seam.ui.converter.ConverterChain.getAsObject(ConverterChain.java:107) | at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:152) | at com.sun.faces.renderkit.html_basic.MenuRenderer.convertSelectOneValue(MenuRenderer.java:197) | at com.sun.faces.renderkit.html_basic.MenuRenderer.getConvertedValue(MenuRenderer.java:359) | at javax.faces.component.UIInput.getConvertedValue(UIInput.java:934) | at javax.faces.component.UIInput.validate(UIInput.java:860) | at javax.faces.component.UIInput.executeValidate(UIInput.java:1065) | at javax.faces.component.UIInput.processValidators(UIInput.java:666) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIForm.processValidators(UIForm.java:229) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662) | at org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:59) | at org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:321) | at org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56) | at org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:171) | at org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:335) | at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:63) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87) | at org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | at
[jboss-user] [JBoss Seam] - Re: selectOneMenu problem
I also tried to do not use the method and use component definition in components.xml, if I don't use a value of the instance of articoloHome it works, like that: | framework:entity-query name=statoArticoliAll | entity-manager=#{entityManager} | ejbql=select sa from StatoArticolo sa WHERE sa.tipologiaArticolo.id=2 | order=descrizione | scope=conversation | /framework:entity-query | I manually coded the 2 value of the id of tipologiaArticolo (that's wrong, I need dynamic value). In the right way I need it doesn't works and give me the same error: | framework:entity-query name=statoArticoliAll | entity-manager=#{entityManager} | ejbql=select sa from StatoArticolo sa | order=descrizione | scope=conversation | framework:restrictions | valuetipologiaArticolo = #{articoloHome.instance.tipologiaArticolo}/value | /framework:restrictions | /framework:entity-query | So I think the problem is in articoloHome (seam-gen generated class that extends EntityHome). Any ideas? Thanks! Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4076551#4076551 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4076551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT
Hi! Same problem for me... I tried to add the emma.jar and emma_ant.jar but it didn't work... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4075518#4075518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4075518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam from CVS in Eclipse, missing files
Thank you! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070939#4070939 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070939 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam from CVS in Eclipse, missing files
Hi, I want to build a CVS version of seam, got it from anonymous cvs but Eclipse reports me import error of the following files: org.jboss.seam.text.SeamTextLexer; org.jboss.seam.text.SeamTextParser; I verified that no org.jboss.seam.text is in the CVS version I imported where do I wrong? Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4070894#4070894 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4070894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Problem installing JBoss 4.2.1 on a virtual server (process
Hi, I managed to install JBoss AS 4.2.1GA in a virtual server. It works when I run it but after a bit of time (generally 1 hour) it is killed, I don't know why (in log file there is nothing explaining why) I have limitation on ports so I changed the working ports modifying server.xml file (is it a problem?). Also I had a problem starting with -server -Xms128m -Xmx512m options so I disabled for now (maybe too few memory?) How can I identify why it is killed? I checked system logs but I didn't find anything... Can someone help me finding a solution? it's very important... Thank you Demetrio Filocamo ([EMAIL PROTECTED]) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4068692#4068692 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4068692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Validator in Bean
Hi, I'm using Seam 2.0 B1, I wrote a validator function in a seam managed bean (stateful), this is the code: | public void validaEmailNewsletter(FacesContext context, UIComponent toValidate, Object value) { | if (isEmailInserita((String)value)) { // se c'è già | FacesMessage message = new FacesMessage(FacesMessage.SEVERITY_ERROR, Attenzione: l'indirizzo email è già stato registrato, Attenzione: l'indirizzo email è già stato registrato); | throw new ValidatorException(message); | } | } | validation works good but the only problem is that the message is very verbose and not only with my personalized message and it's like it happens a EJBTransactionRolledbackException, it looks like: /home.xhtml @96,280 validator=#{newsletterHelper.validaEmailNewsletter}: javax.ejb.EJBTransactionRolledbackException: Attenzione: l'indirizzo email è già stato registrato What's the problem? Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4066932#4066932 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4066932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam-gen and WTP in Seam 2
Hi, I just tried seam-gen of Seam 2.0 b1 and the help says that: | There is support for generating eclipse WTP compliant EAR, JAR, WAR projects. If you select 'Y' for WTP, then some build tasks, like compile, build, deploy will not work. | But doing the setup there no question about WTP support, I also checed JIRA and it seam that WTP support is still not closed. Where is the truth? :) Thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4059678#4059678 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4059678 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
I confirm it is the UseJBossWebLoader set to true that make the email fails. I have to set to true coz I'm using rich faces drag and drop and it needs to import the DropEvent class (org.ajax4jsf.dnd.event.DropEvent). You suggested to put anything in the WAR, but how can I do with my case? Is there a solution or I have to wait until the next version of Rich Faces? Thanks! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057158#4057158 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:formattedText doesn't render anything
Hi I changed the seam-gen generated code to use the s:formattedText tag but it doesn't render anything...what's wrong? That's the code I use: | s:decorate id=testoDecoration template=layout/edit.xhtml | ui:define name=labelText/ui:define | s:formattedText id=testo value=#{paginaHome.instance.testo}/ | /s:decorate | Thanks! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055946#4055946 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055946 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:formattedText doesn't render anything
Sorry I misunderstood the use... now it is clear! Thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4055964#4055964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4055964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi! I also tried that but that the output debug: | 11:56:22,968 INFO [MailSession] Creating JavaMail Session (out.virgilio.it:25) | 11:56:22,968 INFO [STDOUT] DEBUG: setDebug: JavaMail version 1.4ea | 11:56:22,968 INFO [MailSession] connected to mail server | btw I don't think it is a JavaMail problem...I also use JavaMail in another Java program and it works from my workstation with the same settings... Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4047489#4047489 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4047489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
Hi, I didn't noticed this topic and I started a new one (sorry). I used seam-gen and the developer guide informations and it give me the same error! I'm using the latest version of Seam and JBoss AS. here my topic: http://jboss.org/index.html?module=bbop=viewtopict=108791 Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046985#4046985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mail sending error
Hi, thanks for the answer! Yes I have it, I generated the project using seam-gen and I'm using JBoss AS, this is my web.xml: | ?xml version=1.0? | web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; | context-param | param-nameorg.ajax4jsf.VIEW_HANDLERS/param-name | param-valueorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/param-value | /context-param | context-param | param-nameorg.ajax4jsf.SKIN/param-name | param-valueblack/param-value | /context-param | !-- Facelets development mode (disable in production) -- | context-param | param-namefacelets.DEVELOPMENT/param-name | param-valuetrue/param-value | /context-param | !-- JSF -- | context-param | param-namejavax.faces.STATE_SAVING_METHOD/param-name | param-valueclient/param-value | /context-param | context-param | param-namejavax.faces.DEFAULT_SUFFIX/param-name | param-value.xhtml/param-value | /context-param | !-- Ajax4jsf (must come first!) -- | filter | display-nameAjax4jsf Filter/display-name | filter-nameajax4jsf/filter-name | filter-classorg.ajax4jsf.Filter/filter-class | /filter | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.web.SeamFilter/filter-class | /filter | filter-mapping | filter-nameajax4jsf/filter-name | url-pattern*.seam/url-pattern | /filter-mapping | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping | !-- Seam -- | listener | listener-classorg.jboss.seam.servlet.SeamListener/listener-class | /listener | !-- MyFaces -- | listener | listener-classorg.apache.myfaces.webapp.StartupServletContextListener/listener-class | /listener | servlet | servlet-nameSeam Resource Servlet/servlet-name | servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class | /servlet | servlet | servlet-nameFaces Servlet/servlet-name | servlet-classjavax.faces.webapp.FacesServlet/servlet-class | load-on-startup1/load-on-startup | /servlet | servlet-mapping | servlet-nameSeam Resource Servlet/servlet-name | url-pattern/seam/resource/*/url-pattern | /servlet-mapping | servlet-mapping | servlet-nameFaces Servlet/servlet-name | url-pattern*.seam/url-pattern | /servlet-mapping | security-constraint | display-nameRestrict raw XHTML Documents/display-name | web-resource-collection |web-resource-nameXHTML/web-resource-name |url-pattern*.xhtml/url-pattern | /web-resource-collection | auth-constraint |role-nameNONE/role-name | /auth-constraint | /security-constraint | login-config | auth-methodBASIC/auth-method | /login-config | /web-app | Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4046944#4046944 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4046944 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen and inputSecret in edit form
Hi, I made a project with seam-gen: all works! great framework and tools!! But when I changed this code: | s:decorate id=passwordDecoration template=layout/edit.xhtml | ui:define name=labelpassword/ui:define | h:inputText id=password |required=true |size=20 | maxlength=20 | value=#{utenteHome.instance.password} | a:support event=onblur reRender=passwordDecoration/ | /h:inputText | /s:decorate | In this: | s:decorate id=passwordDecoration template=layout/edit.xhtml | ui:define name=labelpassword/ui:define | h:inputSecret id=password |required=true |size=20 | maxlength=20 | value=#{utenteHome.instance.password} | a:support event=onblur reRender=passwordDecoration/ | /h:inputSecret | /s:decorate | When I move out from the inputSecret the value disappear... how can I solve this? Thanks a lot! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044958#4044958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen and inputSecret in edit form
I solved setting redisplay=true in the inputSecret...is it a secure way? Thanks! Demetrio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4044965#4044965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4044965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user