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
|