[jboss-user] [JBoss Seam] - Re: Request parameters with s:link
smendenh@redhat.com
do-not-reply at jboss.com
Fri Aug 17 07:14:06 EDT 2007
The typical scenario for CRUD operations is to create an object by going to the viewObject.xhtml page without accessing another object first, or from a link which simply redirects you to viewObject.xhtml. You should not be trying to create an object if you are already on the page that views another object, that doesn't make sense. what is sticking that id there is probably your viewObject.page.xml or you may have that configured in pages.xml, depends on your setup.
Instead of pasting all of the code here my best advice would be to seam gen a project, do ./seam new-entity and seam will generate everything you need for basic CRUD for you.
-Samuel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075164#4075164
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075164
More information about the jboss-user
mailing list