[jboss-user] [JBoss Seam] - Problem with no handledException with StaleObjectStateExcept

2007-08-25 Thread krica
Hi, I've been trying to figure this out for 5 straight days and cannot understand why org.jboss.seam.handledException is not being set in certain cases. Actually, it is set, but I cannot retrieve it in my handler class. First the setup: -Seam 1.2.1 -Tomcat -Richfaces 3.0.1 -Myfaces 1.1.5 Ok, s

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How do I extend MessageInterpolator?

2007-06-17 Thread krica
Sorry if this is not the right forum, but I couldn't find a dedicated Hibernate Validator forum. In my application, I have validation on a field which changes dynamically, at runtime. Thus, the error message displayed to the customer needs to be dynamic as well. This means that I cannot use a R

[jboss-user] [JBoss Seam] - Argh! Where is the cid coming from?

2007-04-07 Thread krica
Hi, While I really like Seam, sometimes it feels like I've just traded one set of problems for another, that being conversation propagation. Almost every non-trivial web page interaction causes some sort of problem for me. Anyway, here's my current problem, and while I have found a workaround (

[jboss-user] [JBoss Seam] - Re: Help with StaleObjectStateException needed

2007-03-06 Thread krica
Nobody? ... Please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025674#4025674 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4025674 ___ jboss-user mailing list jboss-user@

[jboss-user] [JBoss Seam] - Help with StaleObjectStateException needed

2007-03-06 Thread krica
I can't understand why I'm getting a StaleObjectStateException in my action. Or rather, I understand why, but I don't understand why the entity is not up to date. This is a simplified version of my action: | @In(create = true) | EntityManager database; | | @In | @Out

[jboss-user] [JBoss Seam] - Re: Problem: Custom validate methods in EJBs crash

2007-03-05 Thread krica
I know this is an old thread, but I ran into the same problem with the ValidatorException causing the crash. After much trial and error, this is the solution I have come up with. I thought it may be useful for others, at least once I get the last little niggle out of it, which I don't think is r

[jboss-user] [JBoss Seam] - Re: Excel support in Seam: any interest?

2007-03-04 Thread krica
Mike, This would be a most welcome feature! Almost every application we build has extensive reporting requirements, and these are *always* Excel reports. Not OpenOffice and not CrystalReport but Excel straight from the app. View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
I just saw that it was released! :) Congratulations! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993497#3993497 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993497 ___

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
Figures :) Thanks for you guidance Pete. There's a lot to learn and your component as well as you responding to this thread helps. Thanks! /Kris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993488#3993488 Reply to the post : http://www.jboss.com/index.ht

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
I'm using 1.0.1GA View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993483#3993483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993483 ___ jboss-user mailing list jboss-user@li

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
Well, nope, it was not. This problem obviously stems from an apparent lack of understanding of the @Factory annotation. I looked at your examples and saw your factory methods not being accompanied by a property, but instead just returning the created lists. So I thought "well, that's cool, I do

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
Oh, forgot something else. When I debug that method, the array as well as the List is populated (not null). Also, for some reason, it is called six times! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993433#3993433 Reply to the post : http://www.jboss.com

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
Hi Pete, Sorry, I forgot to add that code to my OP. As far as I can see, this is just as you do in your examples. I tried adding an @Out as well, but the same thing happens. | @Factory("companyTypes") | public List buildCompanyTypes() { | CompanyType[] companyTypes = Comp

[jboss-user] [JBoss Seam] - Re: si:selectItem error parsing

2006-12-13 Thread krica
Pete, I'm getting the same error here, using you latest build (linked from this thread). However, I'm using an Enum. Error is: | java.lang.IllegalArgumentException: selectItems' value="#{companyTypes}" must implement java.lang.Iteratable but it is null (null) | at org.jboss.seam.selec

[jboss-user] [JBoss Seam] - Re: Can't get Seam managed persistance working in an app sco

2006-12-13 Thread krica
OK, that's clear enough :) Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3993326#3993326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3993326 ___ jboss-user mailing

[jboss-user] [JBoss Seam] - Can't get Seam managed persistance working in an app scoped

2006-12-12 Thread krica
OK, this is not really a big deal, because it works when I change it to EJB managed (i.e. @PersistenceContext), but I'ld like to understand why it doesn't work. I have an application-scoped bean that should be initialized at startup: | @Stateful | @Name("anonUserFactory") | @Startup(depe

[jboss-user] [JBoss Seam] - Re: Why do none of the samples work in Tomcat?

2006-12-09 Thread krica
Thanks Norman. I tried that what feels like a hundred times, which is when I went with the new download of Seam. In my frustration, I decided to try it with JBoss AS 4.0.5, but surprise, surprise, none of them work there either. In AS, it deploys fine as well but on accessing the home page (sam

[jboss-user] [JBoss Seam] - Why do none of the samples work in Tomcat?

2006-12-09 Thread krica
I simply cannot get ANY of the samples to run in Tomcat. I started from a clean slate. New fresh download of Seam 1.0.1GA, new fresh install of Tomcat 5.5.20. Edit build.properties and point to my newly installed Tomcat (tried with jbossHasMyFacesLifecycleBug = true and false) >cd examples/iss