Hi Anca,
On Fri, Oct 16, 2009 at 10:54 AM, Anca Luca<ancapaula.luca(a)xwiki.com>wrote;wrote:
On 10/16/2009 10:44 AM, Guillaume Lerouge wrote:
Hi Anca,
On Thu, Oct 15, 2009 at 9:07 PM, Anca Luca<ancapaula.luca(a)xwiki.com>
wrote:
> Hi Guillaume,
>
> Guillaume Lerouge wrote:
>> Hi Anca,
>> Do you plan on using GWT to achieve this? If not, what's the best way
to
>> code it in a cross-browser, maintainable
way? Using one of the JS
library
>
already embedded in XWiki such as Prototype I guess?
I don't have a plan.
Good luck.
The only problem with GWT is that the javascript is not editable right
away: it
goes through compilation (so the source itself is not the "executable"
anymore,
as in standard interpreted languages which js is) whereas a jsx, for
example, is
editable from the wiki. Again, an admin / programmer in a wiki could go in
and
tweak some js without access to the server fs, or a GWT compiler, or
downloading
sources, or etc.
However, the main advantage of GWT is its cross-browser-ness, the precious
selection API we have and easy development in the more "stable" Java.
Is there a way to have GWT retrieve values for some CSS properties from
XObjects?
For instance, is the GWT-based UI could retrieve its CSS color codes from a
ColorTheme object it would allow you to code in GWT while still giving the
wiki admin some control over the annotations' look.
Is that doable?