[jboss-user] [JBoss Seam] - Re: Seam, problem with EntityManager

2007-11-25 Thread demetrio812
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 T

[jboss-user] [JBoss Seam] - Re: Problem pasting text from Word using s:formattedText

2007-11-23 Thread demetrio812
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=bb&op=viewtopic&p=4107268#4107268 Reply to the pos

[jboss-user] [JBoss Seam] - Re: PAGE scope and Ajax dataTable scroll

2007-11-16 Thread demetrio812
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!

[jboss-user] [JBoss Seam] - Re: PAGE scope and Ajax dataTable scroll

2007-11-15 Thread demetrio812
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

[jboss-user] [JBoss Seam] - PAGE scope and Ajax dataTable scroll

2007-11-15 Thread demetrio812
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 t

[jboss-user] [JBoss Seam] - Re: Getting the Seam context in a Filter

2007-11-09 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Getting the current URL in Seam

2007-11-02 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread demetrio812
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=bb&op=viewtopic&p=4086042#4086042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4086042 _

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-19 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-18 Thread demetrio812
Is there someone can answer here? thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085863#4085863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085863 ___ jb

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-10 Thread demetrio812
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=bb&op=viewtopic&p=4082560#4082560 Reply to the post : http://www.

[jboss-user] [JBoss Seam] - Re: Seam and RichFaces Tree component problem

2007-09-04 Thread demetrio812
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=bb&op=viewtopic&p=4080896#4080896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4080896 _

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-03 Thread demetrio812
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?mod

[jboss-user] [JBoss Seam] - Re: Seam Text and \n

2007-09-03 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Seam Text and \n

2007-09-03 Thread demetrio812
Hi, I noticed that if I put a \n in the text rendered by 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 or

[jboss-user] [JBoss Seam] - Re: Reducing size of the default JBoss AS 4.2.1 server for S

2007-09-03 Thread demetrio812
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=bb&op=viewtopi

[jboss-user] [JBoss Seam] - Reducing size of the default JBoss AS 4.2.1 server for Seam

2007-09-03 Thread demetrio812
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 t

[jboss-user] [JBoss Seam] - Re: [SEAM+RICHFACES] Problems using rich:togglePanel

2007-08-26 Thread demetrio812
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

[jboss-user] [JBoss Seam] - [SEAM+RICHFACES] Problems using rich:togglePanel

2007-08-26 Thread demetrio812
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 nul

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-25 Thread demetrio812
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=bb&op=viewtopic&p=4078016#4078016 Reply to the post : http://www.jboss.com/index.html?module=bb&o

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-24 Thread demetrio812
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=bb&op=viewtopic&p=4077865#4077865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077865 __

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-23 Thread demetrio812
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=bb&op=viewtopic&p=4077522#4077522 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-23 Thread demetrio812
Is there someone that can help me checking the configuration? thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077181#4077181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077181 __

[jboss-user] [JBoss Seam] - Re: s:fileUpload error

2007-08-22 Thread demetrio812
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=bb&op=viewtopic&p=4077024#4077024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077024 ___

[jboss-user] [JBoss Seam] - s:fileUpload error

2007-08-22 Thread demetrio812
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 fie

