That's exactly what I did. I've read all those docs and indeed have
configured XXE to store addons on the XXE folder always, thus the user
prefs folder (~/.xxe4, because we're using XXE4.9.1 for this one) is
not used to store any addon. Here's the listing of the addons/ folder
of the application:

fabman@monsterito ~/xxe-pro-4_9_1-synchrone $ l addon/
batik_imagetoolkit  dav_vdrive     es_translation  fr_translation
  jimi_imagetoolkit  spell
config              es_dictionary  fr_dictionary
jeuclid_imagetoolkit  mathml_config      synchrone
fabman@monsterito ~/xxe-pro-4_9_1-synchrone $

and here's the listing of the particular extension in question:

fabman@monsterito ~/xxe-pro-4_9_1-synchrone $ l addon/synchrone/
0docbook5_en.properties  0docbook5_fr.properties  0docbook5.xxe
customize.xxe_gui  icons  logo.jpg  synchrone.css
fabman@monsterito ~/xxe-pro-4_9_1-synchrone $

and here's the listing of the addons/ user-prefs folder:

fabman@monsterito ~ $ l .xxe4
addon  cache  custom  preferences.properties  spell
fabman@monsterito ~ $ l .xxe4/addon/
fabman@monsterito ~ $

I've emptied the Java cache every time I've made modifications to make
sure I'm always getting the latest deployed version of the customized
XXE, but no changes.

I guess I'll re-read the docs and check everything once more...

If you can think of anything else for me to try, I'll be glad to do it.

Thanks in advance!

2011/11/22 Hussein Shafie <[email protected]>:
> On 11/21/2011 06:13 PM, Fabián Mandelbaum wrote:
>>
>> Hello, I'm testing deployment of XXE as an applet with the "editor2"
>> model instead of the "xxe" model.
>>
>> I've supplied the corresponding parameters to the deploywebstart
>> script, changed the appClass parameter on the JS code on the page
>> loading the applet, and everything seem to work... except that I have
>> a custom addon that defines the default CSS to be a different one than
>> the default docbook5 one and it's not being loaded. The document view
>> of the editor2 applet is styled with the stock XXE docbook5 CSS and
>> not with my custom CSS.
>>
>> If I deploy the same applet as xxe instead, everything works as
>> expected, when I open a document, it's being styled with my CSS.
>>
>> Is 'xxe' the only applet that can work with custom CSS? if not, what
>> may I be doing wrong?
>
> There is no real technical differences between the xxe applet, the editor1
> applet, the editor2 applet and...the desktop application.  Any customization
> which works for the desktop application should work fine with an applet of
> any kind.
>
> My guess is that your add-on is found in the user preferences directory. The
> problem is that the user preferences directory is ignored by deploywebstart.
> See
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/testing_the_applet.html
>
> You should copy your add-on directory to XXE_install_dir/addon/ and then
> rerun deploywebstart.
>
> There is a pitfall though. If you do that, XXE_install_dir/addon/ will
> contain two configurations for DocBook 5: the stock one and yours. So which
> one will be picked by XXE?
>
> The configuration priority rules are documented here:
>
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/addon_types.html
>
> In a nutshell, we recommend to call the .xxe file containing your DocBook 5
> customization: 0docbook5.xxe. See
> http://www.xmlmind.com/xmleditor/_distrib/doc/configure/customizing.html
>
>
>
>



-- 
Fabián Mandelbaum
IS Engineer
 
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to