0 Replies Latest reply on Oct 5, 2011 1:11 AM by andrewdambrosio

    jQuery draggable breaks rich:colorPicker

    andrewdambrosio

      I'm using RichFaces 3.3.3.

      I've added the following to my jsp.

      <rich:jQuery selector="#draggable3" query="draggable({containment: 'parent', scroll: false, zIndex: 1000, opacity: 0.5 });"/>

       

      and I'm importing these js files.

      <a4j:loadScript src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"/>

      <a4j:loadScript src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.min.js"/>

       

      The dragging works fine, however, my rich:colorPicker, no longer works

      <rich:colorPicker id="bannerCaptionColorPkr" value="#{homepage_banners.editBannerObj.bannercaptioncolour}">

           <a4j:support event="onchange" reRender="imgCaption" />

      </rich:colorPicker>

       

      If I take out the loadScripts, the color picker works, but obviously the dragging no longer works.

      How can I fix this?