Dynamic panel?

2 posts / 0 new
Last post
stonetingxin
Offline
Joined: 06/30/2010
Dynamic panel?

 In our project. we need according the user profiles to dynamic produce screen and maintain these data. I can get the scrreen by dynamic config the viewmodel, but how can I bind user input to model? can you give me an example?   THX

 

 

 

 

vvandens
Offline
Joined: 05/29/2008
Dynamic Panel

Hi stonetingxin, and welcome to Jspresso !

Could you detail your use-case a little bit more ? There might be different built-in answers in the framework, like :

  • assigning grantedRoles to parts of your UI to make them visible/hidden based on the user role,
  • use a basicCardView that is a special composite view that dynamicaly selects the actual view to show based on an arbitrary selector (some rule you code in java)

 

HTH,

Vincent