Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
HibernateRelationshi...




JSPWiki v2.2.33

[RSS]


Hide Menu

HibernateRelationshipsUI


Difference between version 14 and version 13:

At line 58 added 2 lines.
This happens because the "weblogs" property of User is populated with a bunch of WeblogForm objects, instead of Weblog objects.
At line 62 added 14 lines.
To fix saving a User, add ''convertLists(user)'' to the save() method of ''UserAction.java'':
[{Java2HtmlPlugin
convertLists(user);
try {
mgr.saveUser(user);
}]
In addition, you can add ''convertLists(user)'' to ''UserAction.edit()'' and get rid of the <fmt:formatDate> tag around the ''dateCreated'' property.
%%note __NOTE:__ The reason ''convertLists(Object)'' isn't called automatically by the ''convert(Object)'' method is because it invokes lazy-loaded collections. [APF-81|http://issues.appfuse.org/browse/APF-81]%%

Back to HibernateRelationshipsUI, or to the Page History.