struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haulyn R. Jason" <saharab...@gmail.com>
Subject How to resolve list property for ModelDriven Action?
Date Mon, 11 Aug 2008 16:25:00 GMT
Hi,

I implement ModelDriven interface, but I have a list in my model. It
looks like:
public class Role(){
private String id;
private String name ;
private List<Privilege> privilegeList;
}

In my action, I have a set/get method for Role Object, but what about
the list?

I am confused for retrieve data from my "edit page" for privilegeList.

Should I define another list then convent it to privilegeList myself?

Always thanks for solution or some urls for reference.

-- 

Thanks!

Mobile: +086-15864011231
EMail&gtalk:saharabear@gmail.com
EMail&yahoo:jia_haolin@yahoo.com
Skype:saharabear


贾昊林(Haulyn Runner Jason)


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message