[jboss-user] [JBoss Seam] - Re: Need definitive answers on unit testing with Seam

2008-01-18 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : All of the threads you link to are from people who didn't read the updated documentation of Seam 2.0: | That is me, I was reading 1.2.1.GA documentation as that is what we are using right now. "[EMAIL PROTECTED]" wrote : | Note the last sentence. All the poster

[jboss-user] [JBoss Seam] - Need definitive answers on unit testing with Seam

2008-01-17 Thread grettke_spdr
Hi folks, We are going forward with Seam as the foundation of our application architecture for "the big project". So, I need some definitive answers on unit testing with Seam. There is conflicting information regarding how one should go about unit testing components. One camp says to use Seam

[jboss-user] [JBoss Seam] - Re: Need your ideas regarding an error creating identities

2007-11-13 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : When your application starts up, do you see the securityRules component being created in the log? I just verified, when this problem occurs that securityRules component is actually not initialized on startup. View the original post : http://www.jboss.com/index.html?

[jboss-user] [JBoss Seam] - Re: Need your ideas regarding an error creating identities

2007-11-08 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : When your application starts up, do you see the securityRules component being created in the log? I'm going to try to find the boot log for when this problem occurred. Here is the message after bouncing it: [11/7/07 15:56:42:657 CST] 0042 Component I org.jbo

[jboss-user] [JBoss Seam] - Need your ideas regarding an error creating identities

2007-11-07 Thread grettke_spdr
We are running a Seam 1.2.1 GA app on WAS 6.1. Most everything has worked as expected until today users were not able to log on anymore. This error occurs when the user tries to log on. One thing to note, when I run the application my local server instance it works fine. This leads me to belie

[jboss-user] [JBoss Seam] - Why does

2007-10-05 Thread grettke_spdr
During testing we found that text input fields for date values set up with a converter: allow for the year input as 20007, which blows up on the DB side of things. The unexpected thing here is that I expected the converter to limit year inputs to 4 characters (). I'm pretty sure this is

[jboss-user] [JBoss Seam] - Re: Facelets fallback?

