Hi all,
I had the same loader constraints violated when linking
org/ajax4jsf/dnd/Draggable after setting the JBoss Loader. It seems to me that
there was some kind of mix-up between my library jars in the war WEB-INF/lib
and the ones in the server lib directory (I know, I shouldn't do such
Is you're drop zone the same as the drag zone?
I was getting the same error when i didn't set the types right. you should drop
then to a diffrent container in this case.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4040128#4040128
Reply to the post :
this also happened to me.
but when i set UseJBossWebLoader=true
but now my backing bean dosen't find the ajax4jsf.jar and richfaces.jar in my
WEB-INF\lib folder, and fails to deploy.
It fails when it has to to call processDrop with
org.ajax4jsf.dnd.event.DropEvent argument.
I tried to put the
Setting UseJBossWebLoader=true I solved my problem thank you very much!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039887#4039887
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039887
I've another problem now. When I try to use this code
| public void processDrop(DropEvent dropEvent) {
| Dropzone dropzone = (Dropzone) dropEvent.getComponent();
| moveItem(dropEvent.getDragValue(), dropzone.getDropValue());
|
| }
|
|
Hi davidetaibi
anonymous wrote : Look in
deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml
|
| set UseJBossWebLoader=true
Now it works
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4039160#4039160
Reply to the post :
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
Thank you for your post but I try your example (I create the two enumerations
too) and I have the same error:
javax.servlet.ServletException: /test2.xhtml @52,58
dropListener=#{dand.dragged}: Method not found:
DandDAction.dragged(org.ajax4jsf.dnd.event.DropEvent)
I'm using this web.xml file:
I'm also using DnD from Richfaces, and just like you started with a simple
example to explore it. It's working fine for me (also latest Seam from CVS) so
I'll post what I have in case it helps you out.
Here's the xhtml:
| !DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN