How to add action related to a business object in Metawidget?

Posted by Gulcan on Stack Overflow See other posts from Stack Overflow or by Gulcan
Published on 2010-03-21T17:04:02Z Indexed on 2010/03/23 0:41 UTC
Read the original article Hit count: 426

Filed under:
|
|

I use Netbeans 6.8 and try to obtain user interface by using metawidget and JPA. I cannot say

@Action
public void save( ActionEvent event )
{
    mSearchMetawidget.save();
}

This annotation gives "incompatible types" error when I add following import.

import org.metawidget.inspector.impl.actionstyle.Action;

What to do? How can I add an action related to my User entity. I want to do "register" action. Thanks in advance

© Stack Overflow or respective owner

Related posts about java

Related posts about action