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 46 and version 45:

At line 385 changed 4 lines.
# Add AVAILABLE_CATEGORIES to Constants.java
# Grab Categories in StartupListener and expose them, discuss why not do it in edit() method
# Add "extends Manager" to LookupManager interface so getObjects() can be used in StartupListener
# LookupManager.getObjects results in NPE, change signature of setLookupDAO() method to call super.dao = dao:
Remove the hidden ''categoryId'' field from __weblogForm.jsp__:
At line 387 added 16 lines.
[{Java2HtmlPlugin
<nested:hidden property="categoryId"/>
}]
And change &lt;nested:write property="category.name"/&gt; to:
[{Java2HtmlPlugin
<nested:select property="categoryId" style="color: #333; font-size: 11px; margin: 2px 10px 0 0">
<html:options collection="availableCategories" property="categoryId" labelProperty="name"/>
</nested:select>
}]
Run __ant deploy__ and refresh your browser. You should now be able to modify the category for an entry.

Back to HibernateRelationshipsUI, or to the Page History.