[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support

2007-08-22 Thread demetrio812
The code that I use to show the problem is that: | | | | | | | | |

[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support

2007-08-22 Thread demetrio812
Hi, no for me it's the same, I putter the ... out of all and it give to me the same error... another issue I found: I have http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076959#4076959 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076959 _

[jboss-user] [JBoss Seam] - Re: Seam conflict with a4j:include and a4j:support

2007-08-22 Thread demetrio812
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 "

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
I see... Thank you very much for your answers!! Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076806#4076806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076806

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
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: | | | I putted in application because it doesn't change after startup... If I use it in a selectOneMenu in this way:

[jboss-user] [JBoss Seam] - Re: Error creating component org.jboss.seam.core.resourceBun

2007-08-22 Thread demetrio812
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=bb&op=viewtopic&p=4076739#4076739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076739 _

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
it seems the same bug of this one, isn't it? http://jboss.com/index.html?module=bb&op=viewtopic&t=112337 demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076730#4076730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=rep

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
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 furthe

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-22 Thread demetrio812
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=bb&op=viewtopic&t=116726) Thank for helping! Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=40767

[jboss-user] [JBoss Seam] - Error creating component org.jboss.seam.core.resourceBundle

2007-08-22 Thread demetrio812
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: | | |

[jboss-user] [JBoss Seam] - Re: selectOneMenu problem

2007-08-21 Thread demetrio812
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: | | | I manually coded the "2" value of the id of tipologiaArticolo (that's wrong, I need dynamic value). In

[jboss-user] [JBoss Seam] - selectOneMenu problem

2007-08-21 Thread demetrio812
Hi, I have a seam-gen app, in the edit form I inserted the following code: | | Stato | | | | | | It call the getStatiArticolo function that is in articoloHelper (Seam POJO, Scope=CONVERSATION): | private List statiArticolo; |

[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: com/vladium/emma/rt/RT

2007-08-19 Thread demetrio812
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=bb&op=viewtopic&p=4075518#4075518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=407551

[jboss-user] [JBoss Seam] - Re: Seam from CVS in Eclipse, missing files

2007-08-05 Thread demetrio812
Thank you! Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070939#4070939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4070939 ___ jboss-user mailing list jboss-user

[jboss-user] [JBoss Seam] - Seam from CVS in Eclipse, missing files

2007-08-04 Thread demetrio812
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?

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Problem installing JBoss 4.2.1 on a virtual server (process

2007-07-30 Thread demetrio812
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 i

[jboss-user] [JBoss Seam] - Validator in Bean

2007-07-24 Thread demetrio812
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à |

[jboss-user] [JBoss Seam] - Seam-gen and WTP in Seam 2

2007-07-02 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-06-23 Thread demetrio812
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 th

[jboss-user] [JBoss Seam] - Re: s:formattedText doesn't render anything

2007-06-20 Thread demetrio812
Sorry I misunderstood the use... now it is clear! Thanks Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055964#4055964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055964 ___

[jboss-user] [JBoss Seam] - s:formattedText doesn't render anything

2007-06-20 Thread demetrio812
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: | | Text | | | Thanks! Demetrio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055946#40

[jboss-user] [JBoss Seam] - Re: Mail sending error

2007-05-22 Thread demetrio812
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

[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-05-19 Thread demetrio812
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=bb&op=viewtopic&t=108791 Demetrio View the

[jboss-user] [JBoss Seam] - Re: Mail sending error

2007-05-18 Thread demetrio812
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: | | 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.s

[jboss-user] [JBoss Seam] - Re: Mail sending error

2007-05-17 Thread demetrio812
Is there someone that can help me? thanks Demetrio Filocamo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046398#4046398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046398 _

[jboss-user] [JBoss Seam] - Mail sending error

2007-05-16 Thread demetrio812
Hi, I have this mail template: | http://www.w3.org/1999/xhtml"; | xmlns:m="http://jboss.com/products/seam/mail"; | xmlns:h="http://java.sun.com/jsf/html";> | | | [EMAIL PROTECTED] | Message from Contact Form | | | | |

[jboss-user] [JBoss Seam] - Re: seam-gen and inputSecret in edit form

2007-05-11 Thread demetrio812
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=bb&op=viewtopic&p=4044965#4044965 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044965 _

[jboss-user] [JBoss Seam] - seam-gen and inputSecret in edit form

2007-05-11 Thread demetrio812
Hi, I made a project with seam-gen: all works! great framework and tools!! But when I changed this code: | | password | | | | | In this: | | password | | | | | When I move out from the inputSecret the value disappe