Hello,

I got a very basic question.
i am currently implementing a site where members with different roles
can register and perform actions (submit task, etc).

I currently implementing the action "view member details"

Doing this with request parameter "?member_id" an a correponding bean where 
this will be injected via "@RequestParameter" is very easy.

But, if u manipulate the get parameter, u can see the memberdetails of every 
member, i dont think thats a nice feature

Ok if use 
@DataModel
@DataModelSelection

u can get around this, but the both declarations have to b in the same bean
which breaks my application desing
(i want 1 bean for the list action and 1 for the detail action, not 2 for both)

For search i can live with that limitation but not for the action "view task 
details" the code is really getting messed up.

Is there a 3rd way to get the member_id injected without using request 
parameter ?


Thank u very much,

Holger


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

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

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to