[jboss-user] [Beginners Corner] - richfaces drag and drop
sirajbg
do-not-reply at jboss.com
Thu May 14 07:59:38 EDT 2009
Hi,
I am able to drag any image or text from drag support. But
I am not able to drop the image in the drop area
|
| <rich:panel id="dragpanelid" style="width: 300;height: 300;">
| <f:facet name="header">
| <h:outputText value="Drag Region" />
| </f:facet>
| <a4j:outputPanel>
| <rich:dragSupport id="dragid" dragIndicator=":indicator" dragType="singleItem" >
| <rich:dndParam name="label" type="drag">
| <h:graphicImage value="/images/images.jpg" />
| </rich:dndParam>
| <h:graphicImage value="/images/images.jpg" />
| </rich:dragSupport>
| </a4j:outputPanel>
|
| </rich:panel>
|
| <rich:panel id="droppanelid" style="width: 300;height: 300;">
| <f:facet name="header">
| <h:outputText value="Drop Region" />
| </f:facet>
|
| <a4j:outputPanel>
| <rich:dropSupport id="dropid" acceptedTypes="singleItem" dropValue="yyyy" dropListener="#{dragnDrop.dragged}" reRender="droppanelid" >
| </rich:dropSupport>
| </a4j:outputPanel>
|
| </rich:panel>
|
|
Please help me in fixing this issue.
siraj.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4231063#4231063
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4231063
More information about the jboss-user
mailing list