[jboss-user] [JBoss Seam] - seam generate-entities with recursive table

dacloutier@gmail.com do-not-reply at jboss.com
Wed May 9 10:57:19 EDT 2007


I need help.

I am new to seam, I am reading the book, and playing with seam gen.

I am having a problem with application generated by seam gen and I can't figure out how to manually fix it.

I am having a problem where as the seam generated app, which has a recursive table ( it can't add new child entries )  and I can't figure out how to manually fix it.

This is because the link to add the new child points to the same edit page that I am currently on, and goes back to the same parent entry....

Details:
I have a ReportSection class which has a Set<ReportSection> reportSections property and ReportSection parentReportSection property.

My ReportSectionEdit.xhtml page has a tab which lists the reportSections and has a "Add reportSection" button, as follows:


  | <s:button id="addreportSection" 
  |                value="Add reportSection"
  |                view="/ReportSectionEdit.xhtml"
  |                propagation="none">
  |      <f:param name="reportSectionId"   value="#{reportSectionHome.instance.id}"/>
  |                  <f:param name="reportSectionFrom" value="ReportSection"/>
  |             </s:button>
  | 

When I click on "Add reportSection" button, I just go back to the same page.

Any help is appreciated.

Thanks.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044343#4044343

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044343



More information about the jboss-user mailing list