1 Reply Latest reply on Apr 13, 2011 6:10 AM by ilya_shaikovsky

    RF4 Drag and Drop + Resizable component

    joaobmonteiro

      Hi guys,

       

      I have a webpage representing a timeline where I can drag n' drop some <a4j:outputPanel layout="block">. It works really nice but now the user should be able to resize the panel indicating a change in time duration.

       

      So I need some advise. I am considering using the new rich:popupPanel but once I have many of them (generated by a4j:repeat) I do not know the ids for opening them. Is there a way to render a popupPanel opened or should I use another component perhaps a rich:panel?

       

      Thanks for your help!

        • 1. RF4 Drag and Drop + Resizeable component
          ilya_shaikovsky

          you could have it opened by default using show=true attribute.

           

          But in case of really multiple simple panels - I think it's better to use jQuery plugin like jQuery.ui in order to add "resizeable" capability to simple panel. popup panel isn't ligtweight enough I think to be rendered numerous time on the page. Every panel will cause js initialization of separate js object (and it includes not only resizability but also many other features which really not used for that case). And with simple resizeable jquery widget you will probably have better performance results.

          1 of 1 people found this helpful