[jboss-user] [JBoss Seam] - Re: Seam and Richfaces : Drag and Drop Problem

hispeedsurfer do-not-reply at jboss.com
Thu Apr 19 00:45:58 EDT 2007


Hi,

have the same problem.

  | javax.faces.el.MethodNotFoundException: /specialreleaseeditor.xhtml @107,140 dropListener="#{requestlist.processDrop}": Method not found: RequestListBean:5c4o1y-w4tnnw-f0o94j20-1-f0opgfby-1s.processDrop(org.ajax4jsf.dnd.event.DropEvent)
  | 

@stu2
What your DanD inferface looks like?




  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name("requestlist")
  | @SuppressWarnings("unchecked")
  | public class RequestListBean extends AbstractChildListBean<Request, SpecialRelease> implements
  | 		RequestList {
  | 	public void processDrop(DropEvent dropEvent) {
  | 		Dropzone dropzone = (Dropzone) dropEvent.getComponent();
  | 				
  | 	}
  | 
  | }
  | 


  | package de.bosch.ecp.business;
  | 
  | import java.util.List;
  | 
  | import javax.ejb.Local;
  | 
  | import org.ajax4jsf.dnd.event.DropEvent;
  | import org.ajax4jsf.dnd.event.DropListener;
  | 
  | import de.bosch.ecp.abstracts.AbstractChildList;
  | import de.bosch.ecp.model.Request;
  | import de.bosch.ecp.model.SpecialRelease;
  | 
  | @Local
  | public interface RequestList extends AbstractChildList<Request, SpecialRelease>{
  | 	public void processDrop(DropEvent dropEvent);
  | }
  | 
  | 

If I implement DropListener in RequestlistBean problem is the same as well.

Use jboss-seam-1.2.1.GA seam-gen, 
ajax4jsf-1.1.1-SNAPSHOT.jar
richfaces-3.0.1-20070414.000828-14.jar
tomahawk-1.1.5-SNAPSHOT.jar

in WEB-INF\lib folder

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

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



More information about the jboss-user mailing list