[jboss-user] [JBoss Seam] - Using @RequestParameter in EntityHome

ryoung2504 do-not-reply at jboss.com
Sat Apr 21 03:22:16 EDT 2007


Can you please post an example of using an @RequestParameter for the id of an entity in a class that extends EntityHome?

I have it mostly working in that if I inject the id using @RequestParameter and override the getId() method it will create correctly and display correctly but it fails to update.

If your answer is to ignore the question and tell me to use pages.xml then I've already done that and it works. However if that is the only solution can anyone tell me how to do a wildcard match in pages.xml. i.e.

<page view-id="/facelets/*/adminEditMyEntityTarget.xhtml">



as this also doesnt appear to work?

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

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



More information about the jboss-user mailing list