Hi I'm trying to create edit form for my hibernate entities.
For example:
@Entity
@Table(name = "SOME_OBJECT")
public class SomeObject implements Serializable {
...
        @ManyToOne(fetch = FetchType.LAZY)
        @JoinColumn(name = "SUB_OBJECT_ID", nullable = false)
        private SubObject subObject;
...
}

How could I create edit form for this entity, I tried this way:

<div class="t-beaneditor">
   <div>
        <t:beaneditor t:object="someOBject" t:exclude="id" />
   </div>
   <div>
        <t:beaneditor t:object="someOBject.subObject" t:exclude="id" /> 
   </div>
   <div class="t-beaneditor-row">
        <input t:type="submit" value="Save" />
   </div>
</div>

someOBject is marked as persisted, but the inner object bean edit form is not 
there

Any ideas?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to