2007-08-29 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : In our JPA examples for WAS, we chose to do | -Relocate all of the resources and references to from meta-inf to web-inf | Ugly, but it seemed to work. Thanks for letting us know Michael! Nice to know someone else already addressed this. (We already bought both you

[jboss-user] [JBoss Seam] - Facelets fallback?

2007-08-29 Thread grettke_spdr
Hi all, Thus far we have used facelets and it has been great. We even used facelets for pdf generation and that worked well. Lo and behold we find out that facelets don't run on WAS at the moment: http://www-1.ibm.com/support/docview.wss?uid=swg1PK50311 Basically the classloader can't can't lo

[jboss-user] [JBoss Seam] - Re: How do folks typically handle initial vs. redeployment a

2007-08-17 Thread grettke_spdr
Where does one find boss-archive-browsing.jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075333#4075333 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075333 ___ jboss-us

[jboss-user] [JBoss Seam] - Re: How do folks typically handle initial vs. redeployment a

2007-08-17 Thread grettke_spdr
"grettke_spdr" wrote : "[EMAIL PROTECTED]" wrote : Never! What you do is remove this configuration option completely. Then you generate a DDL file with SQL statements using the Hibernate Tools tasks for Ant. This file is handed over to a professional DBA to clean and deplo

[jboss-user] [JBoss Seam] - Re: How do folks typically handle initial vs. redeployment a

2007-08-17 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Never! What you do is remove this configuration option completely. Then you generate a DDL file with SQL statements using the Hibernate Tools tasks for Ant. This file is handed over to a professional DBA to clean and deploy on the staging and production databases.

[jboss-user] [JBoss Seam] - Re: How do folks typically handle initial vs. redeployment a

2007-08-17 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Never! What you do is remove this configuration option completely. Then you generate a DDL file with SQL statements using the Hibernate Tools tasks for Ant. This file is handed over to a professional DBA to clean and deploy on the staging and production databases.

[jboss-user] [JBoss Seam] - How do folks typically handle initial vs. redeployment and t

2007-08-16 Thread grettke_spdr
Hi everyone, During development thus far we've relied on the hibernate.hbm2ddl.auto=create-drop feature along with the import-*.sql files to configure the system correctly. Once this gets to test and production, though, this will change. What is the normal flow for deployment once the app stab

[jboss-user] [JBoss Seam] - Re: How to render pdfs (using iText) in a new window?

2007-08-16 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : I think this is very browser-specific behavior. The back button works as expected for me in Safari. What Hi Norman, We are using IE 7. After going to the page: http://localhost:8080/rms/seam-doc.seam?docId=1&cid=8 Acrobat reader pops up with the pdf. Hitting the

[jboss-user] [JBoss Seam] - How to render pdfs (using iText) in a new window?

2007-08-16 Thread grettke_spdr
Hi folks, We are using the wonderful Seam iText integration to prepare simple reports for the users. This actually isn't a question about iText, since that works great. Right now they are redirected to a web page that generates the reports and this works fine, but there is no way to return to

[jboss-user] [JBoss Seam] - Re: How to render tables in iText without borders?

2007-07-25 Thread grettke_spdr
"dustismo" wrote : | | | | | | | | | | -Dustin Thanks so much Dustin! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067626#4067626 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=406762

[jboss-user] [JBoss Seam] - How to render tables in iText without borders?

2007-07-25 Thread grettke_spdr
Seam 1.2.0GA How does one render tables in iText without borders? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067609#4067609 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067609

[jboss-user] [JBoss Seam] - Clearing checkboxes in a datatable works for all but the sel

2007-07-24 Thread grettke_spdr
Hi folks, This is probably more of a JSF than a Seam question, but here goes. We?ve got a list of search results that are displayed within a data table. Search results can be selected via a checkbox that maps to a field on the search result items themselves. These search results are actually

[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-17 Thread grettke_spdr
Comparing my code with the example code I found one very important difference, the collection that populates the sample is annotated with @DataModel. This is my error! I had used a plain property of my component, that was the wrong way to do it. View the original post : http://www.jboss.com/

[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-17 Thread grettke_spdr
This code from the sample works just fine though: View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4065111#4065111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4065111 ___ jbo

[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-17 Thread grettke_spdr
This type of construct (passing in a dto via el) works fine in the Seam 1.2.1GA demo app: "booking". That said, what does this article imply? http://www.jboss.com/index.html?module=bb&op=viewtopic&t=104204 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=406505

[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-16 Thread grettke_spdr
"fmars" wrote : i have the same problem in a different way. The parameter passed to method is null. | ... | This bean is used only here and constructed probably right after the user clicked on it. Is this the problem? I get the same problem if I just try passing in the dto itself, it evaluat

[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-16 Thread grettke_spdr
"amitev" wrote : Are you sure that when the action method is invoked the dto bean exists? That is a good question. The search results that carry the DTOs are inside of a session scoped component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4064747#4064747

[jboss-user] [JBoss Seam] - Action argument is null when it shouldn't be null

2007-07-16 Thread grettke_spdr
Hi folks, I'm running into something here where an argument to an action method is null, when I know that the value is actually not null. Here is the course of events: A link gets displayed. The name of the link is the account number. When the link is clicked a call is made to a session scoped

[jboss-user] [JBoss Seam] - Re: Why doesn't this h:message work for the h:selectOneMenu?

2007-07-06 Thread grettke_spdr
I could not reproduce this! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4061379#4061379 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061379 ___ jboss-user mailing list jbo

[jboss-user] [JBoss Seam] - JSFC with custom converters?

2007-07-05 Thread grettke_spdr
Hi folks, Is there some detailed documentation available about how to use JSFC tags? I've looked at this of course: https://facelets.dev.java.net/nonav/docs/dev/docbook.html#taglib-use-jsfc I would just like a place to look for things like how to specify custom converters when you are using t

[jboss-user] [JBoss Seam] - Recommended IDE tools for JSFC based JSF/Facelet/Seam develo

2007-07-05 Thread grettke_spdr
Hi guys, We would like to live the dream of letting the UI designers design the web pages and the developers develop the functionality for them. Thus far it has been UI folks drawing pictures in Visio and the developers banging their heads against their desks. It looks like JSFC might be the p

[jboss-user] [JBoss Seam] - Re: Why doesn't this h:message work for the h:selectOneMenu?

2007-07-04 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Whats the message (aka where is it originating) Hi Pete, I was looking at one approach to doing custom validations, and testing out how the error messages show up. The approach in this system is the "form" and "action" style. I added messages in the action. Here is h

[jboss-user] [JBoss Seam] - Why doesn't this h:message work for the h:selectOneMenu?

2007-07-03 Thread grettke_spdr
Hi folks, I've got a page with a selectOneMenu on it. The validation h:message just displays the message right next to it. This approach works for all of the text fields correctly, but for some reason it doesn't work with this selectOneMenu. Instead the message gets displayed in the area of the

[jboss-user] [JBoss Seam] - Re: Seam is better than Struts..?

2007-07-03 Thread grettke_spdr
If you are brand new to Java web development, Seam will appear to be confusing and terrible. If you have been doing web development for a while, you will know that Seam is the best that we have got. If you want to do StrutsV1, then do StrutsV1. The sad truth is that the Java world is moving tow

[jboss-user] [JBoss Seam] - Re: Best help for doing Annotaions

2007-07-03 Thread grettke_spdr
Seam Discussion Board: http://www.jboss.com/index.html?module=bb&op=viewforum&f=231 Seam JSF Controls: http://docs.jboss.com/seam/latest/reference/en/html/controls.html JSF Tag Reference: http://www.exadel.com/tutorial/jsf/jsftags-guide.html Core JSF Controls: http://www.horstmann.com/corejsf/

[jboss-user] [JBoss Seam] - Re: Page action pain, new stateless component instance?

2007-07-02 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : A stateless bean has no guarantee of holding state between method requests. Try putting it in the EVENT scope. Hi Pete, I'm really having a day over here. I can't believe I even posted this. I thought that it had been cut over to a stateful component already. I even

[jboss-user] [JBoss Seam] - Re: Page action pain, new stateless component instance?

2007-07-02 Thread grettke_spdr
To clarify, when I set up the flow in this manner, the two properties get lost. I suppose that the hashCode doesn't matter, I just want my stateless component. As an aside, when I set this up using two stateless components a "form" and then the "action", everything works correctly. Here is a l

[jboss-user] [JBoss Seam] - Page action pain, new stateless component instance?

2007-07-02 Thread grettke_spdr
Hi guys, Question for you. I've got a RESTFul page whose sole purpose is to prepare another page. It has an action that only gets run once. As such, it is set up to immediately redirect to another page (since I don't want that action run every single time). Here is how it looks | |

[jboss-user] [JBoss Seam] - Re: How best to perform validations that don't belong in ann

2007-07-01 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Write a custom validator incl. annotation or write procedure code in your controller classes. Does programmatic component fall into the category of "JSF FAQ" stuff? Is it simply a matter of populating FacesMessages with an error and then returning null from the actio

[jboss-user] [JBoss Seam] - Re: How to force validation of Seam components bound to the

2007-06-27 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Well, thats a FAQ. JSF validators cannot validate null values. So @NotNull is ignored. You need to use required=true for that. Then you can use Hibernate Validator annotations for validating the entered value. Right, I remember reading about that bit, JSF won't valid

[jboss-user] [JBoss Seam] - Re: How to force validation of Seam components bound to the

2007-06-27 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : * classes do *not* need to be entities to be validated by s:validateAll | * @IfInvalid has been deprecated for a long time and was removed from Seam2 | | So you should figure out why s:validateAll was not working for you. We are using the s:decorate, and in part

[jboss-user] [JBoss Seam] - How to force validation of Seam components bound to the UI t

2007-06-27 Thread grettke_spdr
Hi folks, Due to our architecture we are binding Seam components to the UI that happen not to be JPA entities. Still, we would like to define the component validations using the Hibernate Validator annotations. Out of the box, when we use the validateAll tag, the validations don't get perfo

[jboss-user] [JBoss Seam] - Re: How best to leverage Seam when you've got a HUGE domain?

2007-06-27 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : | Still not sure what a "component" is. More like a remote EJB? Because my focus was so heavily on the UI, I keep thinking about Seam components and how best to leverage them. Those are the components of which I was thinking. Thanks Gavin. View the original post

[jboss-user] [JBoss Seam] - How would you create a reusable yes/no|chooser page?

2007-06-26 Thread grettke_spdr
Hi folks, There are a number of places where we need to prompt the user "Would you like to... yes or no" and based on the answer either redirect or perform a certain action (and then redirect). Is it possible to create a reusable page to do something like this? Even if we want a method on a co

[jboss-user] [JBoss Seam] - Re: How best to leverage Seam when you've got a HUGE domain?

2007-06-26 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : I don't fully understand what the difference between the two approaches is. By "DAO or service" you mean something in a different process? Hi Gavin, My post was a bit vague, now I hope to clear that up. IAA is very, very large. There are so many classes in the domai

[jboss-user] [JBoss Seam] - How best to leverage Seam when you've got a HUGE domain?

2007-06-26 Thread grettke_spdr
Hi folks, It looks like we will end up using a very large domain model, IBM's Insurance Application Architecture: http://www-03.ibm.com/industries/financialservices/doc/content/solution/278918103.html In a perfect world, we will not expose this complexity to the folks working on the UI. We tho

[jboss-user] [JBoss Seam] - How to run a page action only once? or How to maintain the c

2007-06-25 Thread grettke_spdr
Hi folks, We've got a single requirement in our app where the user can come in on a RESTful URL. The idea is that they make a request and then leave, there is no more interaction. Originally I set this up as a single page with an action. However, I didn't know how to specify that the action onl

[jboss-user] [JBoss Seam] - Re: How to persist entities that have arrays or collections

2007-06-20 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : It works just fine and I don't see what it has to do with any entityconverter. If your entity has a mapped and persistent collection, it will be managed as part of the mapped entity. Hey Christian, My post about entityConverter dealt with my lack of understanding abo

[jboss-user] [JBoss Seam] - Re: How to persist entities that have arrays or collections

2007-06-19 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : This is a JPA/hibernate question, please ask on the relevant forum Hi Pete, I guess the question is "Does Seam support this out of the box?". In other words can I do this without writing a converter or any custom code? I want to know if I am wasting my time trying to

[jboss-user] [JBoss Seam] - How to persist entities that have arrays or collections of e

2007-06-19 Thread grettke_spdr
How to persist entities that have arrays or collections of enums? It doesn't seem to work out of the box. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055852#4055852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055

[jboss-user] [JBoss Seam] - "Could not find datasource" tip?

2007-06-19 Thread grettke_spdr
Hi folks, We are trying to set up a new machine (installed jdk 1.5 and jboss) on which to deploy. On startup the deployment fails with "Could not find datasource:". We did create a database with the expected name. What I want to know is where can I look to find more details of what exactly w

[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread grettke_spdr
"shakenbrain" wrote : It is possible to use CSS DIVS in JSF; that's what I do... May you please point in the direction of your favored resources on using divs to lay out pages? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4055809#4055809 Reply to the post

[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread grettke_spdr
"Delphi's Ghost" wrote : In theory, it should be easier if you are using facelets | | I think a more important question is intra-page layout such as form layout. Css is good for overall page layout and design, but not so much for in-page items such as form layout. | | I hate having to

[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread grettke_spdr
"grettke_spdr" wrote : Hi folks, | | I am a JSP refugee and I have continued to layout my JSF pages using embedded tables. I didn't think that they could make it worse than they did in JSP, but you know, I was wrong. It is terrible to lay stuff out this way. | | Everyon

[jboss-user] [JBoss Seam] - How do folks layout pages: panelgrids (embedded tables) or C

2007-06-19 Thread grettke_spdr
Hi folks, I am a JSP refugee and I have continued to layout my JSF pages using embedded tables. I didn't think that they could make it worse than they did in JSP, but you know, I was wrong. It is terrible to lay stuff out this way. Everyone is telling me to use CSS DIVS. Is this even possible w

[jboss-user] [EJB 3.0] - Re: How to map an array or a list of enums?

2007-06-12 Thread grettke_spdr
"waynebaylor" wrote : So, I was wrong about the array. Hibernate does support arrays, but they're rarely used since Hibernate can't optimize them like Collections. | | As far as using enums, here are some links: | http://www.hibernate.org/270.html | http://forum.hibernate.org/viewtopic.p

[jboss-user] [JBoss Seam] - How best to handle action buttons where validation should be

2007-06-12 Thread grettke_spdr
What is the best way to handle the condition where perhaps you've got an Exit button on a page tied to a method on a component, and in that case you don't want the page to perform any validation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4053651#4053651

[jboss-user] [EJB 3.0] - Re: How to map an array or a list of enums?

2007-06-12 Thread grettke_spdr
"waynebaylor" wrote : I'm not sure, but I've only seen persistent Collections being used with Hibernate--not arrays. | | Have you tried using a List or Set instead of an array? I get | javax.persistence.PersistenceException: org.hibernate.MappingException: Could no | t determine typ

[jboss-user] [JBoss Seam] - How to map an array or a list of enums?

2007-06-11 Thread grettke_spdr
Hi folks, In EJB 3.0 via Seam 1.2.1.GA we want to persist an entity with an array of enums. In the entity | public UnderwritingConcernEnum[] getConcerns() { | return concerns; | } | | public void setConcerns(UnderwritingConcernEnum[] concerns) { | this.conc

[jboss-user] [EJB 3.0] - How to map an array or a list of enums?

2007-06-11 Thread grettke_spdr
Hi folks, In EJB 3.0 via Seam 1.2.1.GA we want to persist an entity with an array of enums. In the entity | public UnderwritingConcernEnum[] getConcerns() { | return concerns; | } | | public void setConcerns(UnderwritingConcernEnum[] concerns) { | this.conce

[jboss-user] [JBoss Seam] - How to invalidate a comopnent?

2007-06-08 Thread grettke_spdr
Suppose that I've got a search criteria SessionScoped (POJO) component and I inject it with (create=true). Later on the user wants to clear the search criteria. The easiest way seems to to invalidate that component so that next time it gets injected a new one will get created. Is this the right

[jboss-user] [JBoss Seam] - Re: What is the common pattern for selecting objects?

2007-06-08 Thread grettke_spdr
Here is what I came up with. I am posting it in order to elicit comments on my approach (code review) and also in case this is right and anyone else needs to use selectItems with a custom converter when you want to populate it using objects. In the interest of brevity this is not a compilable

[jboss-user] [JBoss Seam] - Re: What is the common pattern for selecting objects?

2007-06-08 Thread grettke_spdr
"petemuir" wrote : Rick Hightower's series on JSF/Facelets on IBM developer works is superb IMO Thanks Pete. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052636#4052636 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: What is the common pattern for selecting objects?

2007-06-08 Thread grettke_spdr
"petemuir" wrote : You can use s:selectItems with any java object, but you need to provide a JSF converter if the object isn't a string. JSF provides some (e.g. number converter), Seam adds two more (enums, already persisted JPA entities), for others, you'll need to write your own. Thanks Pete.

[jboss-user] [JBoss Seam] - Re: What is the common pattern for selecting objects?

2007-06-08 Thread grettke_spdr
The vision is that in case we don't want to use enums to populate selection controls we could use objects instead, but those objects don't yet need to be persisted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052621#4052621 Reply to the post : http://www

[jboss-user] [JBoss Seam] - Re: What is the common pattern for selecting objects?

2007-06-08 Thread grettke_spdr
I see, thanks Pete and Damian. The documentation implies that you would only ever use this with JPA entity. Right now it looks like our system will have both JPA and non-JPA components bound to the JSF UI. As such, we don't plan to always bind entities to entities. Would this be possible? The

[jboss-user] [JBoss Seam] - What is the common pattern for selecting objects?

2007-06-07 Thread grettke_spdr
I've got a list of objects from which I need to make a selection in a menu or a radio button. What is the best approach to doing so? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4052327#4052327 Reply to the post : http://www.jboss.com/index.html?module=bb

[jboss-user] [JBoss Seam] - What is the role of ui:remove on f:selectItems when you use

2007-06-06 Thread grettke_spdr
What is the role of ui:remove on f:selectItems when you use h:selectOneRadio? Yes there are examples, but what does this do? Is it required? My goal is to allow the user to select from enums listed in drop downs, single and multi select radios (checkboxes) and lists. View the original post : h

[jboss-user] [JBoss Seam] - How best to perform validations that don't belong in annotat

2007-06-06 Thread grettke_spdr
Hi folks, I'm trying to learn the best way to perform complex validations. Take for example a date range on a query, where there is a start date and an end date on the component. I only want to validate both fields if either one is present. If none are present, then it is fine, no validation r

[jboss-user] [JBoss Seam] - Re: Can not inject Seam components into other components

2007-05-29 Thread grettke_spdr
That was it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049562#4049562 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049562 ___ jboss-user mailing list jboss-user@lists.j

[jboss-user] [JBoss Seam] - Can not inject Seam components into other components

2007-05-25 Thread grettke_spdr
Hi folks, Can't seem to inject Seam components into other Seam components. Here are the details | public interface PartyService { | List queryOnCommonAddress(String name, | String houseNumber, | String s

[jboss-user] [JBoss Seam] - Re: Can't deploy Stateless bean?

2007-05-21 Thread grettke_spdr
wrote : Can you post your stateless bean? Definitely: | @Local | public interface PolicyHolderDAO { | public List searchOnName(String name); | public void destroy(); | } | | @Stateless | @Name("policyHolderDao") | public class PolicyHolderDAOImpl implements PolicyHo

[jboss-user] [JBoss Seam] - Can't deploy Stateless bean?

2007-05-21 Thread grettke_spdr
Hi folks, I'm working on a prototype in Seam 1.2.1 and JBoss 4.0.5GA using EJB3. So far I've only written Stateful beans. Today I wrote a Stateless bean and when I tried deploying the app it failed with the error message: java.lang.RuntimeException: Could not create Component: policyHolderDao

[jboss-user] [JBoss Seam] - Re: Hibernate SQL statements are not getting logged

2007-05-21 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : | I can post the Kung-Fu to add to the relevant logging file if you require it. Any and all kung-fu are welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047258#4047258 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Re: Hibernate SQL statements are not getting logged

2007-05-19 Thread grettke_spdr
"fernando_jmt" wrote : | | | | Thank you Fernando! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047025#4047025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047025

[jboss-user] [JBoss Seam] - How to populate the SQL import* scripts?

2007-05-19 Thread grettke_spdr
Hi folks, I am using Seam 1.2.1 with HSQLDB. I would like to use the import* scripts to populate the database. I need to figure out what those SQL statements look like, though, as my inserts are not getting displayed in the log. Is there a way to connect to the in memory database and dump it t

[jboss-user] [JBoss Seam] - Hibernate SQL statements are not getting logged

2007-05-19 Thread grettke_spdr
Hi folks, I'm running Seam 1.2.1 on JBoss 4.0.5GA. Also using JPA EntityManager, not going straight against a Session. In each of my persistence.xmls, I've added | | | | | to the properties of my datasource. When the app is deployed, I can see the sql statements that create t

[jboss-user] [JBoss Seam] - Re: Seam on Websphere 6.x backed by DB2?

2007-05-15 Thread grettke_spdr
Thanks so much for posting titou09! If you ever want to talk more about this, my email is [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045813#4045813 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=40

[jboss-user] [JBoss Seam] - Re: How to render partial search results?

2007-05-14 Thread grettke_spdr
Read up some more on this today in a JPA-only book and found that constructor expressions and custom classes are probably the most straightforward way to with something like this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045569#4045569 Reply to the pos

[jboss-user] [JBoss Seam] - How to render partial search results?

2007-05-14 Thread grettke_spdr
Hi, I'm still pretty new to JPA-QL and Hibernate, and also JSF and Seam. That said, I would appreciate some advice regarding this scenario: For a use case we need to perform a search and display a mix of results on the screen that are not related (by an object graph, at least, not without some

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-05-08 Thread grettke_spdr
I have found that one ought to have already read 'Java Persistence with Hibernate' before reading about Seam. One needs to understand Hibernate/JPA before reading the Seam book, or documentation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044045#4044045

[jboss-user] [JBoss Seam] - Re: Do Hibernate Validators work when the JPA provider is no

2007-04-23 Thread grettke_spdr
"petemuir" wrote : Did you read the documentation? http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-checkconstraints.html#validator-checkconstraints-orm Thanks so much! I had looked in the Seam documentation, go figure. View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss Seam] - Re: Do Hibernate Validators work when the JPA provider is no

2007-04-23 Thread grettke_spdr
"thejavafreak" wrote : Why don't you try it out first. | | If it succeeds, you can share with the others here I would be happy to. I would also be happy to see that fact conveyed in the documentation itself! ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic

[jboss-user] [JBoss Seam] - Do Hibernate Validators work when the JPA provider is not Hi

2007-04-22 Thread grettke_spdr
Do Hibernate Validators work when the JPA provider is not Hibernate? I assume that they do work regardless of the JPA provider, but you know where that usually gets you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4039644#4039644 Reply to the post : http:

[jboss-user] [JBoss Seam] - Re: Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Why wouldn't you use Hibernate Validator annotations for that? Because the word "Hibernate" appears in the name? :) | Yea yea :) The Seam book I'm reading covers this topic. I suspect they reviewed just to communicate that you can indeed use JSF validations if you

[jboss-user] [JBoss Seam] - Re: What is the difference between EJB and POJO transactions

2007-04-22 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : Also note that system transactions and conversations are not related in a Seam application. These are independent contexts with a quite different scope. System transactions are short, conversations are potentially long-running and spanning several requests. | Supp

[jboss-user] [JBoss Seam] - Validating entity properties that don't get persisted?

2007-04-22 Thread grettke_spdr
Say that we've got an entity with some fields that would never get persisted. (for example, we take a credit card number and use it for a purcase). Still, we need to validate it. In cases like this is it better to use Hibernate validators on fields that are not persisted, or just use a JSF val

[jboss-user] [JBoss Seam] - What is the difference between EJB and POJO transactions?

2007-04-20 Thread grettke_spdr
Reading the excellent Yuan/Heute book, he talks about the fact that transactions are enabled by default for all EJB 3 session beans. The transaction begins when the conversation begins, and ends when the conversation ends. It goes on to talk about POJO transactions, this is where it gets a bit

[jboss-user] [JBoss Seam] - Can you use Seam-Remoting via AJAX when you are using JavaBe

2007-04-19 Thread grettke_spdr
Can you use Seam-Remoting via AJAX when you are using JavaBeans rather than EJB? Is Seam-Remoting used for anything else rather than AJAX calls? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038949#4038949 Reply to the post : http://www.jboss.com/index.html

[jboss-user] [JBoss Seam] - Seam without EJB, AKA Seam with JavaBeans, why bother?

2007-04-19 Thread grettke_spdr
Seam without EJB, AKA Seam with JavaBeans, why bother? The documentations suggests that you ought to use EJB because Seam was designed to run with EJB, but if you can't, you should go ahead and use JavaBeans. Is this just marketing's take on Seam or what? The reference manual talks about using

[jboss-user] [JBoss Seam] - JPA or Hibernate (with JavaBeans rather than EJBs)?

2007-04-18 Thread grettke_spdr
If you were going to set up a Seam app without EJBs, would you choose to use JPA or Hibernate? If we used JPA, we imagine that would just use the Hibernate persistence provider for JPA. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038643#4038643 Reply to

[jboss-user] [JBoss Seam] - May we use Seam and the JBoss Microcontainer in Websphere?

2007-04-18 Thread grettke_spdr
May we use Seam and the JBoss Microcontainer in Websphere? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038526#4038526 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038526

[jboss-user] [JBoss Seam] - Seam on Websphere 6.x backed by DB2?

2007-04-16 Thread grettke_spdr
Hi folks, We can't do EJB 3.0 and are looking at non EJB < 3.0 solutions. Anyone tried out Seam on Websphere 6.x backed by DB2? Best wishes, Grant View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037755#4037755 Reply to the post : http://www.jboss.com/index