Home > Java, Seam > Seam DataModelSelection Null problem!

Seam DataModelSelection Null problem!

Hi
If you want to use DataModel with DataModelSelection together and getting null object, You should try to change scope to Session in your action class and every thing will be OK.

@Scope(Session)
public class ….
..

@DataModel
private List<Object> objects

..

@DataModelSelection
private Object object
..
..

bye

Advertisement
Categories: Java, Seam
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.