HibernateRelationshipsUI |
|
Your trail: |
Difference between
version 50
and
version 47:
At line 383 changed 1 line. |
If you're using < AppFuse 1.9, you'll need to fix [LookupManager.java|https://appfuse.dev.java.net/source/browse/appfuse/src/service/org/appfuse/service/LookupManager.java?r1=1.6&r2=1.7] and [LookupManagerImpl.java|https://appfuse.dev.java.net/source/browse/appfuse/src/service/org/appfuse/service/impl/LookupManagerImpl.java?r1=1.3&r2=1.4] so the above code works. |
If you're using < AppFuse 1.9, you'll need to fix [LookupManager.java|http://fisheye4.cenqua.com/browse/~raw,r=1453/appfuse/trunk/src/service/org/appfuse/service/LookupManager.java] and [LookupManagerImpl.java|http://fisheye4.cenqua.com/browse/~raw,r=1453/appfuse/trunk/src/service/org/appfuse/service/impl/LookupManagerImpl.java] so the above code works. |
At line 424 changed 1 line. |
<hr /> |
<hr /> |
At line 462 added 1 line. |
Run __ant deploy-web db-load__ and you should be able to add a new Entry by clicking on the <button>Add New Entry</button> button. There are a couple of issues with this technique: |
At line 464 added 4 lines. |
* Adding a new entry will only work if there is (at least) one entry already in the weblog. |
* The "timeCreated" field won't be set as part of the new entry. |
|
Since this tutorial is designed to show Hibernate relationships and how to edit them (moreso than techniques for adding/deleting child records), I'll leave the issues with Delete and Add as an exercise for the reader. <img src="http://raibledesigns.com/images/smileys/wink.gif" alt="Wink" style="vertical-align: middle" /> Of course, if you do figure out a good solution - please send an e-mail to the mailing list (or enter an issue in [JIRA|http://issues.appfuse.org]) so we can enhance this tutorial. |
Back to HibernateRelationshipsUI,
or to the Page History.
|