[jboss-user] [JBoss Seam] - Re: Manual flush not working

2007-09-15 Thread KimLord
This was my last try:@In EntityManager entityManager; | @Transactional | @Begin(flushMode=FlushModeType.MANUAL, join=true) | public String persist() { | log.info("Override persist"); | getEntityManager().joinTransaction(); | ge

[jboss-user] [JBoss Seam] - Re: Manual flush not working

2007-09-15 Thread KimLord
The database is Oracle. Does that make a difference? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084789#4084789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084789 ___ j

[jboss-user] [JBoss Seam] - Re: Manual flush not working

2007-09-15 Thread KimLord
I did try that and it didn't make a difference. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084788#4084788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084788 ___ jboss-u

[jboss-user] [JBoss Seam] - Expert needed:getEntityManager().flush() ignored

2007-09-15 Thread KimLord
I have the following in an entityhome class and am finding that the flush does not cause the record to be written to the database. The record gets written when the method ends. I need the flush to work so that the other method called moveTempRecord() can do some post processing. | @In Enti

[jboss-user] [JBoss Seam] - Re: Manual flush not working

2007-09-15 Thread KimLord
This is being called from an EitityHome class created using the Seam generate-entities. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084736#4084736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084736 __

[jboss-user] [JBoss Seam] - Manual flush not working

2007-09-15 Thread KimLord
I am trying to do some post processing after a record is entered into a database and am finding the flush is not causing the record to be written. This is my code: |@Override | public String persist() { | String retval = super.persist(); | EntityMa

[jboss-user] [JBoss Seam] - Re: Override EntityHome update not working

2007-09-12 Thread KimLord
Sure, I am working from the seam generated CRUD resulting from reverse engineering a database. I am using seam version 1.1.6 and JBoss version 4.0.5 GA. Can you show me a simple example. It seems pretty straightforward, so I don't know why the breakpoint is not getting hit. Thanks for your h

[jboss-user] [JBoss Seam] - Re: Override EntityHome update not working

2007-09-12 Thread KimLord
Does anyone know the answer?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083462#4083462 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083462 ___ jboss-user mailing list j

[jboss-user] [JBoss Seam] - Override EntityHome update not working

2007-09-11 Thread KimLord
I am trying to override the update method of an EntityHome object that was created using generate-entities. I have the following: @Override | public String update() { | String retval = super.update(); | return retval; | } I have also added the followin

[jboss-user] [JBoss Seam] - Re: Seam CRUD: Search results columns blank only Select, nee

2007-09-10 Thread KimLord
Does it fail because there can not be any null values in the primary key? If so what is the best way to deal with this?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082785#4082785 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [JBoss Seam] - Seam CRUD: Search results columns blank only Select, need he

2007-09-10 Thread KimLord
I have a website created using seam generate-entities and am having a problem with blank search results when all the columns in the associated database table do not contain data. The search results list only displays the Select link. If all table fields contain data then the proper display is

[jboss-user] [JBoss Seam] - Unparsable date

2007-09-05 Thread KimLord
I am getting the following error when going from the List page to the view page in a seam crud auto generated website. cause class class java.text.ParseException errorOffset 0 localizedMessageUnparseable date: "2007-09-03" message Unparseable date: "2007-09-03" stackTrace

[jboss-user] [JBoss Seam] - Re: s:convertDateTime not working with oracle

2007-08-23 Thread KimLord
2007-08-22 15:54:36,163 ERROR [STDERR] Aug 22, 2007 3:54:36 PM com.sun.facelets.FaceletViewHandler handleRenderException | SEVERE: Error Rendering View[/TempSubCavCharEdit.xhtml] | java.lang.NullPointerException | at org.jboss.seam.ui.UISelectDate.encodeBegin(UISelectDate.java:73) |

[jboss-user] [JBoss Seam] - s:convertDateTime not working with oracle

2007-08-22 Thread KimLord
s:convertDateTime is giving me a java.lang.NullPointerException error when used to convert an Oracle date field. This same converter worked fine with mySQL database. Does anyone know how to use the converter with Oracle? Thanks, Kim View the original post : http://www.jboss.com/index.html?mo

[jboss-user] [JBoss Seam] - Re: Seam CRUD error

2007-08-22 Thread KimLord
I have the same code: with a mysql database and there is no error so this is related to the date conversion with Oracle. Does anyone have any experience with Oracle and seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077102#4077102 Reply to the post :

[jboss-user] [JBoss Seam] - Re: Seam CRUD error

2007-08-22 Thread KimLord
Someone else must have encountered the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077099#4077099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077099 ___ jb

[jboss-user] [JBoss Seam] - Seam CRUD error

2007-08-22 Thread KimLord
I used seam generate-entities to reverse engineer a database and am getting the following error when trying to create a new record that contains date fields. The database is Oracle Express 10g. 13:32:02,265 ERROR [STDERR] Aug 22, 2007 1:32:02 PM com.sun.facelets.FaceletView | Handler handleRen

[jboss-user] [JBoss Seam] - Re: seam generated crud error

2007-08-20 Thread KimLord
There are no error messages in the log. The database is Oracle Express 10g. The version of seam is 1.1.6 GA. Thanks, Kim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075978#4075978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&

[jboss-user] [JBoss Seam] - seam generated crud error

2007-08-18 Thread KimLord
I am having a problem with code from the seam generate-entities utility. On the List page the search results show all database table fields blank with only a select link in the last column. The object holding the table data is not getting populated. I have not modified the generated code. Wh

[jboss-user] [JBoss Seam] - Re: convertEntity - someone must know

2007-07-31 Thread KimLord
I took the seam jars from version 1.2.1 and put them in the lib directory of my project and built the project but I still get the same error. What am I doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069445#4069445 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: How do I upgrade my Seam version?

2007-07-31 Thread KimLord
Yes, that is what I did so now I have a directory with the date. So now I take all the jars in that dated directory and put them in the lib directory of my project and then build my project? Thanks for helping, Kim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[jboss-user] [JBoss Seam] - How do I upgrade my Seam version?

2007-07-31 Thread KimLord
How do I upgrade my Seam version? I tried to follow the few directions that were on the jboss site but am still using the older version. Could someone tell me what to do or point me to some detailed directions? I really appreciate your help. Thanks, Kim View the original post : http://www.jbos

[jboss-user] [Installation, Configuration & DEPLOYMENT] - How to I upgrade seam version?

2007-07-31 Thread KimLord
How do I upgrade my Seam version? I tried to follow the few directions that were on the jboss site but am still using the older version. Could someone tell me what to do or point me to some detailed directions? I really appreciate your help. Thanks, Kim View the original post : http://www.jbos

[jboss-user] [JBoss Seam] - Re: convertEntity - someone must know

2007-07-31 Thread KimLord
How do I upgrade my Seam version? I tried to follow the few directions that were on the site. Could you tell me what to do or point me in the direction of some detailed directions? I really appreciate your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Seam] - Re: convertEntity - someone must know

2007-07-31 Thread KimLord
This is the error: An Error Occurred: /ClassificationsEdit.xhtml @47,56 Tag Library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: convertEntity +- Stack Trace com.sun.facelets.tag.TagException: /ClassificationsEdit.xhtml @47,56 Tag Library suppor

[jboss-user] [JBoss Seam] - Re: convertEntity - someone must know

2007-07-31 Thread KimLord
Yes, I am using facelets, but am getting the error I mentioned. Do I have something set up incorrectly? I thought I followed the directions on the jboss site. I think I just typed ant from the 1.2.1 GA directory and it said that it was successful. I don't know what else I was supposed to do.

[jboss-user] [JBoss Seam] - convertEntity - someone must know

2007-07-31 Thread KimLord
I have asked this before but no one has ever answered. I am trying to use s:convertEntity with a selectOneMenu but get an error that the convertEntity tag is not defined. I am using seam 1.2.1. I upgraded from seam 1.1.6. The project was created using seam generate-entities. I have spent mu

[jboss-user] [Beginners Corner] - populate selectOneListbox with database table names

2007-07-27 Thread KimLord
I would like to populate a selectOneListbox with the names of all the tables in a mysql database. I would do this by querying the database. I know the sql statement to use but am not sure how to get this information into a list so that it can be used in s:selectItems. Does anyone know how I wo

[jboss-user] [JBoss Seam] - Re: selectitems and convertEntity

2007-07-25 Thread KimLord
Is this something I can manually configure or should I create a custom converter? I am new to seam but it seems this is something pretty common that I am trying to do. Thanks for any help, Kim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067551#4067551 R

[jboss-user] [JBoss Seam] - selectitems and convertEntity

2007-07-25 Thread KimLord
I am trying to use selectitems but am getting the following error: Tag Library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: convertEntity I am using version 1.2.1 of Seam but am not sure how to set up the convertEntity. This is what I have:

[jboss-user] [JBoss Seam] - Re: selectItems populating from mySQL table

2007-07-24 Thread KimLord
I tried convertEntity but am getting the following error: Tag Library supports namespace: http://jboss.com/products/seam/taglib, but no tag was defined for name: convertEntity What am I doing wrong? Thanks, Kim View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&

[jboss-user] [JBoss Seam] - Re: selectItems populating from mySQL table

2007-07-24 Thread KimLord
I have seen that example but don't know how to get continents. I think in that example there is a statement in the components.xml that makes the query. Is that the only way and when do I need a custom converter? Thanks, Kim View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [JBoss Seam] - selectItems populating from mySQL table

2007-07-23 Thread KimLord
I am new to seam and am looking for a simple example for populating a s:selectItems from a mySQL table. I used seam-gen to set up a CRUD project and would like dropdowns for foreign keys rather than ids. I have looked over many examples and am not sure how to proceed. All examples I have tried