Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Seam / Hibernate persistence problem

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm pretty much new to all things Seam, so please have mercy and help me with this one. I'm using JBoss Seam 2.2 and JBoss Application Server 5.1.0.

This is the scenario:

I've got TestCases and TestSteps. One TestCase has multiple TestSteps. I have a table that displays the steps and actions like "addStep" and "deleteStep".

I use rich:inplaceInput to edit existing steps. This works perfectly.

Adding or deleting a step however does not. When adding, I create an "empty" step which is displayed in the table and the user can then edit it.

I can't explain how it persists changes to existing steps, but doesn't cooperate when list TestCaseHome.testSteps changes in size.

Entity TestStep:

Entity TestCase: Entity CoreTestObject isn't really relevant, TestCase just inherits it's id from it.

TestCaseHome:


EntityHome:


View:

I cut a lot from the code, hope I didn't leave anything relevant out. I also hope this is the right place for this question, excuse me if not (noob here).

I would very much appreciate your help since I'm trying to fix this for weeks. Thank you!
reply
    Bookmark Topic Watch Topic
  • New Topic