-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Seam and composite keys
PostPosted: Wed Nov 29, 2006 5:41 pm 
Newbie

Joined: Wed Nov 29, 2006 5:09 pm
Posts: 2
We are upgrading a legacy RPG AS/400 app using JBoss and Seam. We need to generate hundreds of simple data entry screens and the Seam generator is a perfect solution. I have run into two issues that are keeping me from proceeding and was hoping for some advice.

1) Composite keys
2) Multiple foreign keys from the same table

This posting is in regards to the #1

I realize it is well known that the Seam code generator does not currently work with composite keys. I would like to fix this issue. Can you point me in the right direction? If this information is posted elsewhere, I do apologize, however I did not come across it. The two most obvious places that appear to be affected are.

find.jsp.ftl - line 45. I got around this by adding missing value syntax: <#if (field.value.typeName)??> but this isn't a fix. It just keeps the code generator from breaking.

editorbean.java.ftl - added <#if (pojo.identifierProperty)??> to line 51. Again, this is a work around and not a fix.

Q: What is the issue with composite keys and what needs to be done to fix it?

I am using JBoss IDE nightly build Nov 21st 2006

Best regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.