Niccolo

I don't know if you need the jQuery ui layout for the re-sizable panes. 
If yes, then merge the 'jquery.layout.min.js' from the "src" directory 
with the full/custom jQuery-UI minimized package and replace the one 
under javascript/optional. Or better, create your own custom directory 
under javascript/optional, like
javascript/optional/uicustom/jquery.ui-custom-merged.js
  and place your merged file there. Then in the config XML use

   <pm_javascript_optional>optional/uicustom</pm_javascript_optional>

instead of the original setting.

This should do the job. If you don't use the uilayout but the plain 
layout then you should be able to place the custom jQuery-UI everywhere 
where JS files are loaded (see FAQ customization for this).

It would help if you update the Wiki FAQ with this if it works.

armin





On 20/12/2010 23:33, Niccolo Rigacci wrote:
> Is there a best practice to integrate a missing jQuery-UI plugin
> in p.mapper?
>
> For example I want to add the accordion widget.
>
> I see that javascript/jquery_merged.js is not a plain vanilla
> jQuery, and javascript/optional/ui/jquery.ui_merged.js is not a
> complete jQuery-UI.
>
> I suppose that loading an original jquery.js and a full
> jquery-ui.js putting them in config/common/ can break someting,
> overriding the versions provided by p.mapper (indeed I confirm
> that it breaks).
>
> So I followed this way:
>
> * Downloaded a custom jquery-ui with just the required widget
>    and the dependencies required.
>
> * Extracted from the archive the minified version, and copied
>    into config/common/
>
> But I think this is not the safest way.
>

------